:root {
    --primary: #3d0a64;
    --secondary: #8c30f5;
    --accent: #ff007f;
    --accent-light: #ffb6c1;
    --white-transparent: rgba(255, 255, 255, 0.2);
    --glass: rgba(255, 255, 255, 0.15);
    --text: #333;
    --text-light: #666;
    --bg-light: #f9f5ff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    background-image: radial-gradient(rgba(112, 25, 207, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
}

span {
    color: var(--secondary);
}

.text-center {
    text-align: center;
}

.sub-title {
    display: inline-block;
    padding: 5px 15px;
    background: var(--bg-light);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Global Classes */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    gap: 12px;
}

.btn i {
    transition: transform 0.3s ease;
    font-size: 1em;
}

.btn:hover i {
    transform: translateX(6px);
}

.btn-outline-white:hover i {
    transform: translateY(2px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, #ff007f 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 0, 127, 0.35);
    position: relative;
    border: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 0, 127, 0.5);
    background: linear-gradient(90deg, #ff007f 0%, var(--primary) 100%);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-4px) scale(1.02);
}

.btn-secondary {
    background: #111;
    color: var(--white);
}

.btn-nav {
    background: var(--white);
    color: var(--primary);
    padding: 8px 25px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--accent-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Header */
.header {
    background: #fdf5ff;
    /* Very light pink/white background */
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-apply {
    background: linear-gradient(90deg, var(--primary) 0%, #ff007f 100%);
    color: var(--white);
    padding: 14px 38px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.25);
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: linear-gradient(90deg, #ff007f 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 127, 0.4);
}


/* Hero Section */
.hero {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0 160px;
    /* Increased bottom padding to clear the wave */
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 20;
    /* Higher than wave z-index (10) to prevent clipping */
}

.hero-ad-badge {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 35px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: rotate(180deg);
}

.hero-wave .shape-fill {
    fill: var(--white);
}

.script-title {
    font-family: 'Dancing Script', cursive;
    color: var(--accent-light);
    display: block;
    font-style: italic;
    font-size: 1.1em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.hero-footer-text {
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 600;
    margin-top: 30px;
    display: block;
    letter-spacing: 0.8px;
    opacity: 1;
    /* Full opacity for readability */
}

/* Hero Image Scene */
.hero-image-scene {
    position: relative;
    padding: 0;
    margin-right: 0;
    justify-self: center;
}

.hero-image-bg {
    position: absolute;
    top: -60px;
    right: 20px;
    width: 280px;
    height: 380px;
    border-radius: 30px;
    overflow: hidden;
    transform: rotate(-10deg);
    z-index: 1;
    opacity: 0.8;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: float-bg 8s ease-in-out infinite alternate;
}

.hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero-frame {
    width: 420px;
    height: 530px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    background: #fff;
    animation: float-main 4s ease-in-out infinite alternate;
}

.main-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-circle-img {
    position: absolute;
    bottom: -73px;
    left: -28%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 12px solid var(--primary);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: var(--primary);
    animation: float-circle 5s ease-in-out infinite alternate;
}

.floating-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    /* Stronger glass effect */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 14px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.badge-top-left {
    top: 50px;
    left: -120px;
    z-index: 15;
}

.badge-bottom-right {
    bottom: 220px;
    right: -134px;
    z-index: 15;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #ffd700;
    ;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    flex-shrink: 0;
}

.fa-crown {
    color: #ffffff;

}

.text-info strong {
    font-size: 1.1rem;
    display: block;
    color: #ffffff !important;
}

.text-info span {
    font-size: 0.8rem;
    opacity: 1;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff !important;
}

.uk-accredited-tag {
    position: absolute;
    bottom: -55px;
    right: 42px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 30;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.uk-accredited-tag span {
    color: #ffffff !important;
}

.help-bubble {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary);
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.help-bubble:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

.decoration {
    position: absolute;
    font-size: 2.5rem;
    z-index: 20;
    color: var(--accent-light);
    filter: drop-shadow(0 0 10px rgba(255, 182, 193, 0.5));
}

.decoration-star {
    top: -20px;
    right: 20%;
    color: #ffcc00;
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.5));
    animation: pulse 2s infinite;
}

.decoration-nail-art {
    bottom: 35px;
    right: -95px;
    color: var(--accent-light);
    transform: rotate(-15deg);
    z-index: 25;
}

@keyframes float-main {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes float-bg {
    0% {
        transform: rotate(10deg) translate(0);
    }

    100% {
        transform: rotate(12deg) translate(15px, -15px);
    }
}

@keyframes float-circle {
    0% {
        transform: scale(1) translateY(0);
    }

    100% {
        transform: scale(1.05) translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

section.animate-up {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* About Section Styles - Refined to match image */
.about {
    padding: 70px 0;
    background: #ffffff;
    overflow: hidden;
}

/* About Section Styles - Refined for Pixel Perfection */
.about {
    padding: 70px 0;
    background: #ffffff;
}

.about .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-visuals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 20px;
    position: relative;
}

.about-card {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.card-img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    height: 480px;
}

.card-img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-quote {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background: #3d0a64;
    /* Deep DMOKA Purple */
    color: var(--white);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.card-quote p {
    font-size: 1.15rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 2;
    line-height: 1.5;
    margin: 0;
}

.card-quote::after {
    content: '"';
    position: absolute;
    right: 30px;
    bottom: -15px;
    font-size: 8rem;
    opacity: 0.15;
    font-family: serif;
}

.card-img-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 5;
    height: 380px;
}

.card-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-faculty {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    background: #ffffff;
    padding: 20px 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 5;
    margin-top: -60px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faculty-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fdf5ff;
    flex-shrink: 0;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-faculty::before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -15px;
    width: 120px;
    height: 120px;
    background: #fdf5ff;
    border-radius: 50%;
    z-index: -1;
}

.faculty-info h3 {
    color: #3d0a64;
    font-size: 1.4rem;
    margin-bottom: 2px;
    font-family: 'Playfair Display', serif;
}

.faculty-info p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* Right Content Content Styles */
.about-content .section-tag {
    color: #ff007f;
    /* Accent Pink */
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: block;
}

.about-content .section-title {
    font-size: 3.8rem;
    color: #1a1a1a;
    line-height: 1.05;
    margin-bottom: 35px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.about-content .section-title span.accent-text {
    color: #3d0a64;
    /* Accent Pink */
}

.about-content .section-title .ampersand {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    font-weight: 300;
    font-size: 1.1em;
}

.about-content .section-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
    max-width: 580px;
}

.about-content .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    margin-bottom: 50px;
}

.about-content .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-content .feature-item i {
    color: #2ecc71;
    font-size: 0.9rem;
    background: #eafff2;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.about-content .feature-item span {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.about-content .btn-discover {
    background: #3d0a64;
    color: #fff;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(61, 10, 100, 0.25);
    transition: var(--transition);
}

.about-content .btn-discover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(61, 10, 100, 0.35);
}

.about-content .footer-note {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    color: #969497;
    font-weight: 600;
    font-style: italic;
    text-align: left;
    margin-left: 5px;
    opacity: 1;
}

/* Affiliations Section */
.affiliations {
    padding: 50px 0;
    background: var(--primary);
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.affiliations-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
}

.affiliations-title span {
    color: var(--white);
    opacity: 0.8;
}

.affiliations-title .ampersand {
    font-family: 'Dancing Script', cursive;
    color: var(--accent-light);
    font-size: 1.2em;
    font-style: italic;
}

.affiliations-glass-bar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 30px 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.affiliations-glass-bar .brand-item {
    font-size: 2.2rem;
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
    cursor: pointer;
}

.affiliations-glass-bar .brand-item:hover {
    opacity: 1;
    transform: scale(1.15);
}

.affiliations-footer {
    margin-top: 40px;
}

.affiliations-footer p {
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.affiliations-footer p:hover {
    color: var(--accent-light);
}

.affiliations-footer p i {
    font-size: 0.8rem;
}

.affiliations-footer span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Programs Section - Pixel Perfect Refinement */
.programs {
    padding: 60px 0 50px;
    background: #ffffff;
}

.programs .section-header {
    margin-bottom: 60px;
}

.programs .section-tag {
    color: #ff007f;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.programs .section-title {
    font-size: 3.2rem;
    color: #1a1438;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.programs .section-subtitle {
    color: #666;
    font-size: 1.05rem;
    font-weight: 500;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #f8f8f8;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Card 1: Micro-Pigmentation (Featured) */
.card-featured .card-image {
    height: 240px;
    overflow: hidden;
}

.card-featured .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-featured .card-body {
    padding: 35px 30px;
    text-align: center;
}

.card-featured .card-title {
    font-size: 1.6rem;
    color: #1a1438;
    font-weight: 700;
    margin-bottom: 25px;
}

.card-featured .card-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.card-featured .card-features {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.card-featured .card-features li {
    font-size: 0.9rem;
    color: #3d0a64;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-featured .card-features .dot {
    color: #ff007f;
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.btn-enquire-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 12px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-enquire-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Card 2: Cosmetology (Popular) */
.card-popular {
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 25px;
}

.card-popular .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-popular .icon-leaf {
    color: #26a65b;
    font-size: 1.8rem;
}

.card-popular .badge-popular {
    background: #fff0f5;
    color: #ff007f;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-popular .card-title {
    font-size: 1.8rem;
    color: #1a1438;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-popular .card-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.card-popular .card-features-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 35px 0 45px;
}

.card-popular .feature-box {
    background: transparent;
    border: 1px solid #f0f0f8;
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary);
}

.btn-enquire-solid {
    background: #1a1438;
    color: #fff;
    padding: 14px 45px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
}

.btn-enquire-solid:hover {
    background: #3d0a64;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Card 3: Professional Makeup (Dark) */
.card-dark {
    position: relative;
    padding: 0;
}

.card-dark .card-image-full {
    height: 100%;
    width: 100%;
}

.card-dark .card-image-full img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-dark .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.95));
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.card-dark .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-dark .card-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 220px;
}

.btn-enquire-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-enquire-white:hover {
    background: #fff;
    color: #1a1438;
    border-color: #fff;
}

.card-dark .footer-tag {
    margin-top: 25px;
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.6;
}

/* Bottom Grid Layout */
.grid-bottom {
    grid-template-columns: repeat(2, 380px);
    justify-content: center;
    margin-top: 40px;
}

/* Card 4: Nutrition (Mini) */
.card-mini {
    padding: 50px 35px;
    background: #fcfbfb;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-mini .icon-wrap {
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-mini .icon-wrap img {
    width: 24px;
}

.card-mini .icon-wrap i {
    font-size: 1.8rem;
}

.card-mini .card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1438;
    margin-bottom: 15px;
}

.card-mini .card-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.card-mini .enquire-link {
    color: #1a1438;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 2px solid #ff007f;
    padding-bottom: 4px;
    margin-bottom: 12px;
    display: inline-block;
    transition: all 0.3s ease;
}

.card-mini .enquire-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.card-mini .glow-txt {
    font-size: 0.85rem;
    color: #ff007f;
    font-style: italic;
    opacity: 0.7;
}

/* Card 5: Hair Extensions (Split) */
.card-split {
    background: #fff;
    border: 1px solid #f5f5f5;
}

.card-split .card-image-split {
    height: 220px;
    overflow: hidden;
}

.card-split .card-image-split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-split .card-body {
    padding: 40px 30px;
    text-align: center;
}

.card-split .card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1438;
    margin-bottom: 15px;
}

.card-split .card-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
}

.card-split .btn-enquire-dark {
    background: #1a1438;
    color: #fff;
    padding: 14px 45px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
}

.card-split .btn-enquire-dark:hover {
    background: #3d0a64;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-split .footer-note {
    display: block;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #ff007f;
    font-style: italic;
}


/* Why Choose section is now styled in why_choose.css */



/* Placement Section */
.placement {
    padding: 60px 0;
}

/* Placement & Career Support - Redesign */
.placement {
    padding: 60px 0 50px;
    background: #ffffff;
}

.placement .section-header {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.placement-header-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: #3d0a64;
    font-size: 1.8rem;
}

.placement .section-title {
    font-size: 3.2rem;
    color: #1a1438;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.placement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.placement-card-item {
    padding: 50px 40px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Card 1: Grads Work At (White) */
.card-grads {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
}

.card-grads .card-title {
    color: #3d0a64;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.grads-list {
    list-style: none;
    padding: 0;
}

.grads-list li {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.grads-list li i {
    color: #ffcc00;
    font-size: 1rem;
}

.card-grads .card-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -10px;
    font-size: 14rem;
    color: #f3f0f7;
    z-index: 0;
    pointer-events: none;
    transform: rotate(-10deg);
}

.card-grads .card-content {
    position: relative;
    z-index: 1;
}

/* Card 2: We Provide (Deep Purple) */
.card-provide {
    background: #5e1151;
    /* Deep brand purple gradient variation */
    background: linear-gradient(135deg, #5e1151 0%, #3d0a64 100%);
    color: #fff;
}

.card-provide .card-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.provide-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.provide-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 22px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.provide-item .checkbox {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3d0a64;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.provide-item span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
    color: #ffffff;
    /* Improved readability */
}

.provide-item .item-bg-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

/* Placement Footer */
.btn-build {
    background: transparent;
    border: 2px solid var(--primary);
    color: #3d0a64;
    padding: 15px 45px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-build:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(140, 48, 245, 0.2);
}

.btn-build i {
    font-size: 1rem;
    margin-bottom: 2px;
}

.placement .footer-note {
    margin-top: 20px;
    font-size: 1.05rem;
    color: #999;
    font-weight: 500;
}


/* Real Classrooms Section - Teaser Redesign */
.classroom-teaser {
    padding: 60px 0;
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.classroom-teaser::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 48, 245, 0.12), transparent 70%);
    pointer-events: none;
}

.classroom-teaser::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.teaser-title {
    font-size: 3.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.teaser-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 50px;
}

.polaroid-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px auto;
    max-width: 1200px;
    perspective: 1000px;
}

.polaroid {
    background: #fff;
    padding: 12px;
    padding-bottom: 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 260px;
    position: relative;
    z-index: 1;
}

.polaroid-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 15px;
}

.polaroid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-caption {
    color: #444;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 600;
}

.polaroid-1 {
    transform: rotate(-5deg);
}

.polaroid-2 {
    transform: rotate(3deg) translateY(15px);
}

.polaroid-3 {
    transform: rotate(-2deg) translateY(-10px);
}

.polaroid-4 {
    transform: rotate(4deg) translateY(5px);
}

.polaroid:hover {
    transform: rotate(0) scale(1.1) translateY(-15px);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.teaser-footer {
    margin-top: 40px;
}

.btn-teaser {
    background: #fff;
    color: #8c3072;
    padding: 15px 45px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-teaser:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #fdfdfd;
}

.btn-teaser i {
    font-size: 1.2rem;
}


/* ================================================================
   Student Success Stories — White / Light Premium UI
   ================================================================ */
.success-stories {
    padding: 70px 0;
    background: #ffffff;
    color: #1a1438;
    overflow: hidden;
    position: relative;
    font-family: 'Outfit', sans-serif;
}

/* Soft dot pattern background */
.success-stories::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(140, 48, 245, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Soft color wash */
.ss-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    z-index: 0;
}

.ss-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(140, 48, 245, 0.07);
    top: -100px;
    left: -100px;
}

.ss-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 0, 127, 0.05);
    bottom: -100px;
    right: 0;
}

.success-stories .container {
    position: relative;
    z-index: 2;
}

/* ── Header ─────────────────────────────────────── */
.ss-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.ss-tag {
    display: inline-block;
    padding: 7px 18px;
    background: rgba(140, 48, 245, 0.08);
    border: 1px solid rgba(140, 48, 245, 0.2);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ss-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: #1a1438;
}

.ss-title-accent {
    background: linear-gradient(90deg, var(--primary), #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.ss-subtitle {
    font-size: 1.05rem;
    color: #777790;
    line-height: 1.7;
}

/* ── Main Layout ─────────────────────────────────── */
.ss-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

/* ── Featured Testimonial (Left) ─────────────────── */
.ss-featured {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ede8f8;
    box-shadow: 0 10px 50px rgba(140, 48, 245, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ss-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(140, 48, 245, 0.15);
}

.ss-featured-img-wrap {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.ss-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.ss-featured:hover .ss-featured-img-wrap img {
    transform: scale(1.04);
}

.ss-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 20, 56, 0.65) 0%, transparent 55%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-play-btn {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.ss-play-btn:hover,
.ss-featured:hover .ss-play-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(140, 48, 245, 0.5);
}

.ss-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #b8860b;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.ss-featured-content {
    padding: 35px 40px;
    background: #fff;
    position: relative;
}

.ss-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 0.1;
    color: #e0d5ff;
    margin-bottom: 25px;
    display: block;
}

.ss-featured-quote {
    font-size: 1.15rem;
    color: #555577;
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 35px;
}

.ss-featured-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 25px;
    border-top: 1px solid #f8f7ff;
}

.ss-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0eeff;
    flex-shrink: 0;
}

.ss-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-author-info {
    flex: 1;
}

.ss-author-info strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1438;
}

.ss-author-info span {
    font-size: 0.85rem;
    color: #8888aa;
    font-weight: 500;
}

.ss-rating {
    display: flex;
    gap: 4px;
}

.ss-rating i {
    color: #ffb800;
    font-size: 0.9rem;
}

/* ── Testimonial Cards (Right) ───────────────────── */
.ss-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ss-card {
    background: #ffffff;
    border: 1px solid #ede8f8;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 4px 20px rgba(140, 48, 245, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), #c79aff);
    border-radius: 4px 0 0 4px;
}

.ss-card--accent::before {
    background: linear-gradient(to bottom, #ff007f, #ffb6c1);
}

.ss-card:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 40px rgba(140, 48, 245, 0.12);
    border-color: rgba(140, 48, 245, 0.2);
}

.ss-card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
}

.ss-card-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0eeff;
    flex-shrink: 0;
}

.ss-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ss-card-meta {
    flex: 1;
    padding-top: 4px;
}

.ss-card-meta strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1438;
    margin-bottom: 2px;
}

.ss-card-meta span {
    font-size: 0.8rem;
    color: #777799;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.ss-stars {
    display: flex;
    gap: 4px;
}

.ss-stars i {
    color: #ffb800;
    font-size: 0.75rem;
}

.ss-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(140, 48, 245, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    position: absolute;
    top: 0;
    right: 0;
}

.ss-card-icon--pink {
    background: rgba(255, 0, 127, 0.08);
    color: #ff007f;
}

.ss-card-icon--teal {
    background: rgba(0, 180, 180, 0.08);
    color: #00aaaa;
}

.ss-card-quote {
    font-size: 0.95rem;
    color: #555577;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.ss-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--primary);
    background: #fbf9ff;
    border: 1px solid rgba(140, 48, 245, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 700;
}

.ss-card--accent .ss-card-tag {
    color: #ff007f;
    background: #fffcfd;
    border-color: rgba(255, 0, 127, 0.15);
}

/* ── Footer Stats Bar ───────────────────────────── */
.ss-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f6ff;
    /* Light purple tint for contrast against white bg */
    border: 1px solid #e0d5ff;
    /* Slightly more visible border */
    border-radius: 24px;
    padding: 35px 50px;
    gap: 30px;
    position: relative;
    box-shadow: 0 15px 45px rgba(140, 48, 245, 0.08);
    /* Stronger shadow for depth */
    margin-top: 40px;
}

.ss-stats-mini {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ss-stat-mini {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.ss-stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a1438;
    /* Deep Navy - max readability */
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.ss-stat-label {
    font-size: 0.85rem;
    color: #555577;
    /* Dark Gray for labels */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.ss-stat-divider {
    width: 1px;
    height: 50px;
    background: #d8d0ee;
    flex-shrink: 0;
}

.ss-cta-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px 35px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(140, 48, 245, 0.3);
    white-space: nowrap;
}

.ss-cta-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(140, 48, 245, 0.4);
}

/* ── Testimonial Swap Animations ───────────────── */
.ss-featured {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.ss-featured.ss-swapping {
    opacity: 0;
    transform: scale(0.97) translateY(10px);
}

.ss-card[data-testimonial] {
    cursor: pointer;
    transition: opacity 0.35s ease, transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ss-card[data-testimonial]:hover {
    border-color: rgba(140, 48, 245, 0.25);
    box-shadow: 0 12px 35px rgba(140, 48, 245, 0.1);
    transform: translateY(-4px);
}

.ss-card.ss-card-swapping {
    opacity: 0;
    transform: scale(0.95) translateX(-15px);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .ss-layout {
        grid-template-columns: 1fr;
    }

    .ss-featured-img-wrap {
        height: 300px;
    }
}


@media (max-width: 768px) {
    .success-stories {
        padding: 80px 0;
    }

    .ss-header {
        margin-bottom: 50px;
    }

    .ss-footer {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .ss-stats-mini {
        justify-content: center;
        gap: 24px;
    }

    .ss-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .ss-stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .ss-title {
        font-size: 2rem;
    }

    .ss-featured-content {
        padding: 24px 20px;
    }

    .ss-card {
        padding: 20px;
    }
}


/* Google Rating Section - Redesign */


.ss-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(140, 48, 245, 0.12);
    top: -100px;
    left: -100px;
}

.ss-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 0, 127, 0.08);
    bottom: -100px;
    right: 0;
}

.success-stories .container {
    position: relative;
    z-index: 2;
}

/* ── Header ─────────────────────────────────────── */
.ss-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.ss-tag {
    display: inline-block;
    padding: 7px 18px;
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid rgba(255, 0, 127, 0.3);
    color: #ff6eb0;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ss-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: #fff;
}

.ss-title-accent {
    background: linear-gradient(90deg, #ff6eb0, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.ss-subtitle {
    font-size: 1.05rem;
    color: #8888a8;
    line-height: 1.7;
}

/* ── Main Layout ─────────────────────────────────── */
.ss-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

/* ── Featured Testimonial (Left) ─────────────────── */
.ss-featured {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ss-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ss-featured-img-wrap {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.ss-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.ss-featured:hover .ss-featured-img-wrap img {
    transform: scale(1.04);
}

.ss-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 26, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-play-btn {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ss-play-btn:hover,
.ss-featured:hover .ss-play-btn {
    background: #ff007f;
    border-color: #ff007f;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.5);
}

.ss-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.ss-featured-content {
    padding: 32px 36px;
    position: relative;
}

.ss-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    line-height: 0.5;
    color: rgba(140, 48, 245, 0.3);
    margin-bottom: 18px;
    display: block;
    font-style: normal;
}

.ss-featured-quote {
    font-size: 1.05rem;
    color: #ccccdd;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 28px;
}

.ss-featured-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ss-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(140, 48, 245, 0.4);
    flex-shrink: 0;
}

.ss-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ss-author-info {
    flex: 1;
}

.ss-author-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.ss-author-info span {
    font-size: 0.82rem;
    color: #9090b0;
}

.ss-rating {
    display: flex;
    gap: 3px;
}

.ss-rating i {
    color: #ffd700;
    font-size: 0.85rem;
}

/* ── Testimonial Cards (Right) ───────────────────── */
.ss-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ss-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 26px 28px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    border-radius: 4px 0 0 4px;
}

.ss-card--accent::before {
    background: linear-gradient(to bottom, #ff007f, transparent);
}

.ss-card:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.ss-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ss-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.ss-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ss-card-meta {
    flex: 1;
}

.ss-card-meta strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.ss-card-meta span {
    font-size: 0.78rem;
    color: #8888aa;
    display: block;
    margin-bottom: 5px;
}

.ss-stars {
    display: flex;
    gap: 2px;
}

.ss-stars i {
    color: #ffd700;
    font-size: 0.7rem;
}

.ss-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(140, 48, 245, 0.15);
    color: #b57aff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ss-card-icon--pink {
    background: rgba(255, 0, 127, 0.12);
    color: #ff6eb0;
}

.ss-card-icon--teal {
    background: rgba(0, 200, 200, 0.12);
    color: #00d4d4;
}

.ss-card-quote {
    font-size: 0.9rem;
    color: #aaaabb;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 14px;
}

.ss-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(140, 48, 245, 0.1);
    border: 1px solid rgba(140, 48, 245, 0.2);
    padding: 5px 12px;
    border-radius: 100px;
    font-weight: 600;
}

.ss-card--accent .ss-card-tag {
    color: #ff6eb0;
    background: rgba(255, 0, 127, 0.08);
    border-color: rgba(255, 0, 127, 0.2);
}

/* ── Footer ─────────────────────────────────────── */
.ss-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f6ff;
    border: 1px solid #e0d5ff;
    border-radius: 20px;
    padding: 28px 40px;
    gap: 30px;
    box-shadow: 0 8px 30px rgba(140, 48, 245, 0.08);
}

.ss-stats-mini {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ss-stat-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ss-stat-num {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #3d0a64, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.ss-stat-label {
    font-size: 0.78rem;
    color: #444466;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.ss-stat-divider {
    width: 1px;
    height: 40px;
    background: #d0c5ee;
    flex-shrink: 0;
}

.ss-cta-btn {
    background: linear-gradient(90deg, var(--primary));
    color: #fff;
    border: none;
    padding: 15px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(140, 48, 245, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.ss-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 0, 127, 0.4);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .ss-layout {
        grid-template-columns: 1fr;
    }

    .ss-featured-img-wrap {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .success-stories {
        padding: 80px 0;
    }

    .ss-header {
        margin-bottom: 50px;
    }

    .ss-footer {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .ss-stats-mini {
        justify-content: center;
        gap: 24px;
    }

    .ss-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .ss-stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .ss-title {
        font-size: 2rem;
    }

    .ss-featured-content {
        padding: 24px 20px;
    }

    .ss-card {
        padding: 20px;
    }
}


/* Google Rating Section - Redesign */
.rating-section {
    padding: 80px 0;
    background: #fff;
}

/* ==========================================================================
   Google Rating Section - Premium Luxury UI
   ========================================================================== */
.rating-section {
    padding: 70px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Subtle texture/bg element */
.rating-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(66, 133, 244, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(234, 67, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.rating-section .container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rating-card-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.04),
        0 10px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid #f8f8fc;
    gap: 80px;
    position: relative;
}

/* Rating Left Area */
.rating-left {
    text-align: center;
    min-width: 250px;
}

.rating-score {
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 1;
    color: #1a1438;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -3px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 15px;
}

.rating-stars i {
    font-size: 2.2rem;
    color: #ffb800;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.2));
}

.rating-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: #8888aa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Rating Divider */
.rating-divider-vertical {
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #eee, transparent);
}

/* Rating Right Area */
.rating-right {
    flex: 1;
    position: relative;
}

.rating-quote-icon {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 6rem;
    color: rgba(234, 67, 53, 0.05);
    font-family: 'Playfair Display', serif;
    z-index: -1;
}

/* Review Slider Container */
.reviews-slider {
    position: relative;
    height: 180px;
    /* Fixed height to prevent layout jumping */
    overflow: hidden;
    margin-bottom: 20px;
}

.review-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    animation: reviewFadeCycle 15s infinite;
    /* 5s per review */
}

/* Cycle Animations for 3 reviews */
.review-item:nth-child(1) {
    animation-delay: 0s;
}

.review-item:nth-child(2) {
    animation-delay: 5s;
}

.review-item:nth-child(3) {
    animation-delay: 10s;
}

@keyframes reviewFadeCycle {

    0%,
    30% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    33.33%,
    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
}

.rating-quote {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #1a1438;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.review-author {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.review-author span {
    color: #8888aa;
    font-weight: 500;
    font-size: 0.9rem;
    font-style: italic;
    margin-left: 5px;
}

.rating-footer-btn {
    text-align: left;
}

.btn-google-reviews {
    background: #ffffff;
    padding: 15px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    border: 1px solid #f0f0f5;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.btn-google-reviews:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(140, 48, 245, 0.1);
    border-color: #ede8f8;
}

.btn-google-reviews .google-g {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-right: 2px;
}

/* Google-G Multi-Color Support */
.google-blue {
    color: #4285F4;
}

.google-red {
    color: #EA4335;
}

.google-yellow {
    color: #FBBC05;
}

.google-green {
    color: #34A853;
}

/* Responsive Reviews */
@media (max-width: 991px) {
    .rating-card-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        gap: 40px;
    }

    .rating-divider-vertical {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, #eee, transparent);
    }

    .rating-footer-btn {
        text-align: center;
    }

    .rating-quote-icon {
        left: 50%;
        transform: translateX(-50%);
    }

    .rating-score {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .rating-quote {
        font-size: 1.3rem;
    }

    .btn-google-reviews {
        padding: 15px 30px;
        width: 100%;
        justify-content: center;
    }
}

/* FAQ Section - Redesign */
.faq-section {
    padding: 60px 0;
    background: #fcfaff;
    /* Very light purple tint */
}

.faq-section .section-title {
    font-size: 2.8rem;
    color: #1a1438;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 50px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question span {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3d0a64;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-footer {
    margin-top: 50px;
}

.faq-footer-text {
    font-size: 1.05rem;
    color: #3d0a64;
    font-weight: 700;
}

.faq-footer-text span {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    cursor: pointer;
}

/* Affiliations Section - Liquid Water Effect */
.affiliations {
    padding: 70px 0 60px;
    background: linear-gradient(135deg, #2a0845 0%, #3d0a64 30%, #6441a5 60%, var(--primary) 100%);
    background-size: 300% 300%;
    animation: liquidGradient 8s ease infinite;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes liquidGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Liquid SVG Waves */
.liquid-wave {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
    line-height: 0;
}

.liquid-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
}

/* Floating Bubbles */
.liquid-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: riseBubble linear infinite;
}

.b1 {
    width: 40px;
    height: 40px;
    left: 8%;
    bottom: -50px;
    animation-duration: 12s;
    animation-delay: 0s;
}

.b2 {
    width: 25px;
    height: 25px;
    left: 25%;
    bottom: -50px;
    animation-duration: 9s;
    animation-delay: 2s;
}

.b3 {
    width: 55px;
    height: 55px;
    left: 45%;
    bottom: -60px;
    animation-duration: 15s;
    animation-delay: 1s;
}

.b4 {
    width: 30px;
    height: 30px;
    left: 65%;
    bottom: -50px;
    animation-duration: 10s;
    animation-delay: 3s;
}

.b5 {
    width: 20px;
    height: 20px;
    left: 80%;
    bottom: -40px;
    animation-duration: 8s;
    animation-delay: 4s;
}

.b6 {
    width: 45px;
    height: 45px;
    left: 90%;
    bottom: -60px;
    animation-duration: 14s;
    animation-delay: 0.5s;
}

@keyframes riseBubble {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-110vh) scale(0.4);
        opacity: 0;
    }
}

.affiliations .container {
    position: relative;
    z-index: 2;
}

.affiliations-title {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 50px;
    color: #fff;
}

.affiliations-title .ampersand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent-light);
}

.affiliations-title .gb-tag {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: middle;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}

.affiliations-glass-bar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 960px;
    margin: 0 auto 40px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.affiliations-glass-bar:hover .logo-track {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    padding: 10px 18px;
    transition: all 0.3s ease;
    opacity: 1;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-item:hover {
    opacity: 1;
    transform: scale(1.07);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

/* Capsule/Pill shape for Facecon logo */
.brand-item.brand-item-pill {
    border-radius: 10%;
    padding: 5px 5px;
}

/* Circle/Oval shape for QAHE logo */
.brand-item.brand-item-circle {
    border-radius: 10%;
    padding: 5px 5px;
}

/* Black background for Facecon logo */
.brand-item.brand-item-black {
    background: #000000;
}

/* Blue background for QAHE logo */
.brand-item.brand-item-blue {
    background: #1E3163;
}

/* Larger logo size for IEBAM */
.brand-item.brand-item-large img {
    max-width: 150px;
    max-height: 75px;
    transform: scale(1.25);
}

.brand-item img {
    width: 100%;
    height: 100%;
    max-width: 130px;
    max-height: 60px;
    object-fit: contain;
}

.affiliations-footer {
    margin-top: 10px;
}

.affiliations-footer p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 8px;
}

.affiliations-footer p i {
    margin-right: 8px;
    color: var(--accent-light);
}

.affiliations-footer span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Final CTA Section - Redesign */
.final-cta {
    padding: 70px 0;
    background-color: #3d0a64;
    background-image:
        linear-gradient(rgba(61, 10, 100, 0.95), rgba(61, 10, 100, 0.95)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='93' viewBox='0 0 80 93'%3E%3Cpath fill='%238c30f5' fill-opacity='0.1' d='M40 0l40 23.094v46.188L40 92.376 0 69.282V23.094L40 0zm0 2.309L2 24.248v43.88l38 21.921 38-21.921v-43.88L40 2.309z'/%3E%3C/svg%3E");
    background-attachment: fixed;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 4.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.btn-enroll-now {
    background: #fff;
    color: #3d0a64;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-enroll-now i {
    color: #ff6a00;
}

.btn-enroll-now:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: #f8f8f8;
}

.btn-counselor {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-counselor:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-5px);
}

.btn-counselor i {
    transform: scaleX(-1);
}

.cta-tagline {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1;
}

/* Footer - Redesign */
.footer {
    background: #1a062d;
    color: #fff;
    padding: 60px 0 30px;
    border-top: 2px solid #3d0a64;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo span {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.8;
    color: #999;
    margin-bottom: 35px;
}

.footer-socials {
    display: flex;
    gap: 18px;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 35px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 18px;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.contact-details li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px !important;
}

.contact-details li i {
    color: #fff;
    margin-top: 5px;
    font-size: 1.1rem;
}

.contact-details li i.fa-phone-alt {
    transform: scaleX(-1);
}

.contact-details li span {
    color: #999;
    line-height: 1.6;
    text-align: left;
    font-size: 1rem;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-policy a {
    color: #666;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-policy a:hover {
    color: var(--primary);
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.btn-counselor {
    text-decoration: none;
}

/* Mobile Menu Toggle Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Tablets & Small Desktops (1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 1100px;
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .about-content .section-title {
        font-size: 3rem;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (landscape) & Large Screens (992px) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .container,
    .about .container.grid-2,
    .why-choose .container.grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image-scene {
        margin-top: 40px;
        transform: scale(0.9);
    }

    .about-visuals {
        margin-bottom: 50px;
    }

    .about-content {
        text-align: center;
    }

    .features-list {
        display: inline-block;
        text-align: left;
    }

    .benefits-grid {
        margin-top: 40px;
    }

    .placement-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .affiliations-glass-bar {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Tablets (portrait) & Small Screens (768px) */
@media (max-width: 768px) {
    .header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        z-index: 1001;
    }

    body {
        padding-top: 85px;
    }

    .container {
        padding: 0 20px;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        flex-wrap: nowrap;
    }

    .logo img {
        height: 35px;
        width: auto;
    }

    .nav-cta {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
        width: 35px;
        height: 35px;
        background: var(--bg-light);
        border-radius: 8px;
        color: var(--primary);
    }

    .btn-apply {
        order: 1;
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--primary);
    }



    /* Hero Section */
    .hero {
        padding: 40px 0 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero h1 br {
        display: none;
        /* Allow title to flow naturally on mobile */
    }

    .hero-ad-badge {
        padding: 8px 18px;
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .hero .btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }

    .main-hero-frame {
        width: 100%;
        max-width: 300px;
        /* Slightly smaller for better screen fit */
        height: 380px;
        margin: 0 auto;
    }

    .badge-top-left {
        left: -5px;
        top: 10px;
    }

    .badge-bottom-right {
        right: -5px;
        bottom: 60px;
    }

    .floating-circle-img {
        width: 130px;
        height: 130px;
        left: -20px;
        bottom: -20px;
        border-width: 5px;
    }

    /* About Section */
    .about {
        padding: 60px 0;
    }

    .about-visuals {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }

    .about-card {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100%;
    }

    .card-img-1 {
        height: 320px;
    }

    .card-quote {
        padding: 30px;
    }

    .card-img-2 {
        height: 250px;
    }

    .card-faculty {
        margin-top: -30px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 15px 20px;
    }

    .card-faculty::before {
        display: none;
    }

    /* Classroom Teaser */
    .polaroid-stack {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 50px;
    }

    .polaroid {
        transform: none !important;
        width: 280px;
    }

    /* Why Choose Section */
    .why-choose {
        padding: 60px 0;
    }

    .why-choose::before {
        width: 100%;
        height: 50%;
        /* Only cover top half or reset */
        clip-path: none;
        opacity: 0.5;
        background: #fdfbff;
    }

    .why-choose .section-desc {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .stats-row {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    .btn-excellence {
        margin-left: auto;
        margin-right: auto;
    }

    .benefits-grid {
        flex-direction: column;
        margin-top: 50px;
    }

    .benefit-col.col-2 {
        margin-top: 0;
    }

    .benefit-card {
        padding: 30px;
    }

    /* Grid Resets */
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .grid-bottom {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 30px;
    }

    .success-stories .stories-grid {
        grid-template-columns: 1fr;
    }

    /* Sections */
    .section-title {
        font-size: 2rem !important;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        gap: 15px;
    }

    /* Other */
    .rating-split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .rating-right {
        border-left: none;
        padding-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        padding: 60px 0 30px;
    }


}

/* Mobile Devices (576px) */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-hero-frame {
        max-width: 280px;
        height: 350px;
    }

    .floating-circle-img {
        width: 120px;
        height: 120px;
    }

    .uk-accredited-tag {
        font-size: 0.8rem;
        padding: 8px 15px;
        right: 0;
        bottom: -20px;
    }

    .about-content .section-title {
        font-size: 1.8rem;
    }

    .hero-footer-text {
        font-size: 0.9rem;
    }
}



/* ==========================================================================
   Why Choose D' MOKA - Premium Full-Width White Section
   ========================================================================== */
.why-choose {
    background-color: #ffffff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    color: #1a1438;
    font-family: 'Outfit', sans-serif;
    width: 100%;
    display: block;
}

/* Suble Dot Pattern Background */
.why-choose::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(140, 48, 245, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* Softened Background Glowing Effects */
.wc-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.wc-glow-1 {
    background: var(--primary);
    top: -150px;
    left: -150px;
    animation: wcFloat 15s ease-in-out infinite alternate;
}

.wc-glow-2 {
    background: #ff007f;
    bottom: -150px;
    right: -150px;
    animation: wcFloat 18s ease-in-out infinite alternate-reverse;
}

.wc-glow-3 {
    background: #00c3ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    opacity: 0.03;
}

@keyframes wcFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(40px, 40px) scale(1.1) rotate(10deg);
    }
}

.why-choose .container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Header ─────────────────────────────────────── */
.wc-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.wc-tag {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(140, 48, 245, 0.08);
    border: 1px solid rgba(140, 48, 245, 0.15);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.wc-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1438;
}

.wc-accent {
    background: linear-gradient(90deg, var(--primary) 0%, #ff007f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 800;
}

.wc-subtitle {
    font-size: 1.1rem;
    color: #555577;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* ── Feature Cards Grid ─────────────────────────── */
.wc-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
    width: 100%;
}

.wc-card {
    background: #ffffff;
    border: 1px solid #f0eeff;
    border-radius: 28px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    box-shadow: 0 10px 30px rgba(140, 48, 245, 0.03);
}

.wc-card:hover {
    transform: translateY(-10px);
    border-color: rgba(140, 48, 245, 0.15);
    box-shadow: 0 25px 50px rgba(140, 48, 245, 0.08);
}

.wc-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: #1a1438;
    line-height: 1.3;
}

.wc-card p {
    font-size: 0.95rem;
    color: #555577;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ── Card Icons ─────────────────────────────────── */
.wc-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.wc-icon-purple {
    background: rgba(140, 48, 245, 0.1);
    color: var(--primary);
}

.wc-icon-green {
    background: rgba(0, 180, 120, 0.08);
    color: #00b478;
}

.wc-icon-blue {
    background: rgba(0, 180, 240, 0.08);
    color: #00b4f0;
}

.wc-icon-orange {
    background: rgba(255, 106, 0, 0.08);
    color: #ff6a00;
}

/* ── Footer Elements ────────────────────────────── */
.wc-card-footer {
    padding-top: 25px;
    margin-top: auto;
    border-top: 1px solid #f0eeff;
}

.wc-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(140, 48, 245, 0.07);
    padding: 7px 16px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(140, 48, 245, 0.12);
}

/* ── Stats Bar ──────────────────────────────────── */
.wc-stats-bar {
    background: #ffffff;
    border: 1px solid #ede8f8;
    border-radius: 30px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(140, 48, 245, 0.05);
}

.wc-stat {
    display: flex;
    flex-direction: column;
}

.wc-stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #1a1438, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.wc-stat-label {
    font-size: 0.85rem;
    color: #777799;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 600;
}

.wc-stat-divider {
    width: 1px;
    height: 60px;
    background: #ede8f8;
}

.wc-cta-wrap {
    flex-shrink: 0;
}

.wc-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(140, 48, 245, 0.2);
}

.wc-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 0, 127, 0.3);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1200px) {
    .wc-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .why-choose {
        padding: 80px 0;
    }

    .wc-cta-wrap {
        width: 100%;
    }
}

/* ==========================================================================
   Enquiry Popup Form — Premium UI
   ========================================================================== */

/* Overlay */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 20, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Container */
.popup-container {
    background: #ffffff;
    border-radius: 28px;
    display: flex;
    max-width: 900px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.popup-overlay.active .popup-container {
    transform: translateY(0) scale(1);
}

/* Close button */
.popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f5f2fb;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(100deg);
}

/* ── Left Decorative Panel ──────────────────────── */
.popup-deco {
    width: 320px;
    min-width: 320px;
    background: linear-gradient(135deg, #2a0845 0%, var(--primary) 50%, #6441a5 100%);
    color: #fff;
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.popup-deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.popup-deco-circle-1 {
    width: 250px;
    height: 250px;
    background: #ff007f;
    top: -80px;
    right: -60px;
}

.popup-deco-circle-2 {
    width: 180px;
    height: 180px;
    background: #8c30f5;
    bottom: -50px;
    left: -40px;
}

.popup-deco-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-deco-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 700;
}

.popup-deco-text {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 30px;
}

.popup-deco-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

.popup-deco-stars i {
    color: #ffd700;
    font-size: 0.8rem;
}

.popup-deco-stars span {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 8px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* ── Right Form Area ────────────────────────────── */
.popup-form-area {
    flex: 1;
    padding: 45px 40px;
    overflow-y: auto;
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: #1a1438;
    margin-bottom: 6px;
    font-weight: 700;
}

.popup-subtitle {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 28px;
}

/* Form fields */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .popup-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.popup-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1438;
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}

.popup-field label i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 0.78rem;
}

.popup-field input,
.popup-field select,
.popup-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e8e4f0;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    color: #1a1438;
    background: #fcfaff;
    transition: all 0.3s ease;
    outline: none;
}

.popup-field input:focus,
.popup-field select:focus,
.popup-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(140, 48, 245, 0.08);
    background: #fff;
}

.popup-field input::placeholder,
.popup-field textarea::placeholder {
    color: #b0a8c0;
}

.popup-field textarea {
    resize: vertical;
    min-height: 80px;
}

/* Phone group */
.popup-phone-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.popup-flag-wrapper {
    position: relative;
    width: 65px;
    height: 48px;
    background: #fcfaff;
    border: 1.5px solid #e8e4f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.popup-flag-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(140, 48, 245, 0.08);
    background: #fff;
}

#selected-flag {
    width: 24px;
    height: auto;
    border-radius: 2px;
    object-fit: contain;
}

.popup-country-select {
    display: none;
}

.flag-chevron {
    position: absolute;
    right: 8px;
    font-size: 0.65rem;
    color: #b0a8c0;
    pointer-events: none;
    z-index: 1;
}

.popup-flag-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 65px;
    background: #fff;
    border: 1.5px solid #e8e4f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(26, 20, 56, 0.1);
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    scrollbar-width: none;
    /* Hide scrollbar for cleaner look */
}

.popup-flag-options::-webkit-scrollbar {
    display: none;
}

.popup-flag-options.active {
    display: block;
    animation: popupSlideIn 0.25s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flag-option {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flag-option:hover {
    background: #fcfaff;
}

.flag-option.selected {
    background: rgba(140, 48, 245, 0.05);
}

.flag-option img {
    width: 24px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.popup-phone-group input {
    flex: 1;
    min-width: 0;
}

/* Course select */
.popup-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238c30f5' d='M6 8.825L.35 3.175l.7-.7L6 7.4l4.95-4.925.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px !important;
}

/* Submit button */
.popup-submit {
    width: 100%;
    padding: 16px 30px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 50%, var(--secondary) 100%);
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(140, 48, 245, 0.25);
    margin-top: 6px;
}

.popup-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(140, 48, 245, 0.4);
}

.popup-submit-text,
.popup-submit-arrow,
.popup-submit-loader {
    color: #ffffff !important;
}

.popup-submit-arrow {
    transition: transform 0.3s ease;
}

.popup-submit:hover .popup-submit-arrow {
    transform: translateX(5px);
}

/* Privacy note */
.popup-privacy {
    text-align: center;
    font-size: 0.78rem;
    color: #999;
    margin-top: 4px;
}

.popup-privacy i {
    color: #00b478;
    margin-right: 4px;
}

/* Success state */
.popup-form-area.popup-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
}

.popup-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b478, #00e68c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    animation: popupBounce 0.6s ease;
}

@keyframes popupBounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.popup-success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1a1438;
    margin-bottom: 10px;
}

.popup-success-text {
    font-size: 1rem;
    color: #777;
    max-width: 300px;
    line-height: 1.6;
}

/* Shake animation for errors */
@keyframes popupShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-6px);
    }

    40%,
    80% {
        transform: translateX(6px);
    }
}

.popup-field-error input,
.popup-field-error select,
.popup-field-error textarea {
    border-color: #ff4d4d !important;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .popup-container {
        flex-direction: column;
        max-height: 95vh;
    }

    .popup-deco {
        display: none;
    }

    .popup-form-area {
        padding: 35px 25px;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .popup-phone-group {
        flex-direction: column;
    }

    .popup-country-select {
        width: 100% !important;
        min-width: unset !important;
    }

    .popup-close {
        top: 12px;
        right: 12px;
    }
}