/* ═══════════════════════════════════════════════════
   SSPCS Solutions — Career Consulting
   Main Stylesheet
   ═══════════════════════════════════════════════════ */

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

:root {
    --navy:       #0a1628;
    --navy-light: #0f1f38;
    --blue:       #1a3a5c;
    --accent:     #2e86de;
    --accent-light: #4a9de8;
    --gold:       #e8a838;
    --gold-dark:  #d49a2e;
    --light:      #f4f6f9;
    --light-alt:  #eef1f6;
    --white:      #ffffff;
    --text:       #333333;
    --text-light: #6b7b8d;
    --radius:     12px;
    --radius-lg:  16px;
    --shadow:     0 10px 40px rgba(10,22,40,0.08);
    --shadow-lg:  0 20px 60px rgba(10,22,40,0.12);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── Navigation ── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    transition: background var(--transition), box-shadow var(--transition);
}
nav.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none;
}
.nav-logo svg {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(46,134,222,0.2));
}
.nav-logo span {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
    padding: 0.25rem 0;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 5px;
}
.hamburger span {
    width: 26px; height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem; font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer; border: none;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(232,168,56,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232,168,56,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46,134,222,0.3);
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46,134,222,0.4);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, #1a4a6c 100%);
    position: relative; overflow: hidden;
    text-align: center; padding: 2rem;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(46,134,222,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232,168,56,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(46,134,222,0.05) 0%, transparent 70%);
}
.hero-grid {
    position: absolute; inset: 0; opacity: 0.035;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-particles {
    position: absolute; inset: 0;
    overflow: hidden; pointer-events: none;
}
.hero-particles span {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(232,168,56,0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative; z-index: 1;
    max-width: 850px;
}
.hero-logo {
    margin-bottom: 2rem;
}
.hero-logo svg {
    width: 280px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 30px rgba(46,134,222,0.25));
    animation: logo-breathe 4s ease-in-out infinite;
}
@keyframes logo-breathe {
    0%, 100% { filter: drop-shadow(0 8px 30px rgba(46,134,222,0.25)); }
    50% { filter: drop-shadow(0 8px 40px rgba(232,168,56,0.3)); }
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero .tagline {
    color: rgba(255,255,255,0.65);
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}
.hero-buttons {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
}

/* ── Sections (common) ── */
section { padding: 6rem 2rem; }

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 4rem;
}
.section-header h2 {
    font-size: 2.3rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.section-header .underline {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 0 auto 1rem;
    border-radius: 2px;
}
.section-header p {
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.7;
}

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

.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-visual {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.about-visual::before {
    content: ''; position: absolute; inset: 0; opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 30px 30px;
}
.about-visual svg {
    width: 200px;
    display: block;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 4px 20px rgba(46,134,222,0.3));
}
.about-visual p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
}
.about-text h3 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 1rem;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.stat-row {
    display: flex; gap: 2rem;
    margin-top: 2rem;
}
.stat { text-align: center; flex: 1; }
.stat .number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat .label {
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

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

.services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid #e8ecf1;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 68px; height: 68px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(3deg); }
.service-icon svg { width: 28px; height: 28px; fill: var(--white); }

.service-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Why Choose Us ── */
.why-us { background: var(--white); }

.why-us-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.why-card:hover { background: var(--light); }

.why-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(46,134,222,0.1), rgba(232,168,56,0.1));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--accent), var(--blue));
}
.why-icon svg {
    width: 30px; height: 30px;
    fill: var(--accent);
    transition: fill var(--transition);
}
.why-card:hover .why-icon svg { fill: var(--white); }

.why-card h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.why-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ── Process ── */
.process { background: var(--light); }

.process-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.process-steps::before {
    content: ''; position: absolute;
    top: 35px; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
}

.step {
    text-align: center; flex: 1;
    position: relative;
}
.step-num {
    width: 70px; height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; color: var(--white);
    box-shadow: 0 6px 20px rgba(232,168,56,0.3);
    position: relative; z-index: 1;
    transition: all var(--transition);
}
.step:hover .step-num {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(232,168,56,0.45);
}
.step h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.step p {
    font-size: 0.85rem;
    color: var(--text-light);
    max-width: 180px;
    margin: 0 auto;
}

/* ── Testimonials ── */
.testimonials {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: ''; position: absolute; inset: 0; opacity: 0.03;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 50px 50px;
}
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.6); }
.testimonials .underline { background: var(--gold); }

.testimonial-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(232,168,56,0.3);
}

.stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testimonial-card blockquote {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testimonial-card .author {
    font-weight: 600;
    font-size: 0.95rem;
}
.testimonial-card .role {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.cta-banner h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
}
.cta-banner p {
    color: rgba(10,22,40,0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}
.cta-banner .btn {
    position: relative;
}

/* ── Contact (inline on home page) ── */
.contact { background: var(--light); }

.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1rem;
}
.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-detail .icon-box {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}
.contact-detail:hover .icon-box {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(46,134,222,0.3);
}
.contact-detail .icon-box svg { width: 20px; height: 20px; fill: var(--white); }
.contact-detail strong {
    display: block;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 0.15rem;
}
.contact-detail span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ── Contact Form ── */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #dce3eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46,134,222,0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 110px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b8c4;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,168,56,0.35);
}
.btn-submit.success {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: var(--white);
}

/* ── Contact Page (full page) ── */
.contact-page-hero {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    text-align: center;
}
.contact-page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.contact-page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
}

.contact-page-body {
    background: var(--light);
    padding: 4rem 2rem;
}
.contact-page-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.contact-sidebar-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.contact-page-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}
.contact-page-form h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.contact-page-form .form-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: var(--radius);
    height: 200px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}
.map-placeholder::before {
    content: ''; position: absolute; inset: 0; opacity: 0.05;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 20px 20px;
}
.map-placeholder svg {
    width: 32px; height: 32px;
    fill: rgba(255,255,255,0.3);
    margin-right: 0.5rem;
}

.office-hours {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.office-hours .day {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 600;
}
.office-hours .time {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: right;
}

/* ── Footer ── */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.5);
    padding: 3rem 2rem 2rem;
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-brand svg {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}
.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
    .services-grid,
    .testimonial-grid { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
    .about-grid,
    .contact-grid,
    .contact-page-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .process-steps { flex-direction: column; gap: 2rem; align-items: center; }
    .process-steps::before { display: none; }
    .why-us-grid { grid-template-columns: 1fr; max-width: 350px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute; top: 72px; left: 0; width: 100%;
        background: rgba(10,22,40,0.98);
        flex-direction: column; padding: 1.5rem 2rem; gap: 0.75rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }

    .hero h1 { font-size: 2.2rem; }
    .hero .tagline { font-size: 1.05rem; }
    .hero-logo svg { width: 200px; }

    section { padding: 4rem 1.5rem; }
    .section-header h2 { font-size: 1.8rem; }
    .section-header { margin-bottom: 3rem; }

    .stat-row { flex-direction: column; gap: 1rem; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    nav { padding: 0 1rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-logo svg { width: 160px; }
    .contact-page-form { padding: 2rem 1.5rem; }
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }
