:root {
    --color-navy: #1c3b5d;
    --color-navy-dark: #11263d;
    --color-navy-glass: rgba(28, 59, 93, 0.85);
    --color-gold: #c29b47;
    --color-gold-light: #dfb65b;
    --color-gold-dark: #a17f35;
    --color-silver: #8a8d91;
    --color-silver-light: #f4f5f7;
    --color-white: #ffffff;
    --color-dark: #121212;
    --color-gray: #4a4a4a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-gold: 0 10px 30px rgba(194,155,71,0.2);
}

/* ===================== BASE ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; width: 100%; font-family: var(--font-body); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--color-navy); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
p, .about-text, .service-text, .mission-card p, .team-bio, .section-description, .contact-info-sub, .page-hero-sub {
    text-align: justify;
    text-justify: auto;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

/* ===================== MATERIAL SYMBOLS ===================== */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    display: inline-flex;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* ===================== LAYOUT ===================== */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; font-weight: 500; color: var(--color-navy); margin-bottom: 1rem; }
.section-divider { height: 3px; width: 60px; background: var(--color-gold); margin: 0 auto 1.5rem; }
.section-divider-left { height: 3px; width: 60px; background: var(--color-gold); margin: 0 0 1.5rem; }
.section-description { max-width: 620px; margin: 0 auto; font-size: 1.05rem; color: var(--color-gray); }
.section-cta { text-align: center; margin-top: 3rem; }
.mt-4 { margin-top: 1.5rem; }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 2.2rem; border-radius: 4px; font-weight: 500;
    font-family: var(--font-heading); cursor: pointer;
    transition: var(--transition-smooth); border: 2px solid transparent; letter-spacing: 0.5px;
}
.btn-primary { background: var(--color-gold); color: var(--color-white); }
.btn-primary:hover { background: var(--color-gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-navy); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; transition: var(--transition-smooth);
    padding: 1rem 2rem; background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 0.5rem 2rem;
}
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; }
.brand-logo { height: 60px; transition: var(--transition-smooth); }
.brand-logo.logo-dark { display: none; }
.navbar.scrolled .brand-logo { height: 50px; }
.navbar.scrolled .brand-logo.logo-light { display: none; }
.navbar.scrolled .brand-logo.logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
    font-family: var(--font-heading); font-weight: 500;
    color: var(--color-white); font-size: 0.98rem;
    position: relative; padding-bottom: 5px;
}
.navbar.scrolled .nav-link { color: var(--color-navy); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--color-gold);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; }
.btn-nav {
    background: var(--color-gold); color: var(--color-white) !important;
    padding: 0.5rem 1.5rem; border-radius: 4px;
}
.btn-nav::after { display: none; }
.btn-nav:hover { background: var(--color-gold-dark); }
.mobile-toggle { display: none; background: none; border: none; color: var(--color-white); cursor: pointer; font-size: 2rem; }
.navbar.scrolled .mobile-toggle { color: var(--color-navy); }

/* ===================== HOME HERO ===================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center; padding: 0 2rem;
    overflow: hidden;
}
.hero-slideshow {
    position: absolute; inset: 0;
    z-index: 0;
}
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    filter: brightness(1.1);
    animation: slideAnimation 18s infinite;
}
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }

@keyframes slideAnimation {
    0% { opacity: 0; transform: scale(1.1); }
    5% { opacity: 1; }
    33.33% { opacity: 1; }
    38.33% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(17,38,61,0.45) 0%, rgba(28,59,93,0.25) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; color: var(--color-white); text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-eyebrow {
    display: inline-block; font-family: var(--font-heading);
    font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--color-gold-light); margin-bottom: 1rem;
    border: 1px solid rgba(194,155,71,0.4); padding: 0.3rem 1rem; border-radius: 2px;
}
.hero-title { font-size: 4rem; font-weight: 700; color: var(--color-white); margin-bottom: 1.25rem; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.15rem; font-weight: 300; margin-bottom: 2.5rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; color: rgba(255,255,255,0.7); animation: bounce 2s infinite;
    font-size: 2.5rem;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================== STATS BAR ===================== */
.stats-bar {
    background: var(--color-navy);
    display: flex; justify-content: space-around;
    flex-wrap: wrap; gap: 0;
    padding: 3rem 2rem;
}
.stat-item { text-align: center; padding: 1rem 2rem; }
.stat-number {
    display: block; font-family: var(--font-heading);
    font-size: 2.8rem; font-weight: 700;
    color: var(--color-gold); line-height: 1;
}
.stat-label { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.7); margin-top: 0.4rem; }

/* ===================== SERVICE CARDS (HOME SNAPSHOT) ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 2rem;
}
.service-card {
    background: var(--color-white); padding: 2.5rem 2rem;
    border-radius: 8px; box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent; text-align: center;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-bottom-color: var(--color-gold); }
.service-icon-wrapper {
    width: 72px; height: 72px;
    background: rgba(194,155,71,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; color: var(--color-gold); transition: var(--transition-smooth);
}
.service-card:hover .service-icon-wrapper, .service-detail-content .service-icon-wrapper { background: var(--color-gold); color: var(--color-white); }
.service-icon { font-size: 2rem; }
.service-heading { font-size: 1.4rem; margin-bottom: 0.75rem; }
.service-text { font-size: 0.95rem; color: var(--color-gray); margin-bottom: 1.25rem; }
.service-link { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--color-gold); }
.service-link:hover { color: var(--color-gold-dark); }

/* ===================== ABOUT TEASER (HOME) ===================== */
.about-teaser { background: var(--color-silver-light); padding: 5rem 2rem; }
.about-teaser-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 4rem; }
.about-teaser-image { flex: 1; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-teaser-image img { width: 100%; height: 420px; object-fit: cover; filter: brightness(1.05); }
.about-teaser-content { flex: 1; }

/* ===================== ABOUT PAGE FULL ===================== */
.about-container { display: flex; align-items: center; gap: 4rem; }
.about-image-wrapper { flex: 1; position: relative; }
.about-image { border-radius: 8px; box-shadow: var(--shadow-md); width: 100%; height: 480px; object-fit: cover; }
.about-experience-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--color-navy); color: var(--color-gold);
    padding: 1.5rem; border-radius: 8px; box-shadow: var(--shadow-md);
    text-align: center; border: 1px solid rgba(194,155,71,0.3);
}
.badge-number { display: block; font-size: 1.8rem; font-weight: 700; font-family: var(--font-heading); }
.badge-text { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.about-content { flex: 1; padding-left: 1rem; }
.about-subtitle { font-size: 1.7rem; color: var(--color-gold); margin-bottom: 1.25rem; font-weight: 400; }
.about-text { margin-bottom: 1.2rem; font-size: 1rem; }
.about-list { margin: 1.5rem 0; }
.about-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 0.9rem; font-weight: 500; color: var(--color-navy); }
.list-icon { color: var(--color-gold); }

/* ===================== MISSION SECTION ===================== */
.mission-section { background: var(--color-navy); padding: 5rem 2rem; }
.mission-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 2rem; }
.mission-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(194,155,71,0.2); border-radius: 8px; padding: 2.5rem 2rem; text-align: center; transition: var(--transition-smooth); }
.mission-card:hover { background: rgba(194,155,71,0.08); border-color: var(--color-gold); transform: translateY(-4px); }
.mission-icon { font-size: 2.5rem; color: var(--color-gold); margin-bottom: 1.2rem; }
.mission-card h3 { color: var(--color-white); font-size: 1.4rem; margin-bottom: 0.75rem; }
.mission-card p { color: rgba(255,255,255,0.75); font-size: 0.97rem; line-height: 1.7; }

/* ===================== TEAM SECTION ===================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.team-card { text-align: center; background: var(--color-white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-smooth); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-img-wrap { overflow: hidden; height: 300px; }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s ease; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-name { font-size: 1.25rem; color: var(--color-navy); margin: 1.2rem 0 0.3rem; padding: 0 1rem; }
.team-role { font-size: 0.85rem; color: var(--color-gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 0.75rem; text-align: center; }
.team-bio { font-size: 0.92rem; color: var(--color-gray); padding: 0 1.5rem 1.8rem; }
.team-card-link { text-decoration: none; color: inherit; display: block; }

/* ===================== SERVICE DETAIL (SERVICES PAGE) ===================== */
.service-detail--alt { background: var(--color-silver-light); max-width: 100%; padding: 6rem 2rem; }
.service-detail--alt > .service-detail-inner { max-width: 1200px; margin: 0 auto; }
.service-detail-inner { display: flex; align-items: center; gap: 4rem; }
.service-detail-inner--reversed { flex-direction: row-reverse; }
.service-detail-image { flex: 1; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
.service-detail-image img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.6s ease; }
.service-detail-image:hover img { transform: scale(1.03); }
.service-detail-content { flex: 1; }
.service-detail-content .service-icon-wrapper { margin: 0 0 1.5rem 0; }

/* ===================== PAGE HERO (INNER PAGES) ===================== */
.inner-page { padding-top: 0; }
.page-hero {
    min-height: 45vh; display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center; padding: 8rem 2rem 4rem;
    background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover; background-position: center;
}
.page-hero--services {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}
.page-hero--contact {
    background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(17,38,61,0.88) 0%, rgba(28,59,93,0.65) 100%);
}
.page-hero-content { position: relative; z-index: 2; color: var(--color-white); }
.page-hero-title { font-size: 3.2rem; font-weight: 700; color: var(--color-white); margin: 0.75rem 0; }
.page-hero-sub { font-size: 1.1rem; font-weight: 300; opacity: 0.9; max-width: 550px; margin: 0 auto; }

/* ===================== PROFILE PAGE ===================== */
.profile-container { display: flex; align-items: center; gap: 4rem; }
.profile-image-wrapper { flex: 1; position: relative; }
.profile-image { border-radius: 12px; box-shadow: var(--shadow-md); width: 100%; height: 550px; object-fit: contain; }
.profile-content { flex: 1; padding-left: 1rem; }
.profile-details { margin: 2.5rem 0; }
.profile-detail-item { margin-bottom: 2rem; }
.profile-detail-item h4 { font-size: 1.1rem; color: var(--color-navy); margin-bottom: 1rem; font-weight: 600; }
.profile-detail-item ul { margin: 0; }

/* ===================== CONTACT PAGE ===================== */
.contact-container {
    display: flex; gap: 0; background: var(--color-white);
    border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md);
}
.contact-info {
    flex: 0 0 38%; background: var(--color-navy);
    color: var(--color-white); padding: 4rem 3rem;
    background-image: linear-gradient(145deg, var(--color-navy), var(--color-navy-dark));
}
.contact-info-title { font-size: 1.8rem; color: var(--color-white); margin-bottom: 0.75rem; }
.contact-info-sub { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 2.5rem; line-height: 1.7; }
.info-card { display: flex; gap: 1.2rem; margin-bottom: 2rem; align-items: flex-start; }
.info-card > div { flex: 1; min-width: 0; }
.info-icon { color: var(--color-gold); font-size: 1.8rem; flex-shrink: 0; }
.info-title { color: var(--color-white); font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 0.3rem; }
.info-text { color: rgba(255,255,255,0.75); font-size: 0.9rem; overflow-wrap: anywhere; word-break: break-word; }
.contact-form { flex: 1; padding: 4rem 3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--color-navy); font-size: 0.92rem; }
.form-control {
    width: 100%; padding: 0.9rem 1rem;
    border: 1.5px solid #e0e0e0; border-radius: 6px;
    font-family: var(--font-body); font-size: 0.97rem;
    transition: var(--transition-fast); background: var(--color-silver-light); color: var(--color-dark);
}
.form-control:focus { outline: none; border-color: var(--color-gold); background: var(--color-white); box-shadow: 0 0 0 3px rgba(194,155,71,0.1); }
textarea.form-control { resize: vertical; }

/* ===================== CTA BANNER ===================== */
.cta-banner {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 100%);
    padding: 5rem 2rem;
    text-align: center;
}
.cta-banner-inner { max-width: 700px; margin: 0 auto; }
.cta-title { font-size: 2.5rem; color: var(--color-white); margin-bottom: 0.75rem; }
.cta-text { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-banner .btn-primary { background: var(--color-navy); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--color-navy-dark); transform: translateY(-2px); }

/* ===================== FOOTER ===================== */
.footer { background: var(--color-navy-dark); color: var(--color-silver); padding: 4rem 2rem 2rem; }
.footer-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
}
.footer-logo { height: 70px; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); letter-spacing: 1px; }
.footer-heading { color: var(--color-gold); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-nav ul li, .footer-contact p { margin-bottom: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.65); overflow-wrap: anywhere; word-break: break-word; }
.footer-nav ul li a:hover { color: var(--color-gold); }
.footer-bottom { text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ===================== ANIMATIONS ===================== */
.reveal { opacity: 0; visibility: hidden; transition: all 0.85s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; visibility: visible; }
.fade-up { transform: translateY(40px); }
.fade-up.active { transform: translateY(0); }
.fade-right { transform: translateX(-40px); }
.fade-right.active { transform: translateX(0); }
.fade-left { transform: translateX(40px); }
.fade-left.active { transform: translateX(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .about-container, .about-teaser-inner, .service-detail-inner, .profile-container { flex-direction: column; gap: 3rem; }
    .service-detail-inner--reversed { flex-direction: column; }
    .about-content { padding-left: 0; }
    .profile-content { padding-left: 0; }
    .about-experience-badge { right: 10px; bottom: -15px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .page-hero-title { font-size: 2.4rem; }
    .section-title { font-size: 2rem; }
    .cta-title { font-size: 1.8rem; }
    .mobile-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; left: -100%; width: 85%; max-width: 320px;
        height: 100vh; background: var(--color-white);
        flex-direction: column; justify-content: center; gap: 1.5rem;
        transition: var(--transition-smooth); box-shadow: 5px 0 30px rgba(0,0,0,0.1);
        padding: 2rem; z-index: 999;
    }
    .nav-links.active { left: 0; }
    .nav-link { color: var(--color-navy) !important; font-size: 1.3rem; }
    .stats-bar { gap: 1rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { flex-direction: column; }
    .contact-info { flex: auto; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .stat-number { font-size: 2rem; }
    .service-detail-image img, .about-image { height: 280px; }
    .profile-image { height: 350px; }
    .team-grid { grid-template-columns: 1fr; }
    .team-img-wrap { height: 240px; }
    .contact-form, .contact-info { padding: 2.5rem 1.5rem; }
}
