/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1a202c;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
}

.nav-toggle:focus-visible {
    outline: 3px solid #1e3a8a;
    outline-offset: 2px;
    border-radius: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1a202c;
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Separators */
.section-separator {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #1e3a8a 50%, transparent 100%);
    margin: 4rem 0;
    opacity: 0.3;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    position: relative;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 3.5rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

/* Hero CTA group */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.hero-ctas .cta-button { margin: 0; }

.cta-button.cta-secondary {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
}
.cta-button.cta-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.45);
}
@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; gap: 0.85rem; }
    .hero-ctas .cta-button { width: 100%; }
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.is-pressed, .cta-button:active {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(0,0,0,0.15);
    filter: brightness(1.15);
    transition: background 0.12s ease, filter 0.12s ease, border-color 0.12s ease;
}

.hero-image .placeholder-image {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Split hero specifics */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
}

.hero-tagline {
    font-size: 1.35rem;
    font-weight: 500;
    margin-top: -0.5rem;
    margin-bottom: 2.25rem !important;
    color: rgba(255,255,255,0.92);
}

.hero-panel {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 2.25rem 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    box-shadow: 0 12px 28px -6px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(28px);
    animation: heroPanelIn .8s cubic-bezier(.4,.0,.2,1) 1s forwards;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.hero-panel .panel-label {
    font-size: 0.95rem;
    letter-spacing: .55px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: .65rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0.35rem 0.85rem 0.4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    box-shadow: 0 4px 10px -2px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}

.hero-panel p { margin: 0; font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,0.9); }

.panel-item { position: relative; }

.panel-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05) 70%, transparent 100%);
}

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-panel { order: 2; }
    .hero-left { text-align: center; align-items: center; }
    .hero-left .cta-button { align-self: center; }
    .hero-panel h3::after { left: 50%; transform: translateX(-50%); }
    .panel-item:not(:last-child)::after { left: 10%; right: 10%; }
}

@keyframes heroPanelIn {
    0% { opacity: 0; transform: translateY(28px) scale(.99); }
    60% { opacity: 1; transform: translateY(-4px) scale(1.005); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-panel { animation: none; opacity: 1; transform: none; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2,
.section-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: #374151;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%231e3a8a" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%231e40af" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.8;
}

/* Offerings Section */
.offerings {
    padding: 6rem 0 5rem;
    background: #f8fafc;
    position: relative;
}

.offerings-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex-direction: row-reverse; /* visual right-to-left on wide screens */
    align-items: stretch;
}

.offering-card {
    flex: 1 1 320px;
    background: #ffffff;
    border: 1px solid rgba(30,58,138,0.1);
    border-radius: 25px;
    padding: 2.25rem 2rem 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.offering-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.offering-card p {
    color: #374151;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.learn-more-link {
    align-self: flex-start;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2px;
}

.learn-more-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transition: width 0.3s ease;
}

.learn-more-link:hover::after, .learn-more-link:focus-visible::after {
    width: 100%;
}



/* Team Section */
.team {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}

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

.team-member {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.member-photo {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.team-member .member-job-title {
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-left: 3px solid #1e3a8a;
    padding-left: 0.75rem;
}

.team-member .member-description {
    color: #374151;
    line-height: 1.6;
}

/* Job + Company link */
.team-member .job-company-link {
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2px;
}
.team-member .job-company-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transition: width 0.3s ease;
}
.team-member .job-company-link:hover::after, .team-member .job-company-link:focus-visible::after { width: 100%; }

/* Social links inside team member cards */
.member-social-links {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.member-social-links li { margin: 0; padding: 0; }

.member-social-links a {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-decoration: none;
    position: relative;
}

.member-social-links a:hover, .member-social-links a:focus-visible {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    outline: none;
}

.member-social-links a svg { width: 20px; height: 20px; display:block; }

/* Visually hidden utility for accessible text */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    position: relative;
    color: white;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.contact .section-header h2,
.contact .section-header h1 {
    /* Override global gradient heading to ensure solid white text */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Two-column responsive grid for contact form */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem 1.5rem;
    align-items: start;
}
/* Force span across both columns when space allows */
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid .span-1 { grid-column: auto; }

@media (min-width: 760px) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Select wrapper for potential icons or custom arrow later */
.select-wrapper { position: relative; }
.select-wrapper select { appearance: none; -webkit-appearance: none; }
/* Decorative arrow: CSS only (no text) to avoid being voiced by screen readers */
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.7);
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

/* Subject hint description */
.subject-hint {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    min-height: 1.2em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.subject-hint.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animated appearance & disappearance of 'Other' field using height transition */
.subject-other-wrapper {
    display: none;
    overflow: hidden;
    height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: height 0.35s cubic-bezier(.4,.0,.2,1), opacity 0.25s ease, transform 0.35s cubic-bezier(.4,.0,.2,1);
}
.subject-other-wrapper.animating { display: block; }
.subject-other-wrapper.is-active { /* final visible state (height set to auto via JS after transition) */
    opacity: 1;
    transform: translateY(0);
}

/* Intent submit spacing top tweak when grid above compresses */
.intent-submit { margin-top: 1rem; }

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    color: white;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

select option { color: #1a202c; }

.form-feedback { margin-top: 1rem; font-size: 0.95rem; }
.form-feedback.success { color: #bbf7d0; }
.form-feedback.error { color: #fecaca; }

.submit-button {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.submit-button.is-pressed, .submit-button:active {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(0); /* neutralize hover lift while pressed */
    box-shadow: 0 0 0 rgba(0,0,0,0.15);
    filter: brightness(1.15);
    transition: background 0.12s ease, filter 0.12s ease, border-color 0.12s ease;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 1px,
        rgba(96, 165, 250, 0.05) 1px,
        rgba(96, 165, 250, 0.05) 2px
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #60a5fa;
}

/* Quick Links inline separators & spacing */
/* Targets anchor groups that directly follow a heading inside a footer section (used by Quick Links) */
.footer-section h4 + a,
.footer-section h4 + a ~ a {
    display: inline-block;
    margin-right: 0.35rem; /* base spacing after each link */
    padding-right: 0.35rem;
    line-height: 1.4; /* tighten a bit for horizontal layout */
    position: relative;
}

/* Separator bullet (skip first link) */
.footer-section h4 + a ~ a::before {
    content: '•';
    display: inline-block;
    margin: 0 .55rem 0 0; /* space after bullet */
    color: rgba(255,255,255,0.45);
    font-size: 0.8em;
    transform: translateY(-1px);
}

/* Wrap links naturally on narrow screens while keeping separators */
@media (max-width: 640px) {
    .footer-section h4 + a,
    .footer-section h4 + a ~ a {
        margin-right: 0.15rem;
        padding-right: 0.15rem;
        line-height: 1.6;
    }
    .footer-section h4 + a ~ a::before { margin: 0 .4rem 0 0; }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    /* Ensure hidden attribute truly removes it for AT + layout when inactive */
    .nav-menu[hidden] {
        display: none !important;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


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

    .offerings-grid {
        flex-direction: column; /* natural reading order on mobile */
    }

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

    .social-links {
        justify-content: center;
    }
}

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .section-header h1 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero {
        padding: 1rem 0;
    }

}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Ripple effect (previously injected dynamically; now static) */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation { to { transform: scale(4); opacity: 0; } }

/* Active nav link styles (previously injected) */
.nav-link.active { color: #667eea !important; }
.nav-link.active::after { width: 100% !important; }
