/* ============================================================
   BMSR & Co - Chartered Accountants
   Professional CSS Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@700;800&display=swap');

/* ─────────────────────────────────────────────────────────────
   CSS Variables & Root Styles
   ───────────────────────────────────────────────────────────── */

:root {
    /* Modern Professional Palette */
    --primary-color: #0A3D62;
    --primary-dark: #051E2F;
    --secondary-color: #1E5F74;
    --accent-color: #1E5F74;
    --accent-light: #2A7A8F;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: #F0F4F8;
    --white: #FFFFFF;
    --dark-text: #0F0F0F;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #D5DDE0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --font-size-4xl: 56px;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;
}

/* ─────────────────────────────────────────────────────────────
   Global Styles
   ───────────────────────────────────────────────────────────── */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-family-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    font-size: var(--font-size-base);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 { font-size: var(--font-size-4xl); font-weight: 800; }
h2 { font-size: var(--font-size-3xl); font-weight: 700; }
h3 { font-size: var(--font-size-2xl); font-weight: 700; }
h4 { font-size: var(--font-size-xl); font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: var(--font-size-sm); font-weight: 600; }

p {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

/* Paragraph justification removed per request; paragraphs use default left alignment. */

/* Apply justification only to main body paragraphs on About and Team pages */
/* About page: intro and about content */
.about .section-header p,
.about .about-content p,
.about .about-grid .about-content p,
.about .info-card p {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Team page: leadership details and member bios */
.team .section-header p,
.team .leadership-grid .leader-details p,
.team .member-bio p,
.team .team-category .team-grid .member-bio p {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}


a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-light);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    transition: color var(--transition);
}

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

.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -0.35rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 99px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 0.85rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   Top Contact Bar
   ───────────────────────────────────────────────────────────── */

.top-contact-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--light-bg);
    font-size: 14px;
}

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

.social-links a {
    color: var(--white);
    transition: var(--transition);
    font-size: 16px;
}

.social-links a:hover {
    color: var(--light-bg);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .top-contact-bar {
        display: none;
    }
    
    .header-wrap {
        padding: 0.75rem 0;
        gap: 1rem;
    }
    
    .logo-line1 {
        font-size: 1.5rem;
    }
    
    .logo-tagline .tag-line1 {
        font-size: 0.85rem;
    }
    
    .logo-tagline .tag-line2 {
        font-size: 0.7rem;
    }
    
    .cta-btn {
        padding: 0.6rem 1rem;
        font-size: 13px;
    }
    
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .mobile-nav a {
        padding: 0.85rem 1rem;
        font-size: 15px;
    }
}

/* ─────────────────────────────────────────────────────────────
   Header Navigation
   ───────────────────────────────────────────────────────────── */

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .header-wrap {
        padding: 0.75rem 0;
        gap: 1rem;
    }
    
    .logo a {
        font-size: 16px;
    }
    
    .logo-line1 {
        font-size: 1.5rem;
    }
    
    .logo-tagline .tag-line1 {
        font-size: 0.85rem;
    }
    
    .logo-tagline .tag-line2 {
        font-size: 0.7rem;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 0 var(--spacing-md);
    }
    
    .header-wrap {
        padding: 0.6rem 0;
        gap: 0.5rem;
    }
    
    .logo {
        gap: 0.4rem;
    }
    
    .logo-line1 {
        font-size: 1.3rem;
        letter-spacing: 0.05em;
    }
    
    .logo-line1::after {
        margin: 0 0.4rem;
    }
    
    .logo-tagline .tag-line1 {
        font-size: 0.75rem;
        letter-spacing: 0.18em;
    }
    
    .logo-tagline .tag-line2 {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }
    
    .cta-btn {
        padding: 0.55rem 1rem;
        font-size: 12px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

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

.firm-name {
    color: var(--primary-color);
    font-family: var(--font-family-heading);
    font-size: 20px;
    font-weight: 700;
}

/* Logo text split for two-line logo (large name + small descriptor) */
.logo-text {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    line-height: 1;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
}

.logo-line1,
.logo-line2 {
    white-space: nowrap;
}
.logo-line1 {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.logo-tagline {
    display: inline-flex;
    flex-direction: column;
    margin-left: 0.6rem;
    line-height: 1;
}

.logo-tagline .tag-line1 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.logo-tagline .tag-line2 {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0.12em;
    margin-top: -2px;
}

/* Decorative separator '|' after the main logo text */
.logo-line1::after {
    content: '|';
    display: inline-block;
    color: var(--text-light);
    margin: 0 0.7rem;
    font-weight: 700;
    transform: translateY(-2px);
    letter-spacing: normal;
}

/* Slight spacing adjustments to match reference */
.logo-text {
    gap: 0.5rem;
    align-items: center;
}

.nav {
    flex: 1;
}

.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--secondary-color);
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active {
    color: var(--secondary-color);
}

.nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
    align-items: center;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    background: var(--light-bg);
    padding: 1.25rem var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.mobile-nav ul {
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.mobile-nav a:hover {
    background: var(--white);
    padding-left: 1.5rem;
    color: var(--secondary-color);
}

@media (max-width: 600px) {
    .mobile-nav {
        padding: 1rem var(--spacing-md);
    }
    
    .mobile-nav a {
        padding: 0.75rem 1rem;
        font-size: 14px;
    }
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(10, 61, 98, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 61, 98, 0.4);
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .header-wrap {
        flex-wrap: wrap;
        align-items: center;
    }
    
    .logo {
        min-width: 0;
    }
    
    .logo-text {
        flex-wrap: wrap;
        white-space: normal;
        min-width: 0;
    }
    
    .logo-line1,
    .logo-tagline {
        white-space: normal;
    }
    
    .header-actions {
        flex-shrink: 1;
        min-width: 0;
    }
    
    .nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .cta-btn {
        padding: 0.6rem 1.2rem;
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    .header-wrap {
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
        justify-content: space-between;
        padding: 0.45rem 0;
    }
    
    .logo {
        flex-shrink: 0;
        min-width: 0;
        width: auto;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.08rem;
        white-space: normal;
        min-width: 0;
        max-width: calc(100vw - 70px);
    }
    
    .logo-line1 {
        font-size: 1.05rem;
        letter-spacing: 0.08em;
        line-height: 1.05;
    }
    
    .logo-line1::after {
        display: none;
    }
    
    .logo-tagline {
        margin-left: 0;
    }
    
    .logo-tagline .tag-line1,
    .logo-tagline .tag-line2 {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }
    
    .header-actions {
        gap: 0.5rem;
        flex-shrink: 0;
        min-width: 0;
        display: flex;
        align-items: center;
        margin-left: auto;
    }
    
    .cta-btn {
        display: none;
    }
    
    .hamburger {
        padding: 0.5rem;
        gap: 4px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .mobile-nav {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background: var(--white);
    }
}


/* ─────────────────────────────────────────────────────────────
   Button Styles
   ───────────────────────────────────────────────────────────── */

.btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 25px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-family-body);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .btn-sm {
        padding: 0.5rem 0.9rem;
        font-size: 12px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(10, 61, 98, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 61, 98, 0.4);
}

.btn-secondary {
    background: rgba(10, 61, 98, 0.08);
    color: var(--primary-color);
    border: 2px solid rgba(10, 61, 98, 0.18);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1aa952;
}

.btn-email {
    background: var(--accent-color);
    color: var(--white);
}

.btn-email:hover {
    background: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

/* ─────────────────────────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-compact {
    min-height: 320px;
    padding: 3rem 0;
}

.section-highlight {
    background: var(--light-bg);
}

.feature-grid,
.service-preview-grid,
.preview-grid {
    display: grid;
    gap: 1.75rem;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.service-preview-grid,
.preview-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.home-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.05), rgba(30, 95, 116, 0.05));
}

.cta-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    text-align: center;
}

.cta-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-card p {
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.service-preview-card,
.preview-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-preview-card:hover,
.preview-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.service-preview-card h4,
.preview-card h4 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.service-preview-card p,
.preview-card p {
    color: var(--text-light);
    line-height: 1.75;
}

@media (max-width: 900px) {
    .feature-grid,
    .service-preview-grid,
    .preview-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-preview-grid,
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-preview-card,
    .preview-card {
        padding: 1.5rem;
    }
    
    .service-preview-card h4,
    .preview-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-preview-card p,
    .preview-card p {
        font-size: 0.9rem;
    }
}

/* Map container: keep map compact and centered for better visibility */
.map-container {
    max-width: 900px;
    margin: 1.5rem auto;
}
.map-container iframe {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    border: 0;
}

.hero-slider {
    position: relative;
    height: 700px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slide:first-child {
    opacity: 1;
}

@keyframes slideIn {
    0%, 33% {
        opacity: 1;
    }
    33%, 100% {
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: fadeInUp 0.8s ease-out forwards;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Counters */
.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.97) 0%, rgba(30, 95, 116, 0.97) 100%);
    position: relative;
    top: -60px;
    margin: 0 var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
}

.counter-item {
    text-align: center;
    color: var(--white);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-bg);
    margin-bottom: 0.5rem;
}

.counter-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .counters {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
        top: -40px;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    section {
        padding: 2.5rem var(--spacing-md);
    }
    
    .hero {
        min-height: 420px;
    }
    
    .hero-slider {
        height: 420px;
    }
    
    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.7rem 1.5rem;
        font-size: 13px;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 1.35rem;
    }

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

    .contact-info-box .map-embed iframe {
        height: 200px;
    }
    
    .counters {
        grid-template-columns: 1fr;
        position: relative;
        top: -20px;
        padding: 1.25rem;
        margin: 0 var(--spacing-md) 1.5rem;
        gap: 1rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-item p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }

    .chat-toggle {
        display: none !important;
    }

    .scroll-top {
        display: none !important;
    }

    .floating-whatsapp {
        display: flex;
        bottom: 20px;
        right: auto;
        left: 20px;
        width: 55px;
        height: 55px;
    }

    .chat-widget {
        display: none !important;
        width: auto;
        max-width: none;
        right: auto;
        left: auto;
        bottom: auto;
    }
}


/* ─────────────────────────────────────────────────────────────
   Section Styles
   ───────────────────────────────────────────────────────────── */

section {
    padding: 3.5rem var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.section-taglines {
    max-width: 760px;
    margin: 1.25rem auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.section-taglines p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.75;
}

.section-taglines .tagline-strong {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary-color);
}

.section-taglines .tagline-secondary {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0.25rem;
    font-style: normal;
}

.section-taglines .tagline-support {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.75rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-taglines {
        margin-top: 1rem;
        padding: 0;
        gap: 0.25rem;
    }

    .section-taglines .tagline-strong {
        font-size: 1.15rem;
    }

    .section-taglines .tagline-secondary,
    .section-taglines .tagline-support {
        font-size: 0.98rem;
    }
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 0 auto;
    max-width: 720px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1.25rem auto 0.75rem;
    border-radius: 10px;
}

/* ─────────────────────────────────────────────────────────────
   About Section
   ───────────────────────────────────────────────────────────── */

.about {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.about-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.about-sidebar {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    border-radius: 15px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid rgba(15, 15, 15, 0.06);
}

.info-card h4 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.info-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.75;
}

.info-card-vision {
    background: linear-gradient(180deg, rgba(15, 44, 79, 0.05), rgba(255, 255, 255, 0.95));
    border-color: rgba(10, 61, 98, 0.14);
}

.info-card-mission {
    background: var(--white);
}

.about-grid.single-column {
    grid-template-columns: 1fr;
}

.about-grid.single-column .about-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(10,61,98,1), rgba(30,95,116,1));
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(10,61,98,0.15);
    margin-top: 0.2rem;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .about-list li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .about-list i {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.9rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   Services Section
   ───────────────────────────────────────────────────────────── */

.services {
    background: var(--white);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 1.75rem 1.25rem;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

.service-category {
    margin-bottom: 4rem;
}

.service-category {
    position: relative;
}

.category-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0;
    text-align: left;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.service-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-scroll-controls {
    display: flex;
    gap: 0.5rem;
}

.service-scroll-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.service-scroll-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.service-scroll-btn:focus {
    outline: 2px solid rgba(30, 95, 116, 0.3);
    outline-offset: 2px;
}

/* Overlay side buttons (visible over grid) */
.service-overlay-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(10,61,98,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 10;
}

.service-overlay-btn.left { left: 8px; }
.service-overlay-btn.right { right: 8px; }

.service-overlay-btn:hover { background: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }

.category-title i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.services-grid {
    position: relative;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.03) 0%, rgba(30, 95, 116, 0.03) 100%);
    transform: translateY(100%);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(10, 61, 98, 0.14);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

/* Larger desktop layout: force 3 columns for core services to match design */
@media (min-width: 1100px) {
    .services .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Center the 'View Full Services' CTA to match design */
.services > .container > div[style] {
    text-align: center;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .service-card {
        min-width: 0;
    }

    .service-category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-scroll-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .direct-contact-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* ─────────────────────────────────────────────────────────────
   Choose Grid Section
   ───────────────────────────────────────────────────────────── */

.choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.choose-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-height: 240px;
    padding: 1.7rem 1.8rem;
}

.choose-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.choose-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.choose-body h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.accent-line {
    width: 56px;
    height: 4px;
    background: #C79B2E; /* gold accent */
    border-radius: 2px;
    margin-bottom: 1rem;
}

.choose-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Behavior */
@media (max-width: 1100px) {
    .choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 600px) {
    .choose-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .choose-card {
        flex-direction: row;
        min-height: auto;
    }
    
    .choose-number {
        width: 76px;
        min-width: 76px;
        font-size: 1.75rem;
    }
    
    .choose-body {
        padding: var(--spacing-md);
    }
}

/* ─────────────────────────────────────────────────────────────
   Team Section
   ───────────────────────────────────────────────────────────── */

.team, .leadership {
    background: var(--light-bg);
}

.leadership {
    padding-top: 3rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: flex-start;
}

.leader-image-card {
    display: grid;
    gap: 0.75rem;
}

.leader-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.leader-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.leader-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    width: fit-content;
}

.leader-details h3 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.leader-meta {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.expertise-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.expertise-tags span {
    padding: 0.8rem 1rem;
    background: var(--white);
    border: 1px solid rgba(15, 15, 15, 0.08);
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.team-category {
    margin-top: 2.5rem;
}

.category-title {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.9rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 10px;
    margin-bottom: 1rem;
}

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

.team-member {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 25, 45, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(15, 25, 45, 0.05);
    height: 100%;
}

.team-member:hover {
    box-shadow: 0 12px 32px rgba(15, 25, 45, 0.12);
    transform: translateY(-4px);
}

.member-image {
    position: relative;
    height: 260px;
    min-height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(15, 25, 45, 0.03) 100%);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: var(--transition);
}

.member-image.skanda-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 98, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1.5rem;
}

.member-social a {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.2rem;
}

.member-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.member-info {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.member-info .credentials {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.member-info .experience {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-experience i {
    color: var(--secondary-color);
}

.member-specializations {
    background: rgba(10, 61, 98, 0.04);
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    border-left: 4px solid var(--secondary-color);
}

.member-specializations h5 {
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.member-specializations ul {
    list-style: none;
    padding: 0;
}

.member-specializations li {
    color: var(--text-dark);
    font-size: 0.85rem;
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.member-specializations li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.member-bio {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(15, 25, 45, 0.06);
    margin-bottom: 1.25rem;
}

.member-bio p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.member-info .btn {
    align-self: flex-start;
    margin-top: 0.75rem;
}

@media (max-width: 900px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.75rem;
    }
    
    .member-image {
        height: 240px;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .member-info h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .member-image {
        height: 260px;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .member-info h4 {
        font-size: 1.1rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   Career Section
   ───────────────────────────────────────────────────────────── */

.career {
    background: var(--white);
}

.career-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.career-benefits {
    list-style: none;
}

.career-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.career-benefits i {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.job-listings {
    list-style: none;
    border-left: 3px solid var(--accent-color);
    padding-left: 2rem;
    margin-left: 0;
}

.job-listings li {
    margin-bottom: 2rem;
}

.job-listings h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.job-listings p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.career-application {
    background: linear-gradient(135deg, rgba(240, 244, 248, 0.8), var(--light-bg));
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(30, 95, 116, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.career-application h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.career-application > p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   Form Styles
   ───────────────────────────────────────────────────────────── */

.application-form,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.1rem;
    border: 1.5px solid rgba(30, 95, 116, 0.2);
    border-radius: 10px;
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(30, 95, 116, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    max-height: 220px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form .btn,
.application-form .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    text-align: center;
}

.file-upload-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.file-upload-group input[type="file"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(30, 95, 116, 0.2);
    border-radius: 10px;
    background: var(--white);
}

.file-preview {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    background: rgba(10, 61, 98, 0.08);
    border: 1px solid rgba(10, 61, 98, 0.18);
    border-radius: 10px;
    min-height: auto;
}

.file-preview .file-name {
    font-size: 0.95rem;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-remove-btn {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    background: rgba(10, 61, 98, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(10, 61, 98, 0.2);
}

.file-remove-btn:hover {
    background: rgba(10, 61, 98, 0.18);
}

.file-preview.hidden {
    display: none;
}

.contact-form .btn-primary:hover,
.application-form .btn-primary:hover {
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .career-content {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }
    
    .career-application {
        position: static;
        margin: 2rem auto 0;
        width: 100%;
        max-width: 660px;
        padding-bottom: 1.5rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   Contact Section
   ───────────────────────────────────────────────────────────── */

.contact {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-page-grid {
    grid-template-columns: minmax(300px, 420px) 1fr;
}

.contact-info-box,
.contact-form-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.contact-form-box {
    background: linear-gradient(135deg, rgba(240, 244, 248, 0.8), var(--light-bg));
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(30, 95, 116, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact-info-box h3,
.contact-form-box h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}


.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.direct-contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.direct-contact-buttons .btn {
    flex: 1;
}

.contact-info-box .map-embed {
    margin-top: 2rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-info-box .map-embed iframe {
    width: 100%;
    height: 180px;
    border: 0;
    display: block;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 1rem;
}

.map-container h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 2rem;
    }
    
    .direct-contact-buttons {
        flex-direction: column;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 1.75rem;
        width: 100%;
        max-width: 660px;
        margin: 0 auto;
    }
}

/* ─────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────── */

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem var(--spacing-md) 1.5rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--light-bg);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--light-bg);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
    color: var(--light-bg);
}

.footer-social a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────────────────────
   Floating Buttons
   ───────────────────────────────────────────────────────────── */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    animation: float 3s ease-in-out infinite;
    z-index: 99;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-top {
    position: fixed;
    bottom: 170px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 99;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 61, 98, 0.3);
}

/* ─────────────────────────────────────────────────────────────
   Chat Widget
   ───────────────────────────────────────────────────────────── */

.chat-toggle {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(10, 61, 98, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 98;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(10, 61, 98, 0.4);
}

.chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    max-height: 550px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    border: 1px solid rgba(10, 61, 98, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    z-index: 999;
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}

.chat-widget.open {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    color: var(--white);
    margin: 0;
    font-size: 1.1rem;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close:hover {
    transform: scale(1.2);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.9rem;
    background: #f9fafb;
    min-height: 200px;
    max-height: 320px;
}

.chat-message {
    margin-bottom: 1rem;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message p {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.chat-message small {
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.bot-message p {
    background: var(--light-bg);
    color: var(--text-dark);
}

.user-message {
    text-align: right;
}

.user-message p {
    background: var(--secondary-color);
    color: var(--white);
}

.chat-options {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    max-height: 150px;
    overflow-y: auto;
}

.chat-options.hidden {
    display: none;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.chat-option {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    color: var(--text-dark);
    font-family: var(--font-family-body);
    text-align: left;
}

.chat-option:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.chat-input-box {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-input-box input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-family: var(--font-family-body);
    font-size: 0.9rem;
}

.chat-input-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(30, 95, 116, 0.1);
}

.chat-input-box button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-box button:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .chat-widget {
        width: 320px;
        max-height: 520px;
        bottom: 80px;
        right: 15px;
    }
    
    .chat-messages {
        max-height: 280px;
    }
}

@media (max-width: 600px) {
    .chat-widget {
        display: none !important;
        width: auto;
        right: auto;
        left: auto;
    }
    
    .chat-widget.open {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: auto;
        width: calc(100vw - 40px);
        max-width: 320px;
        max-height: calc(100vh - 100px);
        z-index: 999;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: auto;
        left: 20px;
        width: 55px;
        height: 55px;
    }
    
    .chat-toggle {
        display: flex !important;
        position: fixed;
        bottom: 90px;
        right: auto;
        left: 20px;
        width: 55px;
        height: 55px;
        z-index: 98;
    }
    
    .scroll-top {
        display: none !important;
    }
}


/* ─────────────────────────────────────────────────────────────
   Scrollbar Styling
   ───────────────────────────────────────────────────────────── */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ─────────────────────────────────────────────────────────────
   Responsive Breakpoints
   ───────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

@media (max-width: 900px) {
    section {
        padding: 3rem var(--spacing-md);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 600px) {
    :root {
        --font-size-3xl: 28px;
        --font-size-2xl: 24px;
        --font-size-xl: 20px;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
    }
    
    section {
        padding: 2rem var(--spacing-md);
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}
