/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1e1e2f;
    position: relative;
    z-index: 1000;
    color: #fff;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Desktop Navigation */
/* Desktop Navigation Adjustments */
#desktop-nav {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: space-between; /* Space between logo and links */
    flex: 1;
    margin-left: 40px; /* Add spacing between logo and nav links */
}

#desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#desktop-nav ul li {
    margin: 0 15px;
}

#desktop-nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    transition: color 0.3s;
}

#desktop-nav ul li a:hover {
    color: #ff6347;
}

/* Align Auth Buttons */
.desktop-auth {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Spacing between links and buttons */
}


/* Auth Buttons */
/* .auth-buttons {
    display: flex;
} */

.auth-buttons .btn {
    margin-left: 10px;
    padding: 8px 15px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

.login-btn {
    background-color: #555;
}

.signup-btn {
    background-color: #ff6347;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
}

/* Mobile Navigation */
#mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background-color: #1e1e2f;
    padding: 50px 20px;
    transition: left 0.3s ease;
    z-index: 999;
}

#mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
}

#mobile-nav ul li {
    margin-bottom: 15px;
}

#mobile-nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    transition: color 0.3s;
}

#mobile-nav ul li a:hover {
    color: #ff6347;
}

/* Auth Buttons in Mobile Menu */
#mobile-nav .auth-buttons {
    margin-top: 20px;
    flex-direction: column;
}

#mobile-nav .auth-buttons .btn {
    margin-bottom: 10px;
    text-align: center;
}

/* Close Button */
#mobile-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    #desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .desktop-auth {
        display: none;
    }

    #mobile-nav {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    background-image: url('images/pexels-anntarazevich-14751274.jpg');  
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-btn {
    padding: 15px 30px;
    font-size: 1em;
    color: #ffffff;
    background-color: #ff6347;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: #ff4500;
}


/* Investment Categories Section */
#investment-categories {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

#investment-categories h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

.categories-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-card {
    width: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-info {
    padding: 20px;
}

.category-info h3 {
    font-size: 1.8em;
    color: #444;
    margin-bottom: 10px;
}

.category-info p {
    font-size: 1em;
    color: #777;
    margin-bottom: 15px;
}

.category-info .btn {
    padding: 8px 16px;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.category-info .btn:hover {
    background-color: #45a049;
}

/* mobile layout for Navbar Hero section and Categories section */

/* Responsive Design for Mobile Screens */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar nav ul li {
        margin: 5px 0;
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
        padding: 0 20px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* Investment Categories Section */
    .categories-container {
        flex-direction: column;
        align-items: center;
    }

    .category-card {
        width: 90%;
        margin-bottom: 20px;
    }
}



/* Why Choose Us Section */
#why-choose-us {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

#why-choose-us h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

#why-choose-us p {
    font-size: 1.2em;
    color: #777;
    margin-bottom: 40px;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.benefit-card {
    width: 280px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.benefit-card .icon {
    font-size: 2em;
    color: #4CAF50;
    margin-bottom: 10px;
}

.benefit-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 1em;
    color: #666;
}

/* Investment Options Section Styling */
.investment-options-section {
    background: #f0f4f8; /* Light background color */
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    border-radius: 15px;
    position: relative;
}

/* Container for Centered Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Title and Subtext */
.investment-options-section .section-title {
    font-size: 2.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.investment-options-section .section-subtext {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out;
}

/* Options Container */
.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Option Styling */
.option {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.option:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.option h3 {
    font-size: 1.7rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.option p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Icon Styling */
.icon-box {
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: #007bff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: invert(100%);
}

/* Fade In Animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .investment-options-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtext {
        font-size: 1rem;
    }

    .options-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .option {
        width: 100%;
    }
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Why Choose Us Section */
    #why-choose-us {
        padding: 40px 15px;
    }

    #why-choose-us h2 {
        font-size: 1.8em;
    }

    #why-choose-us p {
        font-size: 1em;
    }

    .benefits-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .benefit-card {
        width: 100%;
        padding: 15px;
    }
}


/* Footer Styling */
.footer {
    background-color: #1d1f27;
    color: #d0d1d5;
    padding: 30px 20px;
    text-align: left;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-column {
    flex: 1 1 200px;
    margin: 10px;
  }
  
  .footer-column h3 {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 12px;
  }
  
  .footer-column p,
  .footer-column ul {
    font-size: 0.9em;
  }
  
  .footer-column ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin: 6px 0;
  }
  
  .footer-column ul li a {
    color: #d0d1d5;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-column ul li a:hover {
    color: #76c7c0;
  }
  
  /* Social Media Icons */
  .social-icons a {
    color: #d0d1d5;
    font-size: 1.3em;
    margin: 0 10px;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #76c7c0;
  }
  
  /* Newsletter Signup */
  .footer-newsletter {
    text-align: center;
    margin-top: 20px;
  }
  
  .footer-newsletter input[type="email"] {
    padding: 8px;
    border: 1px solid #555;
    border-radius: 4px;
    margin-right: 5px;
  }
  
  .footer-newsletter button {
    background-color: #76c7c0;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .footer-newsletter button:hover {
    background-color: #5da39f;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #333;
    font-size: 0.85em;
    margin-top: 20px;
  }
  
  /* mobile view for footer */

  /* Mobile Responsive Footer */
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        flex: 1 1 100%;
        max-width: 90%;
        margin: 15px 0;
    }

    .footer-column h3 {
        font-size: 1em;
    }

    .footer-column p, .footer-column ul {
        font-size: 0.9em;
    }

    /* Social Media Icons */
    .social-icons a {
        font-size: 1.2em;
        margin: 0 8px;
    }

    /* Newsletter Signup */
    .footer-newsletter {
        width: 100%;
        padding: 10px 0;
    }

    .footer-newsletter input[type="email"] {
        width: 80%;
        margin-bottom: 10px;
    }

    .footer-newsletter button {
        width: 60%;
        padding: 10px;
    }

    /* Footer Bottom */
    .footer-bottom {
        font-size: 0.8em;
        padding: 10px;
    }
}


/* copy trade section styles */

.copy-trading-section {
    background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364); /* Eye-catching gradient */
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 20px;
    margin-bottom: 70px;
    padding-bottom: 50px;
}

.copy-trading-section .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.copy-trading-section .section-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.video-item {
    width: 30%; /* Adjust width as needed */
    min-width: 250px;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none; /* Prevent interaction */
}

.video-wrapper video {
    width: 100%;
    pointer-events: none; /* Prevent clicks and controls */
}

.video-item .video-text {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .copy-trading-section .section-title {
        font-size: 1.5rem;
    }

    .copy-trading-section .section-description {
        font-size: 1rem;
    }

    .video-item {
        width: 100%;
    }

}



/* Section Styling */
.start-trading-section {
    background: linear-gradient(to bottom, #f0f4f8, #e9eef5);
    color: #333;
    padding: 50px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.start-trading-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2a2a2a;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* Step Styling */
.step {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.step h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
    color: #444;
}

.step p {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

/* Video Styling */
.video-box {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    pointer-events: none; /* Disable interactions */
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Ensure non-controllable */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .start-trading-section .section-title {
        font-size: 2rem;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
}

/* Trusted by Section */
.trusted-by-section {
    background: linear-gradient(to bottom, #f9fbfd, #e9eef5);
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 30px auto; /* Centers the section and adds vertical margin */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    width: 95%; /* Set to 95% to leave small margins on left and right */
    max-width: 1200px; /* Ensures it doesn't stretch too wide */
    animation: fadeInUp 1s ease-in-out;
}

/* Section Title and Subtext */
.trusted-by-section .section-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.trusted-by-section .section-subtext {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

/* Metrics Container */
.metrics-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 50px;
    animation: zoomIn 0.5s ease-in-out;
}

.metric {
    text-align: center;
}

.metric h3 {
    font-size: 2.5rem;
    color: #2a2a2a;
    font-weight: bold;
    margin-bottom: 10px;
    animation: countFade 1s ease-in;
}

.metric p {
    font-size: 1.1rem;
    color: #555;
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.logo-grid img {
    width: 100px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    animation: slideIn 0.7s ease-in-out;
}

.logo-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .metrics-container {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .trusted-by-section .section-title {
        font-size: 2.2rem;
    }

    .trusted-by-section .section-subtext {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes countFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
    }
    to {
        transform: translateX(0);
    }
}

 /* Testimonial Section */
.testimonial-section {
    background-image: url('images/pexels-frans-van-heerden-201846-1624695.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 1200px;
    color: #fff;
}

/* Section Title */
.testimonial-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.testimonial-section .section-subtext {
    font-size: 1.5rem;
    color: #eee;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Testimonials Container */
.testimonials-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Testimonial */
.testimonial {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 30%;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
}

/* Testimonial Text */
.testimonial .testimonial-text p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Client Info */
.client-info {
    margin-bottom: 15px;
}

.client-info .client-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.client-info .client-location {
    font-size: 0.9rem;
    color: #ccc;
}

/* Progress Bar */
.progress-bar-container {
    margin-top: 10px;
}

.progress-label {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 5px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    border-radius: 5px;
    transition: width 2s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 90%;
        margin-bottom: 30px;
    }

    .testimonial-section .section-title {
        font-size: 2rem;
    }

    .testimonial-section .section-subtext {
        font-size: 1rem;
    }
}


/* Style for the translate button */
#translate-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    position: relative; /* Ensure it's positioned correctly */
    z-index: 1001; /* Higher than most elements */
  }
  
  /* Hover effect for better UX */
  #translate-btn:hover {
    background-color: #0056b3;
  }
  
  /* Positioning for the translator dropdown */
  .translate-container {
    position: relative;
    display: inline-block;
  }
  
  /* Hide Google default styling */
  .goog-te-gadget {
    font-size: 0; /* Hides the default text */
  }
  
  /* Make dropdown visible when button is clicked */
  #google_translate_element {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* Ensures it appears above everything */
  }
  
  /* Style the dropdown select */
  .goog-te-combo {
    width: 100%;
    font-size: 14px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
  }
  
  /* Mobile-friendly adjustments */
  @media (max-width: 600px) {
    #translate-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
  
    #google_translate_element {
        top: 35px;
        width: 120px;
    }
  
    .goog-te-combo {
        font-size: 12px;
        padding: 4px;
    }
  }
  
  /* Hide the translator button after language selection */
  body.translated #translate-btn {
    display: none;
  }
  