:root {
    --color-primary: #531afc;
    --color-secondary: #3dc6f4;
    --color-text-dark: #28170b;
    --color-text-light: #f9f9f9;
    --color-text-muted: #4c4c4c;
    --color-bg-dark: #11023f;
    --color-bg-light: #f9f9f9;
    --color-bg-grey: #f0f0f0;
    --gradient-primary: linear-gradient(92deg, #531afc 0%, #3dc6f4 101.03%);
}

.hero-content .btn-outline-black {
    margin-right: 15px;
}

.btn-outline-black {
    color: #000 !important;
    border-color: #666666 !important;
}

.btn-outline-black:hover {
    background: var(--gradient-primary) !important;
    color: var(--color-text-light) !important;
    /*border-color: var(--gradient-primary) !important;*/
}

/* Owl Carousel Custom Styles */
/* Hide navigation and dots */
.owl-carousel .owl-nav,
.owl-carousel .owl-dots {
    display: none !important;
}


/* Pricing Card Styles */
.pricing-card-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card-content {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.pricing-card-content h3 {
    font-size: 2rem;
    color: #1a1a2e;
    font-weight: 700;
}

.pricing-card-content p {
    color: #4a5568;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: linear-gradient(92deg, #531afc 0%, #3dc6f4 101.03%);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(83, 26, 252, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(83, 26, 252, 0.4);
}

.contact-email {
    display: inline-block;
    margin-top: 1.5rem;
    color: #4a5568;
    font-size: 18px;
}

.contact-email a {
    color: #531afc;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.2s ease;
    margin-left: 4px;
}

.contact-email a:hover {
    color: #3b13b3;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .why-us-card {
        padding: 20px 15px;
    }

    .why-us-card .card-title {
        font-size: 1.1rem;
    }

    .why-us-card .card-text {
        font-size: 0.9rem;
    }
}

body {
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: padding 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin-left: 15px;
}

.mobile-nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.mobile-nav-toggle span:nth-child(1) {
    top: 0;
}

.mobile-nav-toggle span:nth-child(2),
.mobile-nav-toggle span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-nav-toggle span:nth-child(4) {
    bottom: 0;
}

/* Animate to X when active */
.mobile-nav-toggle.active span:nth-child(1),
.mobile-nav-toggle.active span:nth-child(4) {
    width: 0;
    opacity: 0;
    left: 50%;
}

.mobile-nav-toggle.active span:nth-child(2) {
    transform: rotate(45deg);
    background: var(--color-primary);
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .mobile-nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--color-primary);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .mobile-menu-open .mobile-menu-overlay {
        display: block;
        opacity: 1;
    }

    .header-container {
        padding-top: 25px;
        padding-bottom: 8px;
    }

    .header-nav {
        position: fixed;
        top: 50px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
        padding: 20px;
        visibility: hidden;
        opacity: 0;
    }

    .mobile-menu-open .header-nav {
        right: -40px;
        visibility: visible;
        opacity: 1;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
        visibility: hidden;
    }

    .mobile-menu-open .mobile-menu-overlay {
        display: block;
        opacity: 1;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 1002;
        background: white;
    }

    .header-actions {
        display: none !important;
        /* Hide on mobile */
    }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }

    .mobile-actions .btn {
        width: 100%;
        text-align: center;
    }

    .nav-links .nav-link img {
        transition: transform 0.3s ease;
    }

    .nav-links .dropdown-open>img {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        display: none;
        padding-left: 20px;
        width: 100%;
    }

    .dropdown-open .dropdown-menu {
        display: block;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 15px;
    }

    .header-actions .nav-link {
        margin-right: 15px;
    }

    /* Overlay for mobile menu */
    .mobile-menu-open::before {
        /*content: '';*/
        /*position: fixed;*/
        /*top: 0;*/
        /*left: 0;*/
        /*right: 0;*/
        /*bottom: 0;*/
        /*background: rgba(0, 0, 0, 0.5);*/
        /*z-index: 999;*/
        /*backdrop-filter: blur(2px);*/
    }
}

/* Desktop Styles */
@media (min-width: 1025px) {

    .mobile-menu-overlay,
    .mobile-nav-toggle,
    .mobile-actions {
        display: none !important;
    }

    .header-nav {
        display: flex;
        align-items: center;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background: white;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 10px 0;
        z-index: 1000;
    }

    .nav-link:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        display: block;
        padding: 10px 20px;
        color: var(--color-text-dark);
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .dropdown-menu a:hover {
        background-color: #f8f9fa;
    }
}

.container {
    width: 100%;
    max-width: 1728px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 80px;
    padding-right: 80px;
    box-sizing: border-box;
}

section {
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border-radius: 360px;
    text-decoration: none;
    font-family: 'Teachers', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--color-text-light);
    color: var(--color-primary);
    font-family: 'Bricolage Grotesque', sans-serif;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-text-light);
    color: var(--color-text-light);
}

.label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    border-radius: 360px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
    margin-right: 20px;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
}

.lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-arrow {
    transition: transform 0.2s ease;
}

.language-dropdown:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.language-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 14px;
    transition: background-color 0.2s;
}

.lang-option:hover {
    background-color: #f8f9fa;
}

.lang-option span {
    font-weight: 500;
}

/* Mobile Language Dropdown */
.mobile-lang-dropdown {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
}

.mobile-lang-dropdown .lang-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 8px;
}

.mobile-lang-dropdown .lang-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: #f8f9fa;
    margin-top: 8px;
    display: none;
    /* Hidden by default, toggled via JS or CSS if we want click */
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* For mobile, we might want click interaction instead of hover */
.mobile-lang-dropdown.active .lang-menu {
    display: block;
}

.mobile-lang-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

/* Animated Partner Logos */
.partners-section-animated {
    padding: 60px 0;
    overflow: hidden;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.marquee-row {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    gap: 60px;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
    min-width: 100%;
    animation: scroll 40s linear infinite;
}

.marquee-content img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Scroll Animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 60px));
        /* -100% of content width - gap */
    }
}

/* Right Moving Row */
.marquee-right .marquee-content {
    animation-direction: reverse;
}

/* Left Moving Row */
.marquee-left .marquee-content {
    animation-direction: normal;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .partners-section-animated {
        padding: 40px 0;
    }

    .marquee-container {
        gap: 20px;
    }

    .marquee-row {
        gap: 30px;
    }

    .marquee-content {
        gap: 30px;
        animation-duration: 20s;
        /* Faster on mobile */
    }

    .marquee-content img {
        height: 30px;
    }

    @keyframes scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-100% - 30px));
        }
    }
}

/* Audio Player Styles */
.hw-audio-player {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: white;
    border-radius: 50px;
    padding: 10px 30px 10px 10px;
    /* Increased right padding */
    display: flex;
    align-items: center;
    gap: 20px;
    /* Increased gap */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
    max-width: 350px;
    /* Increased max-width */
}

.hw-audio-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hw-audio-player:hover .play-btn {
    transform: scale(1.05);
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent white;
    margin-left: 2px;
    /* Reduced from 4px to 2px for better centering */
    transition: all 0.2s ease;
}

/* Pause Icon State */
.hw-audio-player.playing .play-icon {
    height: 16px;
    border-style: double;
    border-width: 0 0 0 14px;
    /* Using border to create pause bars */
    border-color: white;
    margin-left: 0;
}

.waveform-container {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Increased gap between bars */
    height: 30px;
    padding-right: 10px;
    flex-grow: 1;
    /* Allow it to take available space */
}

.wave-bar {
    width: 4px;
    background: linear-gradient(180deg, #531afc 0%, #3dc6f4 100%);
    border-radius: 4px;
    height: 4px;
    /* Initial static height */
    animation: wave 1.2s ease-in-out infinite;
    animation-play-state: paused;
}

.hw-audio-player.playing .wave-bar {
    animation-play-state: running;
}

/* Varying animation delays for random effect */
.wave-bar:nth-child(1) {
    height: 10px;
    animation-duration: 0.8s;
}

.wave-bar:nth-child(2) {
    height: 16px;
    animation-duration: 1.1s;
}

.wave-bar:nth-child(3) {
    height: 22px;
    animation-duration: 1.3s;
}

.wave-bar:nth-child(4) {
    height: 14px;
    animation-duration: 0.9s;
}

.wave-bar:nth-child(5) {
    height: 26px;
    animation-duration: 1.5s;
}

.wave-bar:nth-child(6) {
    height: 18px;
    animation-duration: 1.0s;
}

.wave-bar:nth-child(7) {
    height: 12px;
    animation-duration: 1.2s;
}

.wave-bar:nth-child(8) {
    height: 24px;
    animation-duration: 1.4s;
}

.wave-bar:nth-child(9) {
    height: 15px;
    animation-duration: 0.8s;
}

.wave-bar:nth-child(10) {
    height: 20px;
    animation-duration: 1.1s;
}

.wave-bar:nth-child(11) {
    height: 10px;
    animation-duration: 1.3s;
}

.wave-bar:nth-child(12) {
    height: 16px;
    animation-duration: 0.9s;
}

.wave-bar:nth-child(13) {
    height: 22px;
    animation-duration: 1.5s;
}

.wave-bar:nth-child(14) {
    height: 14px;
    animation-duration: 1.0s;
}

.wave-bar:nth-child(15) {
    height: 8px;
    animation-duration: 1.2s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(2.5);
        /* Scale up */
    }
}

/* Mobile Responsiveness for Audio Player */
@media (max-width: 768px) {
    .hw-audio-player {
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%);
        width: auto;
        max-width: 90%;
        /* Ensure it fits on mobile */
    }

    .hw-audio-player:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}