/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a56db;
    --primary-dark: #1240a8;
    --primary-light: #e8f0fe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.navbar.scrolled .nav-logo {
    color: var(--dark);
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-700);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-btn {
    background: var(--accent) !important;
    color: var(--white) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

.nav-btn:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a56db 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 120px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title-accent {
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-desc strong {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.hero-scroll span {
    display: block;
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== Section Common ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--primary-light);
    border-radius: 4px;
}

.about-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--primary);
}

.highlight-text {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-light), #fef3c7);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 24px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.about-feature-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.about-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.about-certs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.about-certs img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background: var(--white);
    padding: 8px;
}

.about-certs img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.about-img-license {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.about-img-license img {
    height: 60px;
    width: auto;
    border-radius: 4px;
}

.about-img-license span {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== Services ===== */
.services {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #6366f1);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border: 2px solid var(--primary);
}

.service-card.featured::before {
    opacity: 1;
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 16px;
}

.service-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    text-align: left;
}

.service-highlights li {
    font-size: 0.82rem;
    color: var(--gray-700);
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 6px;
    text-align: center;
}

.service-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    background: var(--accent);
    padding: 3px 10px;
    border-radius: 4px;
}

/* ===== Nationwide ===== */
.nationwide {
    background: var(--white);
}

.nationwide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nationwide-content .section-tag {
    display: block;
    text-align: left;
}

.nationwide-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-top: 20px;
}

.nationwide-content strong {
    color: var(--primary);
}

.nationwide-map img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ===== Features ===== */
.features {
    background: var(--gray-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.feature-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-img {
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-body {
    padding: 28px;
}

.feature-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.8;
}

.cert-section {
    text-align: center;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.cert-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.cert-desc {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-grid img {
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.cert-grid img:hover {
    transform: scale(1.05);
}

/* ===== Process ===== */
.process {
    background: var(--white);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.process-card {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 20px;
    transition: var(--transition);
}

.process-card:hover .process-icon {
    background: var(--primary);
}

.process-icon img,
.process-icon svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.process-step {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.process-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.process-connector {
    width: 40px;
    height: 2px;
    background: var(--gray-300);
    margin-top: 72px;
    position: relative;
    flex-shrink: 0;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gray-300);
    border-top: 2px solid var(--gray-300);
    transform: rotate(45deg);
}

/* ===== Culture ===== */
.culture {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: var(--white);
}

.culture .section-tag {
    color: var(--accent);
}

.culture .section-title {
    color: var(--white);
}

.culture .section-divider {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.culture-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.culture-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.culture-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.culture-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.auth-section {
    text-align: center;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
}

.auth-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.auth-grid img {
    width: 320px;
    height: auto;
    border-radius: var(--radius);
    background: var(--white);
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.auth-grid img:hover {
    transform: translateY(-4px);
}

/* ===== Campus ===== */
.campus {
    background: var(--gray-100);
}

.campus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.campus-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.campus-main {
    grid-row: span 2;
}

.campus-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.campus-main img {
    min-height: 540px;
}

.campus-card:hover img {
    transform: scale(1.08);
}

.campus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
}

.campus-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.campus-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== Graduation ===== */
.graduation {
    background: var(--white);
}

.grad-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.grad-tab {
    padding: 10px 28px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
}

.grad-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.grad-tab:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.grad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feedback-grid {
    grid-template-columns: repeat(4, 1fr);
}

.grad-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
}

.grad-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.grad-card img {
    width: 100%;
    transition: transform 0.6s ease;
}

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

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    text-align: center;
    color: var(--white);
    padding: 80px 0;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
}

.cta .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.cta .btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* ===== Contact ===== */
.contact {
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.contact-qr {
    display: flex;
    align-items: center;
}

.contact-qr-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-qr-card img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.contact-qr-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--gray-500);
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand img {
    height: 32px;
    width: auto;
    margin-bottom: 4px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.88rem;
}

.footer-since {
    color: var(--accent);
    font-weight: 500;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.82rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.about-certs img {
    cursor: pointer;
}

/* ===== Floating Consult ===== */
.float-consult {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
    display: flex;
    align-items: center;
}

.float-consult-toggle {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 18px 12px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: -2px 0 12px rgba(26, 86, 219, 0.3);
    user-select: none;
}

.float-consult-toggle:hover {
    padding-left: 16px;
    box-shadow: -2px 0 20px rgba(26, 86, 219, 0.5);
}

.float-consult-panel {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    width: 220px;
    background: var(--white);
    border-radius: 16px 0 0 16px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    padding: 24px 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.float-consult.active .float-consult-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.float-qr-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.float-qr-img {
    width: 160px;
    height: 160px;
    margin: 0 auto 12px;
    border-radius: 8px;
    border: 2px solid var(--gray-100);
    object-fit: contain;
}

.float-consult-panel p {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .feature-card {
        grid-template-columns: 180px 1fr;
    }

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

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .process-connector {
        display: none;
    }

    .process-card {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--gray-700) !important;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-links a:hover {
        background: var(--primary-light);
    }

    .nav-btn {
        background: var(--accent) !important;
        color: var(--white) !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-img {
        height: 180px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .campus-main {
        grid-row: span 1;
    }

    .campus-main img,
    .campus-card img {
        min-height: 200px;
    }

    .grad-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

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

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

    .btn-lg {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .grad-grid,
    .feedback-grid {
        grid-template-columns: 1fr;
    }

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