/* Global Styles */
:root {
    --primary-color: #25D366;
    --primary-hover: #128C7E;
    --secondary-color: #075E54;
    --hero-bg-color: #006666;
    /* Teal green background for hero section */
    --dark-color: #333333;
    --light-color: #f4f6f8;
    --white-color: #ffffff;
    --gray-color: #6c757d;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --deriv-red: #ff444f;
    --deriv-red-hover: #e73a44;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    letter-spacing: 0.5px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
}

.secondary-btn {
    background-color: transparent;
    color: var(--white-color);
    border: 1px solid var(--white-color);
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.whatsapp-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.whatsapp-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 2rem;
}

.logo img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 0.5rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 400;
    padding: 0.5rem;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.start-now-btn {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 1.5rem;
}

.start-now-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.start-now-btn i {
    font-size: 1.1rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--dark-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 6rem;
    background-color: #006666;
    color: var(--white-color);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* Add margin at the bottom to ensure buttons are above the wave */
    position: relative;
    z-index: 10;
    /* Ensure buttons appear above the wave */
}

.hero-image {
    flex: 1;
    max-width: 450px;
    text-align: right;
    padding-left: 2rem;
}

.exchange-illustration {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.wave-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
    /* Lower z-index to ensure it doesn't overlay the buttons */
    height: 180px;
}

.wave-shape svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Features Section (Now Services) */
.features {
    background-color: var(--white-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: rgba(37, 211, 102, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.feature-card p {
    color: var(--gray-color);
    font-weight: 300;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-color);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 250px;

}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--box-shadow);
}

.step-icon {
    margin: 1rem auto 1.5rem;
    width: 60px;
    height: 60px;
    background-color: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 25px;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.step-card p {
    color: var(--gray-color);
    font-weight: 300;
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* Deriv Registration Section with Red Theme - Properly Scoped */
.deriv-registration {
    background-color: var(--white-color);
    position: relative;
    padding: 5rem 0;
}

.deriv-registration .section-header h2 {
    color: #333333;
    font-weight: 400;
}

.deriv-registration .section-header h2::after {
    background-color: var(--deriv-red);
    width: 80px;
    height: 3px;
}

.deriv-registration .registration-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.deriv-registration .deriv-logo {
    width: 220px;
    height: auto;
    margin-bottom: 3rem;
}

.deriv-registration .logo-image {
    width: 100%;
    height: auto;
}

.deriv-registration .registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.deriv-registration .step-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deriv-registration .step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.deriv-registration .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--deriv-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.9rem;
}

.deriv-registration .step-icon {
    margin: 0.5rem auto 1.2rem;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 68, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deriv-registration .step-icon i {
    font-size: 22px;
    color: var(--deriv-red);
}

.deriv-registration .step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #333333;
    font-weight: 500;
}

.deriv-registration .step-card p {
    color: var(--gray-color);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Benefits section */
.benefits-section {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.benefits-section .section-header h2::after {
    background-color: var(--deriv-red);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 68, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.benefit-icon i {
    font-size: 25px;
    color: var(--deriv-red);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333333;
    font-weight: 500;
}

.benefit-card p {
    color: var(--gray-color);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Support section */
.support-section {
    background-color: var(--white-color);
    padding: 5rem 0;
}

.support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.support-text {
    flex: 1;
    max-width: 600px;
}

.support-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.support-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
    font-weight: 300;
}

.support-image {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.support-img {
    max-width: 100%;
    height: auto;
}

/* CTA section */
.registration-cta {
    text-align: center;
    margin-top: 2rem;
}

.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--deriv-red);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 68, 79, 0.3);
}

.register-button:hover {
    background-color: var(--deriv-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 68, 79, 0.4);
}

.register-button i {
    font-size: 1rem;
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--gray-color);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Page Header for separate pages */
.page-header {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 8rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white-color);
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    margin: 0 -20px;
    /* Offset the card margins */
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    background-color: var(--white-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.rating i {
    color: #FFD700;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 1px solid var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-control-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* Stats Section */
.stats {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, #075E54, #128C7E);
    color: var(--white-color);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 40px;
    margin-bottom: 1rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--primary-hover);
}

/* Facebook Reviews Section */
.facebook-reviews {
    background-color: var(--white-color);
    padding: 5rem 0;
}

.facebook-reviews-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-menu {
        justify-content: flex-end;
    }

    .deriv-registration .registration-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-content {
        flex-direction: column;
    }
    
    .support-text, .support-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 50px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .start-now-btn {
        display: none;
        /* Hide in mobile menu mode */
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 3rem;
        padding-right: 0;
    }

    .hero-image {
        padding-left: 0;
    }

    .hero-cta {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deriv-registration .registration-steps {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .support-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

/* Make Facebook plugin responsive */
@media (max-width: 576px) {
    .facebook-reviews-container {
        width: 100%;
        overflow-x: hidden;
    }

    .fb-page {
        width: 100%;
    }
}

/* Services Section with Flow Diagram */
.services {
    background-color: var(--white-color);
    position: relative;
    padding: 5rem 0;
}

/* Service Flow Diagram */
.service-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0 4rem;
    position: relative;
}

.service-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.left-column, .right-column {
    width: 35%;
    z-index: 2;
}

.center-column {
    width: 30%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

/* Service Boxes */
.service-box {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-box h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.service-box p {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Center Service Box */
.center-service {
    background-color: var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.3);
    text-align: center;
    color: white;
    position: relative;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-service-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.main-service-logo img {
    max-width: 100%;
    filter: invert(69%) sepia(81%) saturate(432%) hue-rotate(106deg) brightness(93%) contrast(86%);
}

.center-service h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.center-service p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Arrows */
.arrow {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 4;
}

.arrow-1 {
    top: 25%;
    left: -25px;
}

.arrow-2 {
    top: 25%;
    right: -25px;
}

.arrow-3 {
    bottom: 25%;
    left: -25px;
}

.arrow-4 {
    bottom: 25%;
    right: -25px;
}

/* Connection lines */
.service-flow::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 0px;
    background: linear-gradient(to right, 
        transparent 10%, 
        var(--primary-color) 10%, 
        var(--primary-color) 45%, 
        transparent 45%,
        transparent 55%,
        var(--primary-color) 55%,
        var(--primary-color) 90%,
        transparent 90%
    );
    z-index: 1;
}

.service-flow::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 100%;
    height: 0px;
    background: linear-gradient(to right, 
        transparent 10%, 
        var(--primary-color) 10%, 
        var(--primary-color) 45%, 
        transparent 45%,
        transparent 55%,
        var(--primary-color) 55%,
        var(--primary-color) 90%,
        transparent 90%
    );
    z-index: 1;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-box {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: rgba(37, 211, 102, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.feature-box p {
    color: var(--gray-color);
    font-weight: 300;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-flow {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-column {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    .service-box {
        width: 45%;
        height: auto;
        min-height: 180px;
    }
    
    .center-column {
        width: 100%;
    }
    
    .center-service {
        width: 60%;
        margin: 0 auto;
        height: auto;
        min-height: 200px;
    }
    
    /* Adjust arrows for mobile */
    .arrow-1 {
        top: -25px;
        left: 25%;
        transform: rotate(90deg);
    }
    
    .arrow-2 {
        top: -25px;
        right: 25%;
        transform: rotate(90deg);
    }
    
    .arrow-3 {
        bottom: -25px;
        left: 25%;
        transform: rotate(90deg);
    }
    
    .arrow-4 {
        bottom: -25px;
        right: 25%;
        transform: rotate(90deg);
    }
    
    /* Remove horizontal connection lines */
    .service-flow::before, 
    .service-flow::after {
        display: none;
    }
}

@media (max-width: 768px) {    
    .service-column {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-box {
        width: 80%;
        margin: 0 auto;
    }
    
    .center-service {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .service-box,
    .center-service {
        width: 100%;
    }
    
    /* Adjust arrows for smallest screens */
    .arrow-1 {
        left: 20%;
    }
    
    .arrow-2 {
        right: 20%;
    }
    
    .arrow-3 {
        left: 20%;
    }
    
    .arrow-4 {
        right: 20%;
    }
}


/* Updated Hero Section Styles */

/* Hero Image Orbit Display */
.hero-image {
    flex: 1;
    max-width: 450px;
    text-align: right;
    padding-left: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-services-orbit {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

/* Central Logo */
.hero-central-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 10;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-central-logo img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
    filter: invert(69%) sepia(81%) saturate(432%) hue-rotate(106deg) brightness(93%) contrast(86%);
}

.hero-central-logo span {
    font-size: 0;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: center;
    line-height: 1;
}

/* Orbit Logos */
.hero-orbit-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 5;
}

.orbit-logo-container {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orbit-logo-container:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.orbit-logo-container img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Position each logo */
.hero-logo-1 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.hero-logo-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.hero-logo-3 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero-logo-4 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Connection Lines */
.hero-connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-connection-lines svg {
    width: 100%;
    height: 100%;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        r: 20;
        opacity: 1;
    }
    100% {
        r: 90;
        opacity: 0;
    }
}

.pulse-circle {
    transform-origin: center;
    animation: pulse 3s infinite ease-out;
}

/* Create multiple pulse circles with different delays */
.hero-connection-lines svg:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: rgba(37, 211, 102, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite ease-out 1s;
}

/* Orbit Animation */
@keyframes orbit {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Apply a slow orbit animation to the orbiting logos - optional */
.hero-services-orbit:hover .hero-orbit-logo {
    animation-play-state: paused; /* Pause on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
        padding-right: 0;
    }

    .hero-image {
        padding-left: 0;
        margin: 0 auto; 
    }

    .hero-services-orbit {
        width: 280px;
        height: 280px;
    }
    
    .hero-central-logo {
        width: 70px;
        height: 70px;
    }
    
    .hero-orbit-logo {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-services-orbit {
        width: 240px;
        height: 240px;
    }
    
    .hero-central-logo {
        width: 60px;
        height: 60px;
    }
    
    .hero-central-logo img {
        width: 30px;
        height: 30px;
    }
    
    .hero-orbit-logo {
        width: 45px;
        height: 45px;
    }
}