/* ===== CSS Variables & Reset ===== */
:root {
    --navy: #1B4D6E;
    --navy-dark: #153d58;
    --sage: #B5CDC4;
    --sage-light: #d6e5df;
    --coral: #E8878B;
    --coral-light: #f0a8ab;
    --gold: #F2B63B;
    --gold-light: #f5c965;
    --white: #FFFFFF;
    --off-white: #F9F7F4;
    --text-dark: #2C3E50;
    --text-light: #6B7B8D;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(27, 77, 110, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 77, 110, 0.12);
    --shadow-lg: 0 8px 40px rgba(27, 77, 110, 0.15);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--coral);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
}

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

.btn--primary:hover {
    background-color: #d97478;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--navy);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--navy);
}

.nav-link--cta {
    background: var(--coral);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: #d97478;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--sage-light) 50%, var(--off-white) 100%);
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-deco {
    position: absolute;
    opacity: 0.15;
}

.hero-deco--1 {
    top: 5%;
    right: -5%;
    width: 280px;
    transform: rotate(-20deg);
}

.hero-deco--3 {
    bottom: 10%;
    left: -8%;
    width: 320px;
    transform: rotate(15deg);
}

.hero-deco--5 {
    top: 20%;
    left: 10%;
    width: 200px;
    opacity: 0.1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--coral);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 36px;
}

/* ===== Section Base ===== */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-decoration {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-deco {
    width: 100%;
    opacity: 0.3;
}

.about-image-placeholder {
    position: relative;
    z-index: 1;
    background: var(--sage-light);
    border-radius: var(--radius-lg);
    padding: 16px;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
}

.about-credential {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ===== Services ===== */
.section--services {
    background: var(--off-white);
}

.services-content {
    text-align: center;
}

.services-text {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.section-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.section-deco--services {
    bottom: -60px;
    right: -80px;
    width: 300px;
}

/* ===== Proposal ===== */
.section--proposal {
    background: var(--white);
}

.proposal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.proposal-content p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.8;
}

.proposal-cta-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 24px !important;
}

.proposal-visual {
    position: relative;
    min-height: 400px;
}

.proposal-decoration {
    position: relative;
    width: 100%;
    height: 100%;
}

.proposal-deco {
    position: absolute;
}

.proposal-deco--1 {
    top: 0;
    right: 0;
    width: 280px;
    opacity: 0.25;
}

.proposal-deco--2 {
    bottom: 20px;
    left: 20px;
    width: 200px;
    opacity: 0.2;
}

/* ===== Location ===== */
.section--location {
    background: var(--navy);
    padding: 80px 0;
}

.location-card {
    text-align: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.location-card .section-label {
    color: var(--gold);
}

.location-card .section-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.location-card p {
    color: var(--sage-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.location-deco {
    position: absolute;
    width: 120px;
    opacity: 0.15;
    top: -20px;
    right: -40px;
}

/* ===== Education ===== */
.section--education {
    background: var(--off-white);
}

.education-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--sage);
}

.education-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-marker {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--coral);
    position: relative;
    z-index: 1;
}

.education-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.3;
}

.education-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== Curriculum ===== */
.section--curriculum {
    background: var(--off-white);
}

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

.curriculum-info p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.curriculum-highlights {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
}

.curriculum-stat {
    text-align: center;
}

.curriculum-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.curriculum-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.curriculum-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.curriculum-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all var(--transition);
}

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

.curriculum-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.curriculum-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.curriculum-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.section-deco--curriculum {
    position: absolute;
    right: -40px;
    bottom: -30px;
    width: 120px;
    opacity: 0.12;
    pointer-events: none;
}

/* ===== Contact ===== */
.section--contact {
    background: var(--white);
}

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

.contact-info p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.contact-detail:hover {
    color: var(--coral);
}

.contact-detail svg {
    min-width: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== Form ===== */
.contact-form-wrapper {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.form-group.focused label {
    color: var(--coral);
}

.optional {
    font-weight: 300;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--sage-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0bec5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group--privacy {
    margin-bottom: 28px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--coral);
}

.privacy-link {
    color: var(--coral);
    text-decoration: underline;
}

.form-feedback {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.form-feedback.error {
    display: block;
    background: #fce4ec;
    color: #c62828;
}

.section-deco--contact {
    bottom: -40px;
    left: -60px;
    width: 200px;
    transform: rotate(20deg);
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: var(--sage-light);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(181, 205, 196, 0.2);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    border-radius: 4px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    padding: 4px 0;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--coral-light);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-contact a:hover {
    color: var(--coral-light);
}

.social-links--footer {
    margin-top: 16px;
}

.social-links--footer a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-light);
    transition: all var(--transition);
}

.social-links--footer a:hover {
    background: var(--coral);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-2deg); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 135, 139, 0.4); }
    50% { box-shadow: 0 0 0 14px rgba(232, 135, 139, 0); }
}

@keyframes drawLine {
    from { height: 0; }
    to { height: 100%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Hero staggered entrance */
.hero-content .hero-logo {
    animation: scaleIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
}

.hero-content .hero-title {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.hero-content .hero-subtitle {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}

.hero-content .hero-tagline {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.7s both;
}

.hero-content .btn {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.9s both;
}

/* Floating decorative elements */
.hero-deco--1 {
    animation: floatSlow 7s ease-in-out infinite;
}

.hero-deco--3 {
    animation: floatMedium 9s ease-in-out infinite;
}

.hero-deco--5 {
    animation: floatSlow 11s ease-in-out infinite 1s;
}

/* CTA pulse */
.hero-content .btn--primary {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.9s both, pulse 2.5s ease-in-out 2s infinite;
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none !important;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.88);
}

.reveal-rotate {
    transform: rotate(-4deg) translateY(20px);
}

/* Stagger delays for grouped items */
.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }
.stagger-5 { transition-delay: 0.5s !important; }

/* Service card enhanced hover */
.service-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.service-card:hover .service-icon img {
    animation: floatMedium 2s ease-in-out infinite;
}

/* Timeline animated line */
.education-timeline::before {
    transform-origin: top;
    transition: height 1s ease-out;
}

.education-timeline.animated::before {
    animation: drawLine 1.2s ease-out forwards;
}

/* Education marker pulse on reveal */
.education-marker {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.education-item.visible .education-marker {
    animation: pulse 2s ease-in-out 0.5s 1;
}

/* About image hover float */
.about-image-placeholder {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image-placeholder:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.about-deco {
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-deco {
    transform: scale(1.06) rotate(3deg);
}

/* Social links stagger entrance */
.social-link {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
}

/* Contact form input focus animation */
.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(232, 135, 139, 0.12);
    transform: translateY(-1px);
}

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Location section parallax-ready decoration */
.location-deco {
    transition: transform 0.3s ease;
}

/* Section decoration floating */
.section-deco--services {
    animation: floatSlow 8s ease-in-out infinite;
}

.section-deco--contact {
    animation: floatMedium 10s ease-in-out infinite;
}

/* Proposal decorations floating */
.proposal-deco--1 {
    animation: floatSlow 8s ease-in-out infinite;
}

.proposal-deco--2 {
    animation: floatMedium 10s ease-in-out infinite 2s;
}

/* Nav link hover enhanced */
.nav-link {
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
}

/* Footer links hover slide */
.footer-links a {
    transition: opacity var(--transition), color var(--transition), transform var(--transition);
}

.footer-links a:hover {
    transform: translateX(4px);
}

/* Form feedback entrance */
.form-feedback.success,
.form-feedback.error {
    animation: fadeInUp 0.4s ease-out;
}

/* Smooth section background transition for location */
.section--location .section-title,
.section--location .section-label,
.section--location p {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal, .reveal.visible {
        opacity: 1;
        transform: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .proposal-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .proposal-visual {
        display: none;
    }

    .curriculum-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .curriculum-highlights {
        justify-content: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 75vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
        z-index: 999;
        transform: translateX(100%);
        opacity: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-menu .nav-link {
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) .nav-link { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) .nav-link { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) .nav-link { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) .nav-link { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) .nav-link { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) .nav-link { transition-delay: 0.35s; }

    .nav-link {
        font-size: 1.05rem;
        padding: 12px 0;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        color: var(--coral);
        font-weight: 500;
    }

    .nav-link--cta {
        text-align: center;
        margin-top: 16px;
        padding: 12px 28px;
    }

    .nav-link--cta.active,
    .nav-link--cta {
        color: var(--white) !important;
        font-weight: 500;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: 100svh;
        padding: 100px 20px 60px;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .hero-deco--1 {
        width: 180px;
    }

    .hero-deco--3 {
        width: 200px;
    }

    .hero-deco--5 {
        display: none;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .about-grid {
        gap: 32px;
    }

    .curriculum-highlights {
        gap: 24px;
    }

    .curriculum-card {
        padding: 20px 22px;
    }

    .curriculum-card-icon {
        width: 44px;
        height: 44px;
    }

    .curriculum-card-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .curriculum-highlights {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .curriculum-stat-number {
        font-size: 1.8rem;
    }

    .curriculum-card {
        padding: 18px 16px;
        gap: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
