/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2744;
    --accent: #c9a227;
    --accent-light: #d4b545;
    --bg-dark: #0a1628;
    --bg-light: #f8fafc;
    --text-dark: #1a202c;
    --text-light: #f7fafc;
    --text-muted: #718096;
    --border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    --gradient-accent: linear-gradient(135deg, #c9a227 0%, #d4b545 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #2c5282 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

.contact-icon.mail-icon {
    width: 17px;
    height: auto;
}

.contact-icon.phone-icon {
    width: 14px;
    height: auto;
}

.contact-icon.location-icon {
    width: 14px;
    height: auto;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Display', Georgia, serif;
    font-weight: 600;
    line-height: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    /* Increased length as requested */
    margin: 0 auto;
    /* padding: 10px 20px; */
    /* Reduced padding to minimize navbar height */
    /* More breathing room */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 10px 20px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-img {
    height: 80px;
    /* Increased logo size */
    width: auto;
    object-fit: contain;
    padding: 3px;
    border-radius: var(--radius-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Display', serif;
    font-size: 34px;
    /* Increased font size */
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.1;
}

.logo-tagline {
    font-size: 17px;
    /* Slightly larger tagline */
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 18px;
    /* Slightly larger links for balance */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Dropdown container */
.nav-dropdown {
    position: relative;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    z-index: 999;
}

/* Show on hover (desktop) */
.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown links */
.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}


/* ===== HERO SECTION ===== */
.hero {
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    padding: 160px 24px 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    /* Ensure consistent horizontal padding */
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(2.0rem, 6vw, 4rem);
    color: var(--text-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-buttons .btn {
    padding: 18px 48px;
    font-size: 18px;
    border-radius: var(--radius-md);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 18px;
    border-radius: var(--radius-md);
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
}

.stat-plus {
    font-size: 28px;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
}

.page-header-spacer {
    padding-top: 145px !important;
}

@media (max-width: 768px) {
    .page-header-spacer {
        padding-top: 170px !important;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about .section-header,
.services .section-header,
.why-apc .section-header,
.careers .section-header,
.contact .section-header {
    margin-bottom: 30px;
    /* Reduced from 60px to save space */
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 162, 39, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    /* color: var(--primary); */
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 15px;
}

.about .section-title::after,
.services .section-title::after,
.services-teaser .section-title::after,
.why-apc .section-title::after,
.careers .section-title::after,
.contact .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 135px;
    height: 4px;
    background: #f1b333;
    /* Orange underline for section headers */
}

.highlight {
    color: var(--accent);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visual-card {
    background: var(--gradient-primary);
    padding: 40px;
    /* Create a dynamic "leaf" shape for the standard (Mission) card */
    border-radius: 0 60px 0 60px;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    /* We might need to define shadow-xl or just use a custom one */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.card-icon-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: auto;
    opacity: 0.15;
    transform: rotate(-15deg);
    transition: var(--transition);
    z-index: 0;
    pointer-events: none;
    /* Default to white watermark for dark blue cards */
    filter: grayscale(100%) brightness(0) invert(1);
}

.visual-card.secondary .card-icon-bg {
    /* Black watermark for yellow/light cards */
    filter: grayscale(100%) brightness(0);
    opacity: 0.1;
}

.visual-card:hover .card-icon-bg {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.25;
    bottom: -10px;
    right: -10px;
}

.visual-card.secondary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
    /* Mirror the shape for the secondary (Vision) card */
    border-radius: 60px 0 60px 0;
}

.visual-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.visual-card p {
    font-size: 15px;
    opacity: 0.9;
}

/* ===== SERVICES SECTION ===== */
/* ===== SHARED SECTION STYLES (Backgrounds) ===== */
.about,
.services,
.why-apc,
.careers {
    background: linear-gradient(rgba(248, 250, 252, 0.92), rgba(237, 242, 247, 0.92)), url('images/common-bg-pattern.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.service-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}



.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.15);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.service-card>p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-card.featured>p {
    color: rgba(255, 255, 255, 0.8);
}



.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

.service-list li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* Services Pages Text Adjustments */
.services p,
.services ul li {
    line-height: 1.5;
}


/* ===== CLIENTS SECTION ===== */
.clients {
    background: white;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.industry-item {
    background: var(--bg-light);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.industry-item span {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.industry-item p {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.category-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
}

.quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
}

.testimonial-card>p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
}

.author-info h4 {
    font-size: 16px;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--bg-dark);
    color: var(--text-light);
}

.projects .section-title {
    color: var(--text-light);
}

.projects .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.project-card.large {
    grid-column: span 2;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(201, 162, 39, 0.2);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.project-card>p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.project-stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
}

.project-stat {
    text-align: left;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.project-stat .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.result-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

/* ===== TEAM SECTION ===== */
.team {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.team-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--text-light);
    font-weight: 600;
}

.team-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.team-role {
    display: block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card>p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Why APC SECTION ===== */
.why-apc {
    padding: 100px 0;
    scroll-margin-top: 90px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.why-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-card.secondary {
    background: var(--primary);
    color: var(--text-light);
    border: none;
}

.why-card.secondary .reach-out-title {
    color: var(--text-light);
}

.why-card.secondary .reach-out-title::after {
    background: var(--accent);
}

.why-text {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.why-principle {
    font-size: 15px;
    padding: 15px;
    background: rgba(201, 162, 39, 0.1);
    border-left: 4px solid var(--accent);
    margin-bottom: 24px;
}

.why-card.secondary .why-principle {
    background: rgba(255, 255, 255, 0.1);
}

.why-list,
.impact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
}

.why-list li,
.impact-list li {
    font-size: 15px;
    position: relative;
    padding-left: 28px;
}

.why-list li::before,
.impact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    height: 16px;
    width: 16px;
    background-image: url('images/right arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.why-list li span {
    font-weight: 600;
    color: var(--primary);
}

.why-card.secondary .why-list li span {
    color: var(--accent);
}

.why-footer {
    font-size: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CAREERS SECTION ===== */
.careers {
    position: relative;
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    scroll-margin-top: 90px;
}

.careers .section-title {
    color: var(--text-light);
}

.careers .breadcrumb,
.careers .reach-out-title {
    color: #1a365d;

}

.careers-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.file-upload {
    flex: 1;
    margin-bottom: 0;
}

.file-upload input[type="file"] {
    background: var(--bg-light);
    border: 1px dashed var(--accent);
    padding: 10px;
}

@media (max-width: 992px) {
    .careers {
        background-attachment: scroll;
    }
}

@media (max-width: 600px) {
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .careers-wrapper {
        padding: 24px;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: white;
    padding: 60px 0;
    /* Reduced from 100px to help fit on screen */
    scroll-margin-top: 90px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-map-column {
    display: flex;
    flex-direction: column;
    /* Ensure it fills the grid cell height */
    height: 100%;
}

.map-wrapper {
    flex: 1;
    width: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 300px;
    height: 500px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    /* Override HTML attribute if present */
    border: none;
}

.contact-info,
.contact-form-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Reduced gap between header and boxes */
}

.reach-out-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
    /* Reduced margin */
    position: relative;
    padding-bottom: 10px;
}

.reach-out-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #7cb342;
    /* Green underline from photo */
}

/* Hide labels for inputs/textareas - using placeholders as in the photo */
.form-group:has(input, textarea) label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-group input,
.form-group textarea {
    padding: 16px 20px !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #718096;
    /* Clearly visible placeholder as requested */
    opacity: 1;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.info-icon {
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-card h3,
.contact-form h3 {
    font-size: 24px;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.info-card h3 {
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 30px;
    /* Reduced padding from 40px */
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-form h3 {
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.5);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkbox-label {
    user-select: none;
}

@media (max-width: 600px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 30px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.5fr;
    gap: 48px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 50px;
}

.footer-logo .logo-name {
    font-size: 20px;
    font-weight: 600;
}

.footer-logo .logo-tagline {
    font-size: 12px;
    /* font-style: italic; */
    /* Slightly larger tagline */
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-brand>p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Large Tablets / Small Laptops */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card.large {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-grid {
        gap: 40px;
    }

    .visual-card {
        padding: 30px;
    }

    .service-list li::before {
        content: "\2714";
        position: absolute;
        left: 0;
        color: var(--text-muted);
        font-size: 15px;
    }
}

/* Tablets & Mobile */
@media (max-width: 768px) {

    /* Global Adjustments */
    .container {
        padding: 0 20px;
        /* Increased padding for better spacing on tablets */
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Navbar Mobile Styles */
    .nav-links {
        display: none;
        /* Hide by default */
        position: fixed;
        /* Fixed to cover screen */
        top: 0;
        right: 0;
        /* Align to right edge */
        width: 80%;
        /* Drawer width */
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 80px 24px 24px;
        flex-direction: column;
        gap: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateX(100%);
        /* Move off-screen to the right */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        left: auto;
        /* Reset left from default styles if any */
        z-index: 1000;
        opacity: 0;
        /* Hidden by default */
        visibility: hidden;
        /* Hidden by default */
    }

    .nav-links.active {
        display: block;
        /* Show when active */
        transform: translateX(0);
        /* Slide in */
        opacity: 1;
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0s;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 16px;
    }

    .nav-link::after {
        display: none;
        /* Remove hover underline effect for mobile */
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        /* Above the drawer */
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile Dropdowns */
    .nav-dropdown:hover .dropdown-menu {
        display: none;
        /* Disable hover triggers on mobile */
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        padding: 0;
        border-radius: 4px;
        margin-top: 5px;
        margin-bottom: 10px;
        border: none;
        opacity: 0;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }

    /* Show dropdown when active class is toggled by JS */
    .nav-dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        max-height: 500px;
        /* Arbitrary large height for transition */
        padding: 10px 0;
    }

    .nav-dropdown.active .nav-link {
        color: var(--accent);
    }

    .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.8);
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-light);
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 170px 32px 80px;
        /* Increased horizontal padding & Top padding to clear header */
    }

    .hero-content {
        padding: 0 16px;
        /* Additional padding for content */
    }

    .hero-title {
        font-size: 2.5rem;
        /* Fallback */
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Secondary Hero Responsive */
    .secondary-hero {
        padding: 0 24px;
    }

    .secondary-hero .hero-content {
        padding: 0 16px;
    }

    .secondary-hero .hero-title {
        font-size: 2.5rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-side {
        order: -1;
        justify-content: center;
        /* Show image first on mobile if desired, or remove to keep text first */
    }

    /* About page - Vision & Mission first on mobile */
    .about-visual {
        order: 1;
        /* Vision & Mission cards appear first on mobile */
    }

    .about-content {
        order: 2;
        /* Leadership Team appears second on mobile */
    }



    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-list li::before {
        content: "\2714";
        position: absolute;
        left: 0;
        color: var(--text-muted);
        font-size: 15px;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        grid-column: span 1;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-wrapper {
        height: 350px;
    }


    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    /* Wavy layout fix for tiny screens */
    .services-wave-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        min-height: auto;
    }

    .service-node {
        width: 100%;
        max-width: 250px;
        padding: 20px;
        border-radius: 12px;
        margin: 0 auto;
        transform: none !important;
    }

    .service-node::before {
        border-radius: 12px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
        /* Reduced padding for very small screens while maintaining readability */
    }

    .hero {
        padding: 170px 20px 80px;
        /* Ensure adequate padding on very small screens */
    }

    .hero-content {
        padding: 0 12px;
        /* Additional padding for very small screens */
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Secondary Hero on Small Screens */
    .secondary-hero {
        padding: 0 20px;
    }

    .secondary-hero .hero-content {
        padding: 0 12px;
    }

    .secondary-hero .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .nav-links {
        width: 100%;
        /* Full screening on small phones */
        max-width: none;
    }

    .logo-img {
        height: 60px;
    }

    .logo-name {
        font-size: 22px;
    }

    .logo-tagline {
        font-size: 13px;
    }

    .welcome-title {
        font-size: 0.5rem;
    }

    .welcome-firm-name {
        font-size: 1rem;
    }

    .leader-block {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .leader-body {
        width: 100%;
    }

    .leader-float-img {
        width: 200px;
        height: 220px;
        margin-bottom: 20px;
    }

    .leader-name {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .service-list li::before {
        content: "\2714";
        position: absolute;
        left: 0;
        color: var(--text-muted);
        font-size: 15px;
    }

    .visual-card {
        border-radius: 0 30px 0 30px;
    }

    .visual-card.secondary {
        border-radius: 30px 0 30px 0;
    }

    .hero-buttons .btn {
        padding: 14px 16px;
    }

    .nav-links {
        padding: 60px 16px 20px;
    }

    p,
    li,
    a,
    span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Secondary Hero for Subpages */
.secondary-hero {
    min-height: 40vh;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 32px;
    /* Ensure horizontal padding */
}

.secondary-hero .hero-content {
    padding: 0 20px;
    /* Additional padding for content */
}

.secondary-hero .hero-title {
    font-size: 3.5rem;
}

/* Services Teaser */
.services-teaser {
    padding: 80px 0;
    /* Dark overlay on the common pattern to maintain home page hierarchy while adding texture */
    background: linear-gradient(180deg, #0b1c33, #0e2a4d);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    position: relative;
}

.services-teaser .section-title {
    color: var(--text-light);
}

.services-teaser .services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* FORCE 6 in one row */
    gap: 24px;
    margin-top: 40px;
}

.services-teaser .service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.services-teaser .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    color: var(--primary);
    border-color: var(--primary);
}

.teaser-content p {
    line-height: 1.8;
}

/* Learn More */
.learn-more {
    color: var(--accent);
}

/* Flip Card Container */
.flip-card-link {
    display: block;
    text-decoration: none;
    outline: none;
}

.flip-card-link:focus {
    outline: none;
}

.flip-card {
    perspective: 1200px;
    height: 260px;
}

/* Inner wrapper */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

/* Flip on hover */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Front & Back common styles */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* FRONT SIDE */
.flip-card-front {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
}

.flip-card-front img {
    width: 150px;
    height: 100px;
    object-fit: contain;
}



.service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Title below image */
.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    text-align: center;
}

/* BACK SIDE */
.flip-card-back {
    background: #ffffff;
    color: #000000;
    padding: 20px;
    transform: rotateY(180deg);
    display: flex;
    backdrop-filter: blur(6px);
    border: 1px solid #e5e7eb;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.flip-card-back h3 {
    color: #9c6d00f0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #000000;
}

.flip-card-back a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
}


@media (max-width: 1200px) {
    .services-teaser .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-teaser .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-teaser .services-grid {
        grid-template-columns: 1fr;
    }

    .services-teaser .service-card {
        padding: 24px 16px;
    }
}

/* Wavy Services Layout */
.services-wave-container {
    position: relative;
    max-width: 1200px;
    margin: 20px auto 80px;
    padding: 40px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 350px;
}

.service-node {
    width: 150px;
    height: 150px;
    background: #0a1628;
    border: 6px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-node::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.service-node:hover {
    transform: scale(1.15) translate(var(--tx, 0), var(--hover-y, -10px)) !important;
    border-color: #fff;
    box-shadow: 0 20px 40px rgba(201, 162, 39, 0.6);
    z-index: 10;
}

/* Individual node coloring and wave positioning */
.node-1 {
    transform: translateY(70px);
    --hover-y: 60px;
    border-color: #e6a71e;
}

.node-2 {
    transform: translateY(-70px);
    --hover-y: -80px;
    border-color: #d92121;
}

.node-3 {
    transform: translateY(70px);
    --hover-y: 60px;
    border-color: #9c27b0;
}

.node-4 {
    --tx: -9px;
    transform: translate(var(--tx), 70px);
    --hover-y: 60px;
    border-color: #0d47a1;
}

.node-5 {
    --tx: -15px;
    transform: translate(var(--tx), -70px);
    --hover-y: -80px;
    border-color: #00838f;
}

.node-6 {
    --tx: -9px;
    transform: translate(var(--tx), -70px);
    --hover-y: -80px;
    border-color: #2e7d32;
}

.node-7 {
    --tx: -17px;
    transform: translate(var(--tx), 70px);
    --hover-y: 60px;
    border-color: #f57c00;
}

/* The wave background line */
.services-wave-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background-image: url('images/service-design1.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .services-wave-container {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .service-node {
        transform: none !important;
        width: 140px;
        height: 140px;
    }

    .services-wave-container::after {
        display: none;
    }
}

/* About Teaser */
.about-teaser {
    padding: 70px 0px;
    background: white;
}

.about-image-side {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.about-image-side img {
    width: 90%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);

}

.about-teaser .about-content {
    text-align: left;
}

.about-teaser .about-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.welcome-header {
    text-align: center;
    margin-bottom: 50px;
}

.welcome-title {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 1.8rem;
    /* color: var(--primary); */
}

.welcome-firm-name {
    font-size: 1.8rem;
    margin: 0;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto 0;
}

/* Leadership floated image */
.leader-float-img {
    height: 200px;
    width: 180px;
    /* No float, handled by flex parent */
    object-fit: cover;
    object-position: top center;
    /* Prevents head from being cut off */
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

/* Leader name */
.leader-name {
    padding: 0 0 10px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

/* Leader block container */
.leader-block {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
}

/* Reset margin for subsequent blocks if needed */
.leader-block:not(:first-of-type) .leader-float-img {
    margin-top: 0;
}

.leader-body {
    overflow: hidden;
}

.leader-name span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 1rem;
}



/* Transitions */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments for Flip Cards - Disable flip and show only front */
@media (max-width: 768px) {
    .flip-card:hover .flip-card-inner {
        transform: none;
    }

    .flip-card-inner {
        transform: none !important;
    }

    .flip-card-back {
        display: none !important;
    }
}