* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #06d6d0;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --dark-text: #2d3748;
    --light-text: #718096;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 30px rgba(102, 126, 234, 0.2);
    --announce-height: 40px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

/* ===== Top Announcement Bar ===== */
.top-announcement {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--announce-height);
    background: linear-gradient(90deg, rgba(102,126,234,0.95), rgba(118,75,162,0.95));
    color: #fff;
    z-index: 1100;
    display: flex;
    align-items: center;
}
.top-announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.announce-icon { font-size: 1.05rem; color: #fff; }
.announce-marquee { overflow: hidden; flex: 1; }
.announce-track {
    display: inline-flex;
    gap: 3rem;
    animation: announceScroll 18s linear infinite;
}
.announce-track span { white-space: nowrap; font-weight: 600; }
@keyframes announceScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: var(--announce-height);
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.8rem;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}
.logo span {
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1;
    color: #fff;
}
.logo-circle {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background-color: #ffffff;
    padding: 0;
    flex-shrink: 0;
}
.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Nav Links ===== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    flex-shrink: 1;
    animation: slideInRight 0.6s ease;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links li > a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Admission button */
.btn-admit {
    padding: 0.5rem 1rem;
    border-radius: 28px;
    background: #ff6b6b;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(255,107,107,0.18);
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.88rem;
    transition: var(--transition);
}
.btn-admit:hover { transform: translateY(-3px); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Dropdown ===== */
.nav-links .dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links .dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
    padding: 0;
}

.nav-links .dropdown > a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 100%;
    width: calc(100% + 20px);
    height: 26px;
    background: transparent;
    display: none;
    z-index: 999;
}
.nav-links .dropdown.dropdown-open > a::before { display: block; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    min-width: 210px;
    z-index: 1200;
    overflow: hidden;
    animation: dropFade 0.2s ease;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top: none;
    border-bottom-color: #fff;
}

@keyframes dropFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-links .dropdown.dropdown-open .dropdown-menu { display: block; }

.dropdown-menu a {
    display: block;
    padding: 0.85rem 1.4rem;
    color: #1a202c !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
    border-bottom: 1px solid #f0f4ff;
    white-space: nowrap;
    line-height: 1.4;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:first-child { color: #667eea !important; background: #f5f7ff; font-weight: 700; }
.dropdown-menu a:hover { background: linear-gradient(90deg, #667eea, #764ba2); color: #fff !important; padding-left: 1.8rem; }
.dropdown-menu a::after { display: none !important; }

/* ===== Hero Section ===== */
.hero {
    margin-top: calc(70px + var(--announce-height));
    min-height: calc(100vh - (70px + var(--announce-height)));
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem;
    box-shadow: inset 0 0 100px rgba(102, 126, 234, 0.08);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideInLeft 0.8s ease;
}
.hero-text p {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease 0.1s both;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease 0.2s both;
}

.trusted-students { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; }
.trusted-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
}
.trusted-text { color: var(--dark-text); font-weight: 700; }

/* ===== Hero Image — big rectangle, no circle, no bounce ===== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
    animation: none;
}

.hero-image-circle {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
    border: 3px solid #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
}

.hero-image-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

/* ===== SVG Background ===== */
.svg-background {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

/* ===== Poster Section ===== */
.poster-section {
    position: relative;
    padding: 2rem 0;
    background: var(--light-bg);
    overflow: hidden;
}
.poster-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 1rem;
}
.poster-svg {
    display: block; width: 100%; height: auto;
    border-radius: 12px; overflow: visible;
}
.poster-svg .svg-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px; font-weight: 700; fill: #ffffff;
}
.poster-svg .svg-sub {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px; fill: #ffffff; opacity: 0.95;
}
.poster-svg .svg-image {
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.18));
    border-radius: 8px;
}
.poster-svg .float { animation: floatAnim 6s ease-in-out infinite; }
@keyframes floatAnim {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

/* ===== Container & Sections ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 2rem; }

.section-title {
    font-size: 2.5rem; font-weight: 800;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: expandWidth 0.8s ease;
}
@keyframes expandWidth { from { width: 0; } to { width: 100px; } }

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

/* ===== About Section ===== */
.about { background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text h3 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--dark-text); }
.about-text p  { color: var(--light-text); margin-bottom: 1.5rem; line-height: 1.8; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.stat:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2); }
.stat h4 { font-size: 2rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.stat p  { color: var(--light-text); margin: 0; }
.stat h4.counter { font-size: 2rem; color: var(--primary-color); margin-bottom: 0.5rem; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.feature-card {
    background: var(--white);
    padding: 2rem; border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(102, 126, 234, 0.2); }
.feature-card i   { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.feature-card h4  { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p   { color: var(--light-text); margin: 0; }

/* ===== Programs Section ===== */
.programs { background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%); }

.view-all-wrapper { text-align: center; margin-top: 1rem; margin-bottom: 2.5rem; }
.view-all-wrapper .btn-secondary {
    background: var(--secondary-color);
    color: #000000;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.education-cards .education-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.education-cards .education-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.education-cards .education-card .card-body p { flex: 1; }
.education-cards .education-card .card-actions {
    margin-top: auto;
    padding-top: 0.75rem;
}
.education-cards .education-card .card-actions .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 40px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.education-cards .education-card .card-actions .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
}

.education-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16,24,40,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}
.education-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(102,126,234,0.12); }
.education-card .card-image { height: 160px; overflow: hidden; }
.education-card .card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.education-card .card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.education-card h3 { margin: 0; font-size: 1.15rem; }
.card-meta { list-style: none; padding: 0; margin: 0 0 0.6rem 0; color: var(--light-text); font-size: 0.95rem; }
.card-actions { margin-top: auto; display: flex; gap: 0.75rem; align-items: center; justify-content: flex-start; }

/* ===== Features Section ===== */
.features {
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(240,246,255,0.9) 100%);
    position: relative;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.feature-item { text-align: center; padding: 2rem; transition: var(--transition); }
.feature-item:hover { transform: translateY(-10px); }
.feature-icon {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--white);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    animation: rotateIcon 3s infinite linear;
}
@keyframes rotateIcon { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.feature-item:nth-child(2) .feature-icon { animation-delay: 0.1s; }
.feature-item:nth-child(3) .feature-icon { animation-delay: 0.2s; }
.feature-item h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--dark-text); }
.feature-item p  { color: var(--light-text); line-height: 1.8; }

/* ===== Education Section ===== */
.education-section { background: linear-gradient(135deg, #fff 0%, #f8fbff 100%); }
.education-section .education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.education-section .education-card {
    position: relative;
    overflow: visible;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.95));
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(14,30,80,0.06);
    border: 1px solid rgba(118,75,162,0.06);
}
.education-section .education-card::before {
    content: '';
    position: absolute; right: -28px; top: -28px;
    width: 210px; height: 140px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 160'><defs><linearGradient id='g1' x1='0' x2='1'><stop offset='0' stop-color='%23667eea' stop-opacity='0.20'/><stop offset='1' stop-color='%23764ba2' stop-opacity='0.14'/></linearGradient></defs><path d='M10,70 C50,10 100,10 150,50 C190,85 230,105 230,140 L0,140 Z' fill='url(%23g1)'/></svg>");
    background-repeat: no-repeat; background-size: cover;
    filter: blur(6px) saturate(1.12) opacity(0.95);
    animation: floatSlow 8s ease-in-out infinite;
    pointer-events: none;
}
.education-section .education-card::after {
    content: '';
    position: absolute; left: -36px; bottom: -30px;
    width: 160px; height: 120px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140'><defs><linearGradient id='g2' x1='0' x2='1'><stop offset='0' stop-color='%2306d6d0' stop-opacity='0.08'/><stop offset='1' stop-color='%23764ba2' stop-opacity='0.06'/></linearGradient></defs><path d='M0,80 C30,40 80,20 130,40 C170,58 200,80 200,110 L0,110 Z' fill='url(%23g2)'/></svg>");
    background-repeat: no-repeat; background-size: cover;
    filter: blur(5px) opacity(0.9);
    animation: floatSlow 10s ease-in-out infinite reverse;
    pointer-events: none;
}
@keyframes floatSlow {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(-6px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
.education-section .education-card .card-header {
    display: inline-block;
    background: linear-gradient(90deg, #667eea22, #764ba222);
    padding: 0.35rem 0.8rem;
    border-radius: 10px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.education-section .education-card h3 { margin-top: 0.25rem; margin-bottom: 0.6rem; }
.education-section .education-card p  { color: var(--light-text); line-height: 1.75; }
.education-card a { text-decoration: none; }

/* ===== Education Card Image ===== */
.education-section .edu-card-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}
.education-section .edu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.education-section .education-card:hover .edu-card-image img {
    transform: scale(1.05);
}

/* ===== Certificate Section ===== */
.certificate-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: center;
}
.certificate-text h2  { margin-bottom: 1rem; }
.certificate-points   { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.certificate-points li {
    margin-bottom: 0.8rem;
    color: var(--light-text);
    display: flex; gap: 0.6rem; align-items: center;
}
.certificate-points li i.fa-check-circle { color: #06d6d0; font-size: 1.1rem; }
.certificate-image img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-md); }

.cert-banner { margin-bottom: 2rem; border-radius: 12px; overflow: hidden; }

.cert-badges {
    display: flex; gap: 1.25rem;
    align-items: center; margin: 1.2rem 0 1.5rem;
    flex-wrap: wrap;
}
.cert-badge-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.3rem;
    cursor: default; transition: transform 0.25s ease;
}
.cert-badge-item:hover { transform: translateY(-4px); }
.cert-badge-item span {
    font-size: 0.75rem; font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.cert-img-frame { position: relative; display: inline-block; width: 100%; }
.cert-frame-svg {
    position: absolute; top: -12px; left: -12px;
    width: calc(100% + 24px); height: calc(100% + 24px);
    pointer-events: none; z-index: 1;
}
.cert-img-frame img {
    width: 100%; border-radius: 12px;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
    display: block; position: relative; z-index: 0;
}
.cert-img-frame .cert-frame-svg rect {
    stroke-dashoffset: 0;
    animation: dashAnim 8s linear infinite;
}
@keyframes dashAnim { to { stroke-dashoffset: -200; } }

/* ===== Partners Marquee ===== */
.partners-section { padding: 1.25rem 0; background: transparent; }
.partners-marquee  { overflow: hidden; }
.partners-track {
    display: flex; gap: 2.5rem;
    align-items: center;
    animation: partnersScroll 18s linear infinite;
}
.partner {
    display: flex; gap: 0.6rem; align-items: center;
    background: #fff; padding: 0.5rem 0.8rem;
    border-radius: 8px; box-shadow: var(--shadow-sm);
}
.partner img { width: 80px; height: 40px; object-fit: contain; }
.partner span { font-weight: 600; color: var(--dark-text); }
@keyframes partnersScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-40%); } }

/* ===== Testimonials Section ===== */
.testimonials { background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%); }

.testimonials-nav { display: none !important; }
.testimonials-wrapper { overflow: visible; position: relative; }

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    transform: none !important;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 5px solid var(--accent-color);
    position: relative;
    display: flex;
    flex-direction: column;
}
.testimonial-card::before {
    content: '"';
    position: absolute; top: -10px; left: 20px;
    font-size: 3rem; color: var(--primary-color); opacity: 0.3;
}
.testimonial-card:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2); }
.stars { color: #ffc107; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-card p { color: var(--dark-text); margin-bottom: 1.5rem; line-height: 1.8; font-style: italic; }
.testimonial-author { display: flex; gap: 1rem; align-items: center; }
.author-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.8rem;
}
.testimonial-author h4 { margin: 0; font-size: 1rem; color: var(--dark-text); }
.testimonial-author p  { margin: 0; font-size: 0.85rem; color: var(--light-text); font-style: normal; }

/* ===== Testimonial Video with mute toggle ===== */
.testimonial-video {
    margin-top: 1.2rem;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-video video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #000;
    border-radius: 10px;
}

.vid-mute-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.vid-mute-btn:hover {
    background: rgba(102, 126, 234, 0.85);
    transform: scale(1.1);
}

/* ===== Old video card (kept for transform section) ===== */
.video-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.video-card:hover { transform: translateY(-15px); box-shadow: var(--shadow-lg); }
.video-container { width: 100%; position: relative; overflow: hidden; background: #000; }
.video-container video {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border: none;
    display: block;
    background: #000;
}
.video-info { padding: 1.5rem; }
.video-info h3 { font-size: 1.2rem; color: var(--dark-text); margin-bottom: 0.5rem; }
.video-info p  { color: var(--light-text); font-size: 0.95rem; line-height: 1.6; }

/* ===== CTA Section ===== */
.cta-section {
    position: relative; overflow: visible;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}
.cta-section::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 100%;
    background:
        linear-gradient(135deg, rgba(255,107,107,0.08) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(102,126,234,0.05) 0%, transparent 60%);
    z-index: 0; pointer-events: none;
}
.cta-section .cta-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 900px; margin: 0 auto;
}
.cta-section .cta-content h2 {
    font-size: 2.8rem; margin-bottom: 0.8rem;
    color: #ff6b6b; font-weight: 900;
    text-shadow: 0 2px 8px rgba(255,107,107,0.15);
}
.cta-section .cta-content p { font-size: 1.15rem; color: #555; margin-bottom: 2rem; line-height: 1.6; }
.btn-large {
    padding: 1.3rem 3.5rem; font-size: 1.15rem; font-weight: 800;
    border-radius: 50px; box-shadow: 0 12px 32px rgba(255,107,107,0.3);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; position: relative; overflow: hidden; transition: all 0.4s ease;
}
.cta-enroll {
    position: relative; overflow: visible;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: #ffffff;
}
.cta-enroll:hover { transform: translateY(-6px) scale(1.05); box-shadow: 0 20px 50px rgba(255,107,107,0.4); }
.cta-enroll::before {
    content: '';
    position: absolute; left: -40%; top: 0;
    height: 100%; width: 40%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg); transition: transform 0.9s ease; pointer-events: none;
}
.cta-enroll:hover::before { transform: translateX(300%) skewX(-20deg); }
.cta-enroll .cta-arrow { margin-left: 12px; transition: transform 0.25s ease; }
.cta-enroll:hover .cta-arrow { transform: translateX(6px); }
.cta-enroll .cta-pulse { display: none; }

/* ===== Transform Section ===== */
.transform-section { background: linear-gradient(135deg, #fbfbff, #f0f6ff); }
.transform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.transform-card {
    background: #fff; border-radius: 12px;
    padding: 1rem; box-shadow: var(--shadow-md);
    cursor: pointer; transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.transform-card:hover  { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.transform-card.active { transform: scale(1.03); box-shadow: 0 20px 50px rgba(102,126,234,0.18); }
.transform-card .card-image { border-radius: 8px; overflow: hidden; margin-bottom: 0.75rem; }
.transform-card .card-image video {
    width: 100%; height: 200px;
    object-fit: cover; display: block; background: #000;
    border-radius: 8px;
}

/* ===== Contact Section ===== */
.contact { background: linear-gradient(135deg, var(--white) 0%, #f0f4ff 100%); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
    display: flex; gap: 1.5rem;
    padding: 1.5rem; background: var(--white);
    border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition); border-left: 4px solid var(--primary-color);
}
.contact-item:hover { transform: translateX(10px); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15); }
.contact-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem; flex-shrink: 0;
}
.contact-item h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.contact-item p  { color: var(--light-text); margin: 0; }
.contact-form {
    background: var(--white); padding: 2.5rem;
    border-radius: 15px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: flex; flex-direction: column; gap: 1.5rem;
}
.form-group { display: flex; flex-direction: column; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1rem; border: 2px solid var(--border-color);
    border-radius: 8px; font-family: inherit; font-size: 1rem;
    transition: var(--transition); background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.contact-form input::placeholder { color: #a0aec0; }
.contact-form button { width: 100%; margin-top: 0.5rem; }

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.footer-section h3, .footer-section h4 { color: var(--accent-color); margin-bottom: 1rem; }
.footer-section h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; }
.footer-section p  { color: #cbd5e0; line-height: 1.8; margin-bottom: 1rem; }
.footer-section ul li { margin-bottom: 0.7rem; }
.footer-section ul li a {
    color: #cbd5e0; text-decoration: none;
    transition: var(--transition);
    display: flex; align-items: center; gap: 0.5rem;
}
.footer-section ul li a::before { content: '→'; color: var(--accent-color); opacity: 0; transition: var(--transition); }
.footer-section ul li a:hover::before { opacity: 1; transform: translateX(5px); }
.footer-section ul li a:hover { color: var(--accent-color); }

.footer-logo-circle {
    width: 38px; height: 38px;
    border-radius: 50%; overflow: hidden;
    border: 2px solid var(--accent-color);
    flex-shrink: 0;
    display: inline-block; vertical-align: middle; margin-right: 0.4rem;
}
.footer-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

.footer-contact-row .footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-contact-row .footer-contact-items p {
    margin: 0;
    color: #cbd5e0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    white-space: normal;
}
.footer-contact-row .footer-contact-items p i { color: var(--accent-color); flex-shrink: 0; }

.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(6, 214, 208, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-color); transition: var(--transition); text-decoration: none;
}
.social-links a:hover { background: var(--accent-color); color: #2d3748; transform: translateY(-3px); }

.footer-bottom {
    text-align: center; padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    max-width: 1200px; margin: 0 auto;
}
.footer-bottom a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== Floating WhatsApp ===== */
.floating-whatsapp {
    position: fixed; margin-left: 18px; bottom: 50px;
    background: #25D366; color: #fff;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; box-shadow: 0 8px 24px rgba(37,211,102,0.2);
    z-index: 2000; text-decoration: none;
}
.floating-whatsapp i { font-size: 1.7em; }
.scroll-top { display: none !important; }

/* ===== Buttons ===== */
.btn {
    padding: 0.8rem 2.5rem;
    border: none; border-radius: 50px;
    font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.btn:link, .btn:visited { text-decoration: none; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white); box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6); }
.btn-secondary {
    background: var(--white); color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover { background: var(--light-bg); transform: translateY(-3px); }
.btn-outline {
    background: transparent; color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.6rem 2rem;
}
.btn-outline:hover { background: var(--primary-color); color: var(--white); }
.card-actions .btn { text-decoration: none; }
.card-actions .btn-primary { padding: 0.9rem 1.25rem; border-radius: 40px; }
.card-actions .btn-outline  { padding: 0.8rem 1.25rem; border-radius: 40px; }

/* ===== Modal ===== */
.modal {
    display: none; position: fixed;
    z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease; overflow-y: auto;
}
.modal-content {
    background-color: var(--white);
    margin: 5% auto; padding: 2.5rem;
    border-radius: 15px; width: 90%; max-width: 600px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease; position: relative;
}
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-content h2 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.8rem; }
.modal-content > p { color: var(--light-text); margin-bottom: 1.5rem; font-size: 1rem; }
.close { color: var(--light-text); float: right; font-size: 28px; font-weight: bold; cursor: pointer; transition: var(--transition); }
.close:hover { color: var(--primary-color); }
.modal-form { display: flex; flex-direction: column; gap: 1.5rem; }
.modal-form .form-group { display: flex; flex-direction: column; }
.modal-form label { color: var(--dark-text); font-weight: 600; margin-bottom: 0.5rem; font-size: 0.95rem; }
.required { color: #e53e3e; }

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; margin-bottom: 2rem;
}
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: 15px; height: 250px;
    box-shadow: var(--shadow-md); cursor: pointer; background: var(--white);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 2rem;
    opacity: 0; transition: var(--transition); color: var(--white);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.gallery-overlay p  { font-size: 0.95rem; opacity: 0.9; }

/* ===== Team section ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-portrait-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex; flex-direction: column; align-items: center;
    padding: 2rem 1.5rem 1.8rem;
    border: 1px solid rgba(102, 126, 234, 0.08); text-align: center;
}
.team-portrait-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(102, 126, 234, 0.18); }
.team-portrait-wrap {
    width: 100%; height: 340px; border-radius: 14px; overflow: hidden;
    margin-bottom: 1.4rem;
    background: linear-gradient(160deg, #eef2ff 60%, #dde4ff 100%);
    display: flex; align-items: flex-end; justify-content: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
    border: 2px solid rgba(102, 126, 234, 0.10); position: relative;
}
.team-portrait-wrap img { width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: bottom center; display: block; }
.team-portrait-card h4 { font-size: 1.15rem; font-weight: 700; color: var(--dark-text); margin: 0 0 0.45rem; }
.team-portrait-card .role-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(102,126,234,0.13), rgba(118,75,162,0.13));
    color: var(--primary-color); font-weight: 600; font-size: 0.85rem;
    padding: 0.3rem 0.9rem; border-radius: 20px; margin-bottom: 0.9rem;
}
.team-portrait-card .team-divider {
    width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px; margin: 0 auto;
}

/* ===== Animations ===== */
.fade-in { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft  { from { transform: translateX(-100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(100px);  opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary-color); }

/* ===== Responsive ===== */
@media (max-width: 1350px) {
    .logo span   { font-size: 1rem; }
    .nav-links   { gap: 0.9rem; }
    .nav-links a { font-size: 0.85rem; }
    .btn-admit   { font-size: 0.82rem; padding: 0.45rem 0.8rem; }
}
@media (max-width: 1200px) {
    .logo span   { font-size: 0.9rem; }
    .logo-circle { width: 48px; height: 48px; min-width: 48px; }
    .nav-links   { gap: 0.7rem; }
    .nav-links a { font-size: 0.8rem; }
    .certificate-grid { grid-template-columns: 1fr; }
    .about-content    { grid-template-columns: 1fr; }
    .about-features   { grid-template-columns: 1fr; }
    .contact-wrapper  { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-image   { display: none; }
    .section-title { font-size: 2rem; }
}
@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .poster-svg .svg-title { font-size: 24px; }
    .poster-svg .svg-sub   { font-size: 14px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(10px, 10px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
    .nav-links.active {
        display: flex; flex-direction: column;
        position: absolute; top: 70px; left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        padding: 2rem; gap: 1.5rem;
        animation: slideDownMobile 0.3s ease;
    }
    @keyframes slideDownMobile { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
    .dropdown-menu {
        position: static; transform: none;
        box-shadow: none; border-radius: 8px;
        margin-top: 0.5rem;
        border: 1px solid rgba(255,255,255,0.2);
    }
    .dropdown-menu::before { display: none; }
    .dropdown-menu a { color: #fff !important; background: rgba(255,255,255,0.1); }
    .dropdown-menu a:first-child { background: rgba(255,255,255,0.2); }
    .dropdown-menu a:hover { background: rgba(255,255,255,0.3); padding-left: 1.8rem; }

    section { padding: 3rem 1.5rem; }
    .hero { margin-top: 70px; min-height: auto; padding: 3rem 1.5rem; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text p  { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .about-stats { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr !important; }
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .section-title::after { width: 60px; }
    .floating-whatsapp { margin-left: 14px; bottom: 50px; }
    .video-container video { height: 220px; }
    .testimonial-video video { height: 160px; }
    .gallery-item { height: 200px; }
    .modal-content { width: 95%; margin: 20% auto; padding: 1.5rem; }
    .team-grid { grid-template-columns: 1fr; }
    .team-portrait-wrap { height: 280px; }
    .education-section .education-card::before { display: none; }
    .education-section .education-grid { grid-template-columns: 1fr; }
    .education-section .edu-card-image { height: 160px; }
}
@media (max-width: 580px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-portrait-wrap { height: 280px; }
}
@media (max-width: 480px) {
    .logo span { display: none; }
    .nav-container { padding: 0 1rem; }
    .hero-text h1 { font-size: 1.5rem; }
    .hero-text p  { font-size: 0.9rem; }
    .section-title { font-size: 1.3rem; margin-bottom: 2rem; }
    .feature-card { padding: 1.5rem; }
    .contact-form { padding: 1.5rem; }
    .contact-item { padding: 1rem; flex-direction: column; align-items: flex-start; }
    .contact-icon { width: 50px; height: 50px; font-size: 1.2rem; }
    .testimonial-card { padding: 1.5rem; }
    .cert-badges { gap: 0.75rem; }
    .footer-contact-row .footer-contact-items { flex-direction: column; }
    .testimonial-video video { height: 140px; }
    .vid-mute-btn { width: 30px; height: 30px; font-size: 0.8rem; }
}

/* ===== Auto Enquiry Popup ===== */
.enq-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(3px);
    animation: enqFadeIn 0.3s ease;
}
.enq-overlay.active { display: flex; }

@keyframes enqFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.enq-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.2rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    animation: enqSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes enqSlideUp {
    from { transform: translateY(60px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.enq-close {
    position: absolute;
    top: 1rem; right: 1.2rem;
    background: #f3f4f6;
    border: none;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: #6b7280;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}
.enq-close:hover { background: #fee2e2; color: #ef4444; transform: rotate(90deg); }

.enq-header { text-align: center; margin-bottom: 1.8rem; }
.enq-header-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #667eea, #06d6d0);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.5rem; color: #fff;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}
.enq-header h2 {
    font-size: 1.6rem; font-weight: 800;
    color: #1a202c; margin-bottom: 0.3rem;
}
.enq-header p { color: #718096; font-size: 0.95rem; }

.enq-form { display: flex; flex-direction: column; gap: 1rem; }

.enq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.enq-group { display: flex; flex-direction: column; gap: 0.4rem; }
.enq-full  { grid-column: 1 / -1; }

.enq-group label {
    font-size: 0.9rem; font-weight: 600;
    color: #374151;
}

.enq-group input,
.enq-group select,
.enq-group textarea {
    padding: 0.85rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a202c;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}
.enq-group input:focus,
.enq-group select:focus,
.enq-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}
.enq-group input::placeholder,
.enq-group textarea::placeholder { color: #9ca3af; }
.enq-group textarea { resize: vertical; min-height: 90px; }
.enq-group select { cursor: pointer; }

.enq-submit {
    margin-top: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #06d6d0);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
    letter-spacing: 0.5px;
}
.enq-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(102, 126, 234, 0.45);
}
.enq-submit:active { transform: translateY(0); }

.enq-modal::-webkit-scrollbar { width: 6px; }
.enq-modal::-webkit-scrollbar-thumb { background: #667eea; border-radius: 3px; }

@media (max-width: 600px) {
    .enq-modal { padding: 1.5rem 1.2rem; }
    .enq-row   { grid-template-columns: 1fr; }
    .enq-header h2 { font-size: 1.3rem; }
}
/* ===== Fix testimonial video play overlay ===== */
.testimonial-video {
    margin-top: 1.2rem;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-video video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #000;
    border-radius: 10px;
    /* hide default browser controls */
    pointer-events: none;
}

.vid-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s ease;
    z-index: 5;
}

.vid-play-overlay:hover {
    background: rgba(0, 0, 0, 0.45);
}

.vid-play-btn {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-left: 4px; /* optical center for play icon */
}

.vid-play-overlay:hover .vid-play-btn {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(102,126,234,0.5);
}

.vid-mute-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.vid-mute-btn:hover {
    background: rgba(102, 126, 234, 0.85);
    transform: scale(1.1);
}