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

:root {
    --primary-blue: #4a90e2;
    --dark-blue: #357abd;
    --light-blue: #e6f0ff;
    --primary-red: #dc3545;
    --dark-red: #b02a37;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--dark-gray);
    font-size: 1.05rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 1rem;
}

.navbar .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.55rem 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-links li {
    min-width: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    text-align: center;
    line-height: 1.2;
    overflow-wrap: anywhere;
    transition: color 0.3s;
}

.nav-links a span,
.nav-links a font {
    white-space: normal !important;
}

.nav-links a:hover {
    color: #d6ecff;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 2.15rem;
    min-height: 54px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(53, 122, 189, 0.16);
}

.btn-primary {
    background: linear-gradient(135deg, #4f93f3 0%, #357abd 100%);
    color: var(--white);
    box-shadow: 0 16px 30px rgba(53, 122, 189, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3f86ec 0%, #2d6fb4 100%);
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(53, 122, 189, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    color: var(--primary-blue);
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 14px 28px rgba(74, 144, 226, 0.14);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f8fbff 0%, #dbeafe 100%);
    color: var(--dark-blue);
    border-color: rgba(53, 122, 189, 0.38);
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(74, 144, 226, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 3px solid rgba(74, 144, 226, 0.25);
    outline-offset: 3px;
}

/* Hero */
.hero {
    position: relative;
    padding: 0;
    background: #081a35;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    min-height: 88vh;
    width: 100%;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.9s ease, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 22, 48, 0.62) 0%, rgba(6, 22, 48, 0.42) 38%, rgba(6, 22, 48, 0.22) 66%, rgba(6, 22, 48, 0.48) 100%),
        linear-gradient(180deg, rgba(10, 30, 61, 0.06) 0%, rgba(10, 30, 61, 0.34) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-content .container {
    width: 100%;
    max-width: none;
    padding-left: 12px;
    padding-right: 20px;
}

.hero-content-card {
    max-width: 720px;
    padding: 2.05rem 2.05rem 1.9rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 60px rgba(7, 20, 44, 0.3);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #f6fbff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1.3rem;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--white);
    line-height: 1.08;
    text-wrap: balance;
    text-shadow: 0 10px 24px rgba(3, 10, 24, 0.45);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.2rem;
    opacity: 0.96;
    max-width: 56ch;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 8px 18px rgba(3, 10, 24, 0.4);
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-actions .btn {
    min-width: 0;
    width: 100%;
    padding-inline: 1.15rem;
    text-align: center;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 28px rgba(7, 20, 44, 0.16);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.hero-slider-dot.active {
    background: var(--white);
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}

.hero .btn,
.videos .btn,
.blog-preview-action .btn,
.test-intro .btn,
.results-container .btn {
    min-width: 220px;
}

.blog-preview-action .btn,
.videos .btn {
    border-radius: 999px;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.card.featured {
    border: 3px solid var(--primary-blue);
    position: relative;
}

/* Videos */
.video-placeholder {
    background: var(--light-gray);
    height: 180px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    margin-bottom: 1rem;
}

.video-player {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Sections - Alternating backgrounds */
.about, .exams, .community, .translation {
    background: var(--light-blue);
}

.founder, .offer, .teachers, .specialized {
    background: var(--white);
}

/* About */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-subtitle {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Founder */
.founder-content {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 2.5rem;
    align-items: center;
}

.founder-image {
    display: flex;
    justify-content: center;
}

.founder-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 3px solid var(--primary-blue);
}

.founder-text p {
    margin-bottom: 1.2rem;
}

/* Mission and Vision */
.mission {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1150px circle at 18% 14%, rgba(74, 144, 226, 0.26) 0%, rgba(74, 144, 226, 0.1) 34%, rgba(247, 250, 255, 0.96) 72%),
        linear-gradient(180deg, #e9f3ff 0%, #dbeaff 46%, #f7fbff 100%);
}

.mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(820px circle at 86% 16%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(980px circle at 18% 88%, rgba(53, 122, 189, 0.14) 0%, rgba(53, 122, 189, 0) 62%);
    pointer-events: none;
}

.mission .container {
    position: relative;
    z-index: 1;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-blue);
}

.mv-title {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Offer */
.offer-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.offer-list li {
    padding: 1rem;
    border-bottom: 1px solid var(--light-blue);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.offer-list li:last-child {
    border-bottom: none;
}

.offer-list li::before {
    content: "✓";
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Exams */
.exams-intro {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-size: 1.15rem;
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.exam-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-8px);
}

.exam-img {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.exam-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.exam-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.exam-card p {
    color: var(--dark-gray);
    font-size: 1rem;
    margin: 0;
}

.exams-outro {
    max-width: 900px;
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Translation Services */
.translation-intro {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-size: 1.15rem;
}

.translation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.translation-card {
    background: var(--white);
    padding: 1.25rem 1.25rem 1.75rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.translation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.translation-icon {
    width: 100%;
    height: 190px;
    background: var(--light-blue);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.12);
}

.translation-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.translation-image-health {
    object-position: 50% 16%;
}

.translation-image-vet {
    object-position: 50% 18%;
}

.translation-image-web {
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    padding: 0.35rem;
}

.translation-card:hover .translation-icon img {
    transform: scale(1.05);
}

.translation-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.translation-card p {
    color: var(--dark-gray);
    font-size: 1rem;
    margin: 0;
}

.translation-outro {
    max-width: 900px;
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: 1.1rem;
}

/* Teachers */
.teachers {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px circle at 14% 10%, rgba(44, 140, 255, 0.18) 0%, rgba(44, 140, 255, 0.07) 34%, rgba(245, 248, 255, 0.96) 72%),
        linear-gradient(180deg, #f6faff 0%, #eef5ff 46%, #f7f9fc 100%);
}

.teachers::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(820px circle at 86% 18%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(980px circle at 18% 86%, rgba(44, 140, 255, 0.1) 0%, rgba(44, 140, 255, 0) 62%);
    pointer-events: none;
}

.teachers .container {
    position: relative;
    z-index: 1;
}

.teachers-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Specialized English */
.specialized-intro {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-size: 1.15rem;
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.specialized-card {
    background: var(--white);
    padding: 1.25rem 1.25rem 1.75rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.specialized-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.specialized-icon {
    width: 100%;
    height: 190px;
    background: var(--light-blue);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.12);
}

.specialized-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.specialized-image-academic {
    object-position: 66% 8%;
}

.specialized-image-engineering {
    object-position: 40% 6%;
}

.specialized-card:hover .specialized-icon img {
    transform: scale(1.05);
}

.specialized-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.specialized-card p {
    color: var(--dark-gray);
    font-size: 1rem;
    margin: 0;
}

.specialized-outro {
    max-width: 900px;
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: 1.1rem;
}



/* Highlight */
.highlight {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.6rem 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 1.15rem;
    margin-top: 1.8rem;
}

/* FAQ */
.faq {
    background: var(--light-gray);
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

/* Test */
.test {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px circle at 18% 12%, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.07) 34%, rgba(245, 248, 255, 0.95) 70%),
        linear-gradient(180deg, #f6f9ff 0%, #eef4ff 45%, #f7f9fc 100%);
}

.test::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px circle at 85% 15%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(900px circle at 15% 85%, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0) 62%);
    pointer-events: none;
}

.test .container {
    position: relative;
    z-index: 1;
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
}

.test-screen {
    display: none;
}

.test-screen.active {
    display: block;
}

.test-intro {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.test-intro h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.test-intro p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.test-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-blue);
    width: 0%;
    transition: width 0.3s ease;
}

.question-counter {
    text-align: center;
    color: var(--gray);
    font-weight: 600;
}

.question-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.question-level {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reading-text {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.answer-option {
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.answer-option:hover {
    background: var(--light-blue);
}

.answer-option.selected {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

#next-question-btn {
    margin-top: 1.5rem;
    width: 100%;
}

.results-container {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

#result-title {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.result-level {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.result-score {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.result-message {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--light-blue);
}

.pricing-card.featured {
    border-color: var(--primary-red);
    box-shadow: 0 12px 45px rgba(220, 53, 69, 0.2);
}

.featured-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-red), #ff5252);
    color: var(--white);
    padding: 0.6rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.plan-icon {
    width: calc(100% + 4rem);
    height: 190px;
    margin: -2.5rem -2rem 1.4rem;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, #eef5ff, #dbeafe);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.plan-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.plan-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 1.2rem;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
}

.plan-period {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
}

.plan-description {
    font-size: 1.05rem;
    color: var(--dark-gray);
    margin: 1.5rem 0;
    line-height: 1.6;
}

.plan-includes {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 1.2rem 0 0.8rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0 1.8rem 0;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: "✓";
    color: var(--primary-blue);
    font-weight: 800;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.plan-extra {
    background: linear-gradient(135deg, var(--light-blue), #e3f2fd);
    padding: 1.1rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 1rem;
}

.plan-payment {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 0.9rem;
    border-radius: 10px;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 0.95rem;
    border: 2px dashed var(--primary-blue);
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
    border-radius: 18px;
}

/* Additional Services */
.services {
    background: var(--light-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 0 2.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.service-icon {
    width: calc(100% + 5rem);
    height: 190px;
    margin: 0 -2.5rem 1.8rem;
    background: linear-gradient(135deg, #eaf3ff, #dbeafe);
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.service-image-exams {
    object-position: center top;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
}

.service-price {
    background: var(--light-blue);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.15rem;
}

.service-price-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    background: linear-gradient(135deg, #4f93f3 0%, #357abd 100%);
    color: var(--white);
    border: 1px solid rgba(53, 122, 189, 0.24);
    border-radius: 18px;
    box-shadow: 0 16px 28px rgba(53, 122, 189, 0.2);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.service-price-link:hover {
    background: linear-gradient(135deg, #3f86ec 0%, #2d6fb4 100%);
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(53, 122, 189, 0.26);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-grid-preview {
    max-width: 1400px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.blog-grid-page {
    max-width: 1400px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.blog-grid-page .blog-card-cover {
    min-height: 250px;
    height: 250px;
    justify-content: center;
    gap: 0.9rem;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
    border: 1px solid rgba(58, 134, 255, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #2f7de1, #8ec5ff);
    z-index: 2;
}

.blog-card-large {
    min-height: 620px;
}

.blog-card-link:hover .blog-card {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.14);
    border-color: rgba(58, 134, 255, 0.3);
}

.blog-card-cover {
    background: linear-gradient(135deg, #4f8fe5 0%, #7db4ff 55%, #9eceff 100%);
    padding: 1.8rem 1.7rem;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.blog-card-cover::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -90px;
    right: -70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}

.blog-card-cover-placeholder {
    background: linear-gradient(135deg, #8aa0c9, #bfd1ee);
}

.blog-card-cover .blog-badge {
    background: rgba(255,255,255,0.18);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.blog-card-cover h3 {
    color: var(--white);
    font-size: 1.78rem;
    line-height: 1.32;
    margin: 0;
    position: relative;
    z-index: 1;
    text-wrap: balance;
    max-width: 100%;
    text-align: center;
}

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-image-placeholder {
    width: 100%;
    height: 190px;
    border-radius: 16px;
    margin-bottom: 1.4rem;
    border: 2px dashed rgba(58, 134, 255, 0.28);
    background: linear-gradient(135deg, #eef5ff, #f7fbff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.blog-card-image-placeholder span {
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.6;
}

.blog-card-image {
    width: 100%;
    height: 190px;
    border-radius: 16px;
    margin-bottom: 1.4rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    background: #eaf3ff;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.blog-card-link:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-meta {
    color: #2f6fcb;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-card-excerpt {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.78;
    margin-bottom: 1.6rem;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--white);
    font-weight: 700;
    font-size: 0.98rem;
    margin-top: auto;
    align-self: center;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f93f3 0%, #357abd 100%);
    border: 1px solid rgba(53, 122, 189, 0.25);
    box-shadow: 0 14px 28px rgba(53, 122, 189, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.blog-card-link:hover .blog-card-cta {
    background: linear-gradient(135deg, #3f86ec 0%, #2d6fb4 100%);
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(53, 122, 189, 0.24);
}

.blog-card-cta-muted {
    color: var(--gray);
}

.blog-card-placeholder {
    opacity: 0.98;
}

.blog-preview-action {
    text-align: center;
    margin-top: 2rem;
}

.allied-platforms {
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at top left, rgba(97, 168, 255, 0.14), transparent 32%),
        linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.allied-platforms-header {
    max-width: 980px;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.allied-platforms-header p {
    color: var(--dark-gray);
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 0 auto 1rem;
}

.allied-platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.allied-platform-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f9fcff 100%);
    border: 1px solid rgba(58, 134, 255, 0.16);
    border-radius: 24px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.allied-platform-card:hover {
    transform: translateY(-6px);
    border-color: rgba(58, 134, 255, 0.28);
    box-shadow: 0 26px 50px rgba(15, 23, 42, 0.12);
}

.allied-platform-card-image {
    width: calc(100% + 4rem);
    height: 340px;
    margin: 0 -2rem 1.6rem;
    overflow: hidden;
    background: linear-gradient(135deg, #eef6ff 0%, #f9fcff 100%);
    border-bottom: 1px solid rgba(58, 134, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.allied-platform-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 1rem 1rem 0.6rem;
}

.allied-platform-card-image-vet img {
    padding: 0.6rem 0.8rem 0.2rem;
    transform: scale(1.1);
}

.allied-platform-card-image-academic img {
    padding: 0.8rem 0.8rem 0.4rem;
    transform: scale(1.08);
}

.allied-platform-card h3 {
    color: var(--primary-blue);
    font-size: 1.55rem;
    line-height: 1.3;
    margin: 0 0 1rem;
    text-align: center;
}

.allied-platform-card p {
    color: var(--dark-gray);
    font-size: 1.03rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.allied-platform-btn {
    align-self: center;
    margin-top: auto;
}

.blog-page {
    background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.blog-page-section {
    padding-top: 3rem;
}

.blog-page-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.blog-page-header h1 {
    color: var(--primary-blue);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-page-header p {
    font-size: 1.12rem;
    line-height: 1.9;
    color: var(--dark-gray);
}

.blog-article {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 22px;
    padding: 3rem;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(58, 134, 255, 0.12);
}

.blog-article-header {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(58, 134, 255, 0.15);
}

.blog-badge {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.blog-meta {
    color: var(--gray);
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-article-header h3 {
    font-size: 2.25rem;
    line-height: 1.3;
    color: var(--dark-blue);
    margin-bottom: 1.25rem;
}

.blog-lead {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--dark-gray);
    max-width: 950px;
}

.blog-content {
    display: grid;
    gap: 2rem;
}

.blog-block {
    background: #fdfefe;
    border: 1px solid rgba(58, 134, 255, 0.1);
    border-radius: 18px;
    padding: 2rem;
}

.blog-block h4,
.blog-highlight-box h4 {
    color: var(--primary-blue);
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.blog-block p,
.blog-highlight-box p {
    color: var(--dark-gray);
    font-size: 1.08rem;
    line-height: 1.95;
    margin-bottom: 1rem;
}

.blog-block p:last-child,
.blog-highlight-box p:last-child {
    margin-bottom: 0;
}

.blog-highlight-box {
    background: linear-gradient(135deg, #eef5ff, #f8fbff);
    border-left: 5px solid var(--primary-blue);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(58, 134, 255, 0.08);
}

.blog-references {
    padding-left: 1.3rem;
    color: var(--dark-gray);
}

.blog-references li {
    margin-bottom: 0.85rem;
    line-height: 1.8;
}

.article-page {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.article-page .blog {
    padding-top: 3rem;
}

.article-back {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(58, 134, 255, 0.16);
}

.btn-back:hover {
    background: var(--light-blue);
}

@media (max-width: 768px) {
    .blog-grid-preview,
    .blog-grid-page {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .blog-card-cover {
        min-height: 160px;
        padding: 1.35rem 1.2rem;
    }

    .blog-card-cover h3 {
        font-size: 1.28rem;
        line-height: 1.28;
    }

    .blog-card-body {
        padding: 1.3rem;
    }

    .blog-card-large {
        min-height: auto;
    }

    .blog-card-image-placeholder,
    .blog-card-image {
        height: 160px;
    }

    .blog-card-meta {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .blog-card-excerpt {
        font-size: 0.98rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }

    .blog-card-cta {
        width: 100%;
        padding: 0.9rem 1.1rem;
    }

    .blog-page-header h1 {
        font-size: 2.1rem;
    }

    .blog-article {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }

    .blog-article-header h3 {
        font-size: 1.75rem;
    }

    .blog-lead,
    .blog-block p,
    .blog-highlight-box p,
    .blog-references li {
        font-size: 1rem;
        line-height: 1.8;
    }

    .blog-block,
    .blog-highlight-box {
        padding: 1.5rem;
    }
}

@media (max-width: 1180px) and (min-width: 769px) {
    .blog-grid-preview,
    .blog-grid-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1f5fae 0%, #2f7de1 55%, #5aa0ff 100%);
    color: var(--white);
    padding: 3.2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
    backdrop-filter: blur(8px);
    font-weight: 600;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.social-links a i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    font-size: 1rem;
    flex-shrink: 0;
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-4px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 16px 30px rgba(0,0,0,0.2);
}

.social-links a[href*="wa.me"] i {
    background: #25d366;
}

.social-links a[href*="instagram.com"] i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links a[href*="tiktok.com"] i {
    background: #000000;
}

.social-links a[href*="youtube.com"] i {
    background: #ff0000;
}

.social-links a[href^="mailto:"] i {
    background: var(--primary-blue);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 2px;
    bottom: 108px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.float-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.45rem;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(255,255,255,0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    position: relative;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.28);
    filter: saturate(1.05);
}

.float-btn.whatsapp {
    background: #25d366;
}

.float-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.float-btn.tiktok {
    background: #000000;
}

.float-btn.youtube {
    background: #ff0000;
}

.float-btn.email {
    background: var(--primary-blue);
}

.lang-float {
    position: fixed;
    left: 12px;
    bottom: 18px;
    z-index: 101;
}

.lang-float-toggle {
    list-style: none;
    min-width: 74px;
    height: 52px;
    padding: 0 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #173a63;
    box-shadow: 0 18px 36px rgba(7, 20, 44, 0.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.lang-float-toggle::-webkit-details-marker {
    display: none;
}

.lang-float-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(7, 20, 44, 0.22);
}

.lang-float-code {
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    line-height: 1;
}

.lang-float-toggle i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.lang-float[open] .lang-float-toggle i {
    transform: rotate(180deg);
}

.lang-float-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    width: 220px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(74, 144, 226, 0.2);
    box-shadow: 0 22px 50px rgba(7, 20, 44, 0.22);
    backdrop-filter: blur(10px);
    display: none;
    gap: 8px;
}

.lang-float[open] .lang-float-menu {
    display: grid;
}

.lang-float-menu a {
    width: 100%;
    border: 1px solid rgba(74, 144, 226, 0.18);
    background: rgba(74, 144, 226, 0.06);
    color: #173a63;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-float-menu a:hover {
    transform: translateY(-1px);
    background: rgba(74, 144, 226, 0.12);
    border-color: rgba(74, 144, 226, 0.32);
}

.lang-float-menu a.active {
    background: linear-gradient(135deg, #4f97ef 0%, #2f77d4 100%);
    border-color: rgba(47, 119, 212, 0.52);
    color: #fff;
}

.footer p {
    color: rgba(255,255,255,0.72);
    font-size: 0.98rem;
}

/* Chatbot */
.chatbot {
    position: fixed;
    bottom: 20px;
    right: 2px;
    z-index: 100;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border: 2px solid rgba(74, 144, 226, 0.25);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(53, 122, 189, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(53, 122, 189, 0.28);
    border-color: rgba(74, 144, 226, 0.4);
}

.chatbot-toggle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, #4f93f3 0%, #357abd 100%);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.chatbot-header-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px;
}

.chatbot-header h3 {
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.chatbot-status {
    display: block;
    font-size: 0.78rem;
    opacity: 0.9;
    margin-top: 0.15rem;
    white-space: nowrap;
}

.close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-body {
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.bot-message {
    background: var(--light-blue);
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    max-width: 80%;
    color: var(--dark-gray);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.user-message {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    max-width: 80%;
    margin-left: auto;
    box-shadow: 0 12px 22px rgba(53, 122, 189, 0.2);
}

.bot-message a {
    color: var(--dark-blue);
    font-weight: 800;
    text-decoration: none;
}

.bot-message a:hover {
    text-decoration: underline;
}

.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.chatbot-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(53, 122, 189, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: var(--dark-blue);
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.86rem;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.chatbot-chip:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 14px 22px rgba(15, 23, 42, 0.12);
}

.chatbot-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.chatbot-dots {
    display: inline-flex;
    gap: 0.22rem;
}

.chatbot-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(53, 122, 189, 0.65);
    display: inline-block;
    animation: chatbotDot 1.1s infinite ease-in-out;
}

.chatbot-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.chatbot-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chatbotDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.55; }
    40% { transform: translateY(-3px); opacity: 1; }
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--light-gray);
    background: rgba(255, 255, 255, 0.95);
}

.chatbot-input input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 25px;
    outline: none;
    font-weight: 600;
}

.chatbot-input button {
    background: linear-gradient(135deg, #4f93f3 0%, #357abd 100%);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: 0.8rem;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    box-shadow: 0 14px 24px rgba(53, 122, 189, 0.22);
}

.chatbot-input button:hover {
    background: linear-gradient(135deg, #3f86ec 0%, #2d6fb4 100%);
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(53, 122, 189, 0.28);
}

/* Responsive */
@media (max-width: 1200px) {
    .navbar .container {
        align-items: flex-start;
    }

    .nav-links {
        gap: 1.2rem;
        font-size: 0.95rem;
        row-gap: 0.45rem;
    }
}

@media (max-width: 1024px) {
    .hero-slider,
    .hero-content {
        min-height: 78vh;
    }

    .hero-content-card {
        max-width: 620px;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2.9rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        display: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .navbar .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .hero-slider,
    .hero-content {
        min-height: 72vh;
    }

    .hero-content {
        align-items: flex-end;
    }

    .hero-content-card {
        max-width: 100%;
        padding: 1.5rem 1.2rem;
        margin-bottom: 4.8rem;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .hero-slider-dots {
        bottom: 18px;
        gap: 0.5rem;
        padding: 0.55rem 0.8rem;
    }

    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }

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

    .floating-buttons {
        bottom: 120px;
        right: 2px;
    }

    .social-links {
        gap: 0.85rem;
    }

    .social-links a {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .social-links a i {
        width: 34px;
        height: 34px;
    }

    .chatbot-window {
        width: 300px;
        right: 0;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-img {
        max-width: 280px;
    }

    .about-card,
    .founder-content,
    .teachers-content {
        padding: 1.5rem;
    }

    .offer-list {
        padding: 1.5rem;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .pricing-grid,
    .services-grid,
    .allied-platforms-grid {
        grid-template-columns: 1fr;
    }

    .allied-platform-card {
        padding: 0 1.6rem 1.6rem;
    }

    .allied-platform-card h3 {
        font-size: 1.35rem;
    }

    .allied-platform-card-image {
        width: calc(100% + 3.2rem);
        height: 280px;
        margin: 0 -1.6rem 1.3rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

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

    .btn {
        padding: 0.7rem 1.6rem;
        font-size: 1rem;
    }

    .navbar .logo {
        font-size: 1.05rem;
    }

    .allied-platforms {
        padding: 4.4rem 0;
    }

    .allied-platforms-header p,
    .allied-platform-card p {
        font-size: 1rem;
    }

}
