/* =========================
   CSS Custom Properties
   ========================= */
:root {
    /* Navy color palette - MUCH lighter */
    --navy-darkest: #0f2642;
    --navy-darker:  #153454;
    --navy-dark:    #1a4166;
    --navy-base:    #1f4d78;
    --navy-medium:  #2a5f92;
    --navy-light:   #3473ad;
    --navy-lighter: #4a89c2;

    /* Gold accents */
    --gold-primary: #D4AF37;
    --gold-light: #E5C866;
    --gold-dark: #B8941F;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    
    /* Spacing */
    --spacing-xs: 0.4rem;
    --spacing-sm: 0.8rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #e8e8e8;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Section background variations */
.section-navy {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy-base) 100%);
    color: #e8e8e8;
}

.section-white {
    background: #ffffff !important;
    color: var(--navy-dark);
    padding-bottom: var(--spacing-lg);
}

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

.section-white .section-subtitle {
    color: var(--navy-medium);
}

.section-white .title-underline {
    background: linear-gradient(90deg, var(--gold-primary) 0%, transparent 100%);
}

/* White section specific styles */
.section-white .team-member {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(15, 38, 66, 0.1);
}

.section-white .team-member:hover {
    box-shadow: 0 10px 30px rgba(15, 38, 66, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.section-white .team-bio {
    color: var(--navy-medium);
}

.section-white .about-text {
    color: var(--navy-medium);
}

.section-white .service-detail-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(15, 38, 66, 0.1);
}

.section-white .service-detail-card:hover {
    box-shadow: 0 10px 30px rgba(15, 38, 66, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.section-white .service-title {
    color: var(--navy-dark);
}

.section-white .service-brief {
    color: var(--navy-medium);
}

.section-white .service-expertise h4,
.section-white .service-samples h4 {
    color: var(--navy-dark);
}

.section-white .service-expertise li,
.section-white .service-expertise p,
.section-white .service-samples p {
    color: var(--navy-medium);
}

.section-white .sample-label {
    color: var(--navy-dark);
}

.section-white .service-icon {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
}

/* Sample work section - slightly lighter navy shade */
.section-white .service-samples {
    background: rgba(26, 65, 102, 0.6);
}

.section-white .sample-item {
    background: rgba(15, 38, 66, 1);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.section-white .sample-item:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.section-white .sample-item p {
    color: #c0c0c0;
}

.section-white .contact-info-card-large {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(15, 38, 66, 0.15);
}

.section-white .contact-info-card-large:hover {
    box-shadow: 0 15px 40px rgba(15, 38, 66, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.section-white .contact-icon-large {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.section-white .contact-info-card-large h3 {
    color: var(--navy-dark);
}

.section-white .contact-link-large {
    color: var(--navy-dark);
    background: rgba(212, 175, 55, 0.15);
}

.section-white .contact-link-large:hover {
    background: var(--gold-primary);
    color: #ffffff;
}

.section-white .contact-detail-text {
    color: var(--navy-medium);
}

.section-white .contact-detail-small {
    color: rgba(15, 38, 66, 0.6);
}

/* Navy section padding */
.section-navy {
    padding: var(--spacing-lg) 0;
}

.why-choose-section {
    padding: var(--spacing-lg) 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Page section spacing for multi-page layout */
.page-section {
    padding-top: 110px;
}

/* Hero section already has its own padding */
.hero.page-section {
    padding-top: 85px;
}

/* Services section needs less padding */
.services.page-section {
    padding-top: 95px;
}

/* =========================
   Header & Navigation
   ========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background-color: rgba(10, 30, 62, 1);
    /*backdrop-filter: blur(10px);*/
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
    transition: color var(--transition-fast);
}

.logo-text:hover {
    color: var(--gold-light);
}

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

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-family: var(--font-body);
    color: #c8c8c8;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--gold-primary);
    transition: all var(--transition-normal);
}

/* =========================
   Hero Section
   ========================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 30, 62, 1) 0%, rgba(15, 45, 85, 1) 50%, rgba(20, 55, 100, 1) 100%);
    overflow: hidden;
    padding-top: 85px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, transparent 0%, rgba(2, 8, 20, 0.3) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-md) 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
}

.hero-title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #c8c8c8;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; top: 5px; }
    50% { opacity: 1; top: 12px; }
}

/* =========================
   Expertise Section (Home)
   ========================= */

.expertise {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-base) 50%, var(--navy-medium) 100%);
    position: relative;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.expertise-block {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-base) 100%);
    padding: var(--spacing-md);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
    position: relative;
}

.expertise-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

/* ---- Card linking & anchor offsets ---- */
.expertise-block {
  position: relative;
}

.expertise-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

/* Offset for sticky header when deep-linking to services */
.services-detailed > div[id] {
  scroll-margin-top: 110px;
}

.expertise-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    color: var(--gold-primary);
}

.expertise-block-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.expertise-block-text {
    font-size: 1rem;
    color: #c8c8c8;
    line-height: 1.6;
}

.expertise-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: var(--gold-primary);
    opacity: 0.7;
    transition: transform var(--transition-normal);
}

.expertise-block:hover .expertise-arrow {
    transform: translateX(4px);
}


/* =========================
   Buttons
   ========================= */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    color: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
    background: var(--gold-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary::before {
    background: var(--gold-primary);
}

.btn-secondary:hover {
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

/* =========================
   Sections
   ========================= */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b8b8b8;
    margin-top: var(--spacing-md);
}

.section-tagline {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold-primary);
    margin-top: var(--spacing-md);
    font-weight: 400;
    line-height: 1.5;
}

/* =========================
   About Section
   ========================= */
.about {
    padding-bottom: var(--spacing-lg);
    position: relative;
}

.about:not(.section-white) {
    background: linear-gradient(180deg, var(--navy-darker) 0%, var(--navy-dark) 50%, var(--navy-base) 100%);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.about.section-white::before {
    display: none;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: var(--spacing-md);
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    margin-top: calc(var(--spacing-lg) * 1.5);
    padding-top: calc(var(--spacing-lg) * 1.5);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-member {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-base) 100%);
    padding: var(--spacing-lg);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.team-member-content {
    text-align: left;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin: 0;
}

.team-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #b8b8b8;
    margin: 0.3rem 0 0 0;
    font-weight: 400;
    font-style: italic;
}

.team-linkedin {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.team-linkedin:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: scale(1.1);
    border-color: var(--gold-primary);
}

.team-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: var(--spacing-md);
}

.team-bio:last-child {
    margin-bottom: 0;
}

/* Why Us Section */
.why-us-section {
    margin-top: calc(var(--spacing-lg) * 1.5);
    padding-top: calc(var(--spacing-lg) * 1.5);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.why-us-item {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    padding: var(--spacing-lg);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.why-us-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold-primary);
    transition: height var(--transition-slow);
}

.why-us-item:hover::before {
    height: 100%;
}

.why-us-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.why-us-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.why-us-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.why-us-text {
    font-size: 1rem;
    color: #c8c8c8;
    line-height: 1.7;
}

/* =========================
   Services Section
   ========================= */
.services {
    padding-bottom: var(--spacing-lg);
    position: relative;
}

.services:not(.section-white) {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-base) 50%, var(--navy-medium) 100%);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.services.section-white::before {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    color: var(--gold-primary);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    font-size: 1rem;
    color: #c0c0c0;
    line-height: 1.6;
}

/* Detailed Services with Expand/Collapse */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-detail-card {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-base) 100%);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-detail-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1.2rem var(--spacing-lg);
    cursor: pointer;
    transition: background var(--transition-normal);
}

.service-detail-header:hover {
    background: rgba(212, 175, 55, 0.05);
}

.service-detail-card .service-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    color: var(--gold-primary);
    transition: all var(--transition-normal);
    margin-top: 0; 
}

.service-detail-card:hover .service-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.service-detail-title-area {
    flex: 1;
    display: flex; 
    flex-direction: column;
    justify-content: center;
}

.service-detail-title-area .service-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.35rem 0; 
    line-height: 1.3;
}

.service-brief {
    font-size: 1rem;
    color: #b8b8b8;
    line-height: 1.5;
}

.service-detail-content {
    max-height: none;
    overflow: visible;
    transition: none;
    border-top: 1px solid transparent;
}

.service-detail-content.active {
    max-height: none;
    border-top-color: rgba(212, 175, 55, 0.1);
}

.service-expertise {
    padding: 1.2rem var(--spacing-lg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.service-expertise h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
}

.service-expertise h4:first-child {
    margin-top: 0;
}

.service-expertise ul {
    list-style: none;
    padding-left: 0;
}

.service-expertise ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-expertise ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: 700;
}

.service-samples {
    padding: var(--spacing-lg);
    background: rgba(10, 25, 41, 0.3);
}

.service-samples h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-md);
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.sample-item {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.sample-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

/* === MASTER STANDARD FOR ALL SAMPLE THUMBNAILS === */
.sample-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 260px;
    overflow: hidden;
    background: rgba(10, 25, 41, 0.5);
    position: relative;
}

.sample-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    cursor: pointer;
}

.sample-item:hover .sample-image {
    transform: scale(1.05);
}

.section-white .sample-image-wrapper {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(15, 38, 66, 0.1);
}

.sample-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin: var(--spacing-md);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sample-item p {
    font-size: 0.95rem;
    color: #c0c0c0;
    line-height: 1.6;
    margin: 0;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

/* =========================
   CTA Section
   ========================= */
.cta {
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.cta:not(.section-white) {
    background: rgba(10, 30, 62, 1);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.cta.section-white::before,
.cta.section-white::after {
    display: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: var(--spacing-lg);
}

/* White CTA variant */
.cta.section-white {
    background: #ffffff;
}

.cta.section-white::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.cta.section-white::after {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.cta.section-white .cta-title {
    color: var(--navy-dark);
}

.cta.section-white .cta-text {
    color: var(--navy-medium);
}

/* =========================
   Footer
   ========================= */
.footer {
    background:rgba(10, 30, 62, 1);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-text {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    color: var(--gold-primary);
    transition: all var(--transition-normal);
}

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

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a,
.footer-contact a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: #888;
}

.footer-bottom a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* =========================
   Animations
   ========================= */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in.delay-1 {
    animation-delay: 0.3s;
}

.animate-fade-in.delay-2 {
    animation-delay: 0.6s;
}

.animate-fade-in.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.4s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.6s;
}

/* =========================
   Contact Section
   ========================= */
.contact {
    padding-bottom: var(--spacing-lg);
}

.contact-content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-lg);
    min-height: 50vh;
}

.contact-info-card-large {
    background: linear-gradient(135deg, var(--navy-base) 0%, var(--navy-dark) 100%);
    padding: var(--spacing-lg) var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 700px;
    width: 100%;
    text-align: center;
    transition: all var(--transition-normal);
}

.contact-info-card-large:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.contact-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--gold-primary);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.contact-info-card-large h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-md);
}

.email-large {
    margin: var(--spacing-md) 0;
}

.contact-link-large {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
}

.contact-link-large:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.contact-detail-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: var(--spacing-md) 0;
}

.contact-detail-small {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--spacing-md);
    font-style: italic;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(2, 8, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-sm) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .service-detail-header {
        flex-wrap: wrap;
    }
    
    .service-detail-card .service-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .service-detail-title-area .service-title {
        font-size: 1.3rem;
    }
    
    .sample-grid {
        grid-template-columns: 1fr;
    }
    
    .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .contact-content-centered {
        min-height: auto;
        padding: var(--spacing-md);
    }
    
    .contact-info-card-large {
        padding: var(--spacing-md);
    }
    
    .contact-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .contact-icon-large svg {
        width: 48px;
        height: 48px;
    }
    
    .contact-info-card-large h3 {
        font-size: 1.6rem;
    }
    
    .contact-link-large {
        font-size: 1.3rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .contact-detail-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info-card-large {
        padding: var(--spacing-sm);
    }
    
    .contact-icon-large {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon-large svg {
        width: 40px;
        height: 40px;
    }
    
    .contact-info-card-large h3 {
        font-size: 1.4rem;
    }
    
    .contact-link-large {
        font-size: 1.1rem;
        padding: var(--spacing-xs);
    }
    
    .contact-detail-text {
        font-size: 0.95rem;
    }
}

/*Removing Facebook and Twitter Icons*/
.social-link[aria-label="Twitter"],
.social-link[aria-label="Facebook"] {
    display: none !important;
}

/* =========================
   IMAGE POPUP / LIGHTBOX
   ========================= */
.image-popup {
  display: none;
  position: fixed;
  inset:0;
  z-index: 9999;
  padding-top: 110px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}

.image-popup-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  animation: zoomIn 0.3s ease;
}

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

.image-popup-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.image-popup-close:hover {
  color: #D4AF37;
}

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

.sample-image {
  cursor: pointer;
}

/* =========================
   WHITE SECTION TEXT CONTRAST IMPROVEMENTS
   ========================= */
.section-white .about-text {
    color: rgba(15, 38, 66, 0.85) !important;
}

.section-white .section-title {
    color: var(--navy-darkest) !important;
}

.section-white .section-subtitle {
    color: rgba(15, 38, 66, 0.75) !important;
}

.section-white .team-name {
    color: var(--gold-primary) !important;
}

.section-white .team-title {
    color: #b8b8b8 !important;
}

.section-white .team-bio {
    color: #d0d0d0 !important;
}

.section-white .team-member {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-base) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.section-white .team-member:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.section-white .why-us-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid rgba(15, 38, 66, 0.1) !important;
}

.section-white .why-us-item:hover {
    box-shadow: 0 15px 40px rgba(15, 38, 66, 0.15) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.section-white .why-us-item::before {
    background: var(--gold-primary) !important;
}

.section-white .why-us-title {
    color: var(--navy-darkest) !important;
}

.section-white .why-us-text {
    color: rgba(15, 38, 66, 0.85) !important;
}

.section-white .why-us-number {
    color: rgba(212, 175, 55, 0.3) !important;
}

/* =========================
   SERVICE CARDS ON WHITE BACKGROUND
   Must be at bottom to override base rules
   ========================= */

.section-white .service-detail-card {
    background: rgba(10, 30, 62, 1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.section-white .service-detail-card:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.section-white .service-detail-title-area .service-title {
    color: #ffffff !important;
}

.section-white .service-brief {
    color: #c8c8c8 !important;
}

.section-white .service-expertise h4,
.section-white .service-samples h4 {
    color: var(--gold-primary) !important;
}

.section-white .service-expertise ul li,
.section-white .service-expertise p {
    color: #d0d0d0 !important;
}

.section-white .service-detail-card .service-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%) !important;
    color: var(--gold-primary) !important;
}

/* Sample work area - slightly lighter navy */
.section-white .service-samples {
    background: rgba(31, 77, 120, 0.5) !important;
}

.section-white .service-samples h4 {
    color: var(--gold-primary) !important;
}

.section-white .sample-item {
    background: rgba(15, 38, 66, 1) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.section-white .sample-item:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15) !important;
}

.section-white .sample-label {
    color: var(--gold-light) !important;
}

.section-white .sample-item p {
    color: #c0c0c0 !important;
}
.section-white .expertise-block {
    background: rgba(10, 30, 62, 1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.section-white .expertise-block:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.section-white .expertise-block-title {
    color: var(--gold-primary) !important;
}

.section-white .expertise-block-text {
    color: #d0d0d0 !important;
}
.section-white .expertise-block {
    background: rgba(10, 30, 62, 1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.section-white .expertise-block:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.section-white .expertise-block-title {
    color: var(--gold-primary) !important;
}

.section-white .expertise-block-text {
    color: #d0d0d0 !important;
}
