/* ==========================================================================
   PERUMATTY SERVICE CO-OPERATIVE BANK LTD. - DESIGN SYSTEM
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* Color Variables and Theme Tokens */
:root {
    --primary: #102A43; /* Deep Navy */
    --primary-hover: #0C2135;
    --primary-light: #F0F4F8;
    --primary-rgb: 16, 42, 67;
    --secondary: #147D92; /* Teal */
    --secondary-hover: #0F6172;
    --accent: #C47F52; /* Muted Copper */
    --accent-hover: #A56338;
    --accent-light: #FDF7F3;
    --text-dark: #17212B; /* Deep Charcoal */
    --text-muted: #52606D; /* Slate */
    --bg-white: #FFFFFF;
    --bg-light: #F7F5F0; /* Warm Off-White */
    --border-light: #D9E2EC;
    --shadow-sm: 0 2px 4px rgba(16,42,67,0.02);
    --shadow-md: 0 10px 30px rgba(16,42,67,0.05);
    --shadow-lg: 0 20px 40px rgba(16,42,67,0.08);
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --border-radius-sm: 6px; /* 6px-8px border radius as requested */
    --border-radius-md: 10px; /* 8px-12px as requested for cards */
    --border-radius-lg: 20px;
    --max-width: 1200px;
}

/* Base resets & global layouts */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
}

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

button, input, select, textarea {
    font-family: inherit;
}

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

/* Common Layout Containers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

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

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

/* Header & Section Headings */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
    position: relative;
    color: var(--primary); /* Deep Navy headings */
}

.section-header .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent); /* Muted Copper */
    margin: 16px auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700; /* Bold Manrope font for buttons */
    border-radius: var(--border-radius-sm); /* 6px as configured in root */
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Primary Button (Teal #147D92, White text) */
.btn-primary, .btn-accent {
    background-color: var(--secondary) !important; /* Teal */
    color: #FFFFFF !important;
    border: 2px solid var(--secondary) !important;
    box-shadow: 0 4px 10px rgba(20, 125, 146, 0.1);
}

.btn-primary:hover, .btn-accent:hover {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(20, 125, 146, 0.2);
}

/* Secondary Button (Transparent/white, Navy border, Navy text) */
.btn-secondary {
    background-color: transparent !important;
    color: var(--primary) !important; /* Navy */
    border: 2px solid var(--primary) !important;
}

.btn-secondary:hover {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 42, 67, 0.15);
}

/* Outline White Button (Transparent, White border, White text) */
.btn-outline-white {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
}

.btn-outline-white:hover {
    background-color: #FFFFFF !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

/* Sticky Navigation Bar */
.navbar-spacer {
    display: block;
    height: 110px; /* Desktop navbar height - updated to accommodate larger logo */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #FFFFFF; /* Clean SOLID WHITE background */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow underneath */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    height: 110px; /* Desktop navbar height - updated to accommodate larger logo */
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 90px; /* Slightly compact on scroll - updated */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    background-color: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-container {
    width: 90px; /* Desktop logo size - scaled to height to fit nicely inside navbar */
    height: auto;
    border-radius: 0; /* REMOVE THE CIRCLE */
    background-color: transparent; /* NO BACKGROUND */
    border: none; /* NO BORDER */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: var(--transition-smooth);
    box-shadow: none; /* NO SHADOW */
    padding: 0; /* NO PADDING */
}

.navbar.scrolled .logo-container {
    width: 70px; /* Slightly scaled on scroll - updated */
    height: auto;
}

.logo-container img {
    width: 100%; /* Occupy full width of container */
    height: auto;
    object-fit: contain;
}

.brand-names {
    display: flex;
    flex-direction: column;
}

.brand-title-full {
    font-size: 15px;
    font-weight: 800; /* Bold & highly visible */
    color: var(--primary); /* Dark green brand color */
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: none; /* No shadow needed on solid white */
}

.brand-subtitle-full {
    font-size: 10px;
    color: var(--accent); /* Muted Copper accent */
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: none; /* No shadow needed on solid white */
}

/* Nav Menu links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 14px; /* Slightly larger nav options */
    font-weight: 700; /* Bold & highly visible */
    color: var(--primary) !important; /* Dark green text consistently */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    cursor: pointer;
    text-shadow: none !important; /* No shadow needed on solid white */
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary); /* Teal hover indicator */
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.nav-link.active {
    color: var(--secondary) !important;
}

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

/* Navbar actions & ENQUIRY button */
.navbar-actions {
    display: flex;
    align-items: center;
}

.navbar .btn-primary {
    background-color: var(--accent) !important; /* Brand gold */
    color: var(--primary-hover) !important; /* Dark green text for strong contrast */
    padding: 10px 24px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: var(--border-radius-sm) !important;
    border: 2px solid var(--accent) !important;
    transition: var(--transition-smooth) !important;
    letter-spacing: 0.5px !important;
    text-shadow: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.navbar .btn-primary:hover {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
}

/* Services Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 24px;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 28px;
}

.dropdown-icon {
    font-size: 8px;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Hamburger & Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary); /* Dark green for visibility on white background */
    transition: var(--transition-smooth);
}

/* Hero Carousel */
.hero {
    height: 80vh; /* Premium large cinematic height on desktop */
    min-height: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-image: url('../assets/hero-bank-new.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 25, 43, 0.85) 0%, rgba(8, 25, 43, 0.4) 50%, rgba(8, 25, 43, 0) 80%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--bg-white);
    padding-top: 40px; /* Centered layout since we have a dedicated spacer */
}

.hero-text-box {
    max-width: 680px;
    padding: 20px 0; /* Minimal padding on desktop since background gradient handles contrast */
    position: relative;
    z-index: 5;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 700; /* Bold/semi-bold */
    letter-spacing: 3px;
    color: var(--accent); /* High contrast brand gold */
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s forwards 0.2s;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 64px; /* Desktop large size */
    color: var(--bg-white);
    margin-bottom: 24px;
    font-weight: 800; /* Extra bold */
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s forwards 0.4s;
    line-height: 1.1;
    max-width: 650px; /* Controlled maximum width */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 40px;
    font-weight: 600; /* Medium/bold font weight */
    line-height: 1.7; /* Increased line height */
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s forwards 0.6s;
    max-width: 680px; /* Maximum readable width */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s forwards 0.8s;
}

/* Inner Page Hero (Sub-Hero) with Grid Layout */
.sub-hero {
    background-color: var(--primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.sub-hero::before {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -50%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,89,0.08) 0%, transparent 70%);
}

.sub-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.sub-hero-content {
    color: var(--bg-white);
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sub-hero-title {
    color: var(--bg-white);
    font-size: 42px;
    margin-bottom: 12px;
}

.sub-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.sub-hero-image-box {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sub-hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-hero-image-box:hover img {
    transform: scale(1.04);
}

/* Animations for Sub-Hero Banner */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Two Column Welcome Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.welcome-img-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.welcome-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.welcome-img-container:hover img {
    transform: scale(1.05);
}

.welcome-content .eyebrow {
    margin-bottom: 14px;
}

.welcome-content h2 {
    font-size: 34px;
    margin-bottom: 24px;
}

.welcome-text {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.welcome-text p {
    margin-bottom: 16px;
}

/* Grid & Cards Systems */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm); /* Soft shadow */
    height: 100%; /* Stretch cards to equal height in rows */
}

.card:hover {
    transform: translateY(-4px); /* Slight upward movement */
    box-shadow: var(--shadow-md); /* Very subtle shadow increase */
    border-color: var(--secondary); /* Teal accent border */
}

.card-icon {
    font-size: 32px;
    color: var(--secondary); /* Teal accent */
    margin-bottom: 24px;
    height: 48px;
    display: flex;
    align-items: center;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.card-title {
    font-size: 20px;
    margin-bottom: 14px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 20px;
}

.card-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary); /* Teal links */
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.card:hover .card-link::after {
    transform: translateX(4px);
}

/* Stat Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background-color: var(--bg-white);
    border-top: 4px solid var(--primary);
    border-radius: var(--border-radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary); /* Teal accent details */
}

/* Editorial Agriculture & Community Section */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.editorial-content h2 {
    font-size: 34px;
    margin-bottom: 24px;
}

.editorial-text {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.editorial-text p {
    margin-bottom: 16px;
}

.editorial-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.editorial-mini-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editorial-mini-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.editorial-mini-card p {
    font-size: 13px;
    color: var(--text-muted);
    flex-grow: 1; /* Stretch paragraph to fill vertical space */
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.award-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%; /* Stretch cards in grid row */
}

.award-card:hover {
    transform: translateY(-4px); /* Subtle upward movement */
    box-shadow: var(--shadow-md); /* Subtle shadow increase */
}

.award-img-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--bg-light);
    position: relative; /* Support slideshow positioning */
}

.award-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Slideshow overlay styling */
.award-img-container.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.award-img-container.slideshow img.active {
    opacity: 1;
    z-index: 2;
}

.award-card:hover .award-img-container img {
    transform: scale(1.05);
}

.award-info {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
}

.award-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.award-title {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.award-issuer {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Board of Directors Grid Layout */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)); /* 5-column layout on desktop */
    gap: 20px;
}

.director-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%; /* Stretch cards in the row */
}

.director-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.director-card.prominent {
    border-top: 4px solid var(--accent); /* Copper top highlight */
    background-color: var(--accent-light);
    transform: scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.director-card.prominent:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.director-photo-placeholder, .director-photo-container {
    width: 100%; /* Use full available card width for uniform size */
    aspect-ratio: 3/4; /* Consistent portrait crop ratio */
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-light);
    border: 1px solid var(--border-light);
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.director-card.prominent .director-photo-placeholder,
.director-card.prominent .director-photo-container {
    border-color: var(--accent);
    width: 100%;
    aspect-ratio: 3/4;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.2);
}

.director-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.director-photo-placeholder svg, .director-photo-container svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
    opacity: 0.6;
}

.director-name {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--primary); /* Deep Navy */
}

.director-card.prominent .director-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary); /* Deep Navy */
}

.director-position {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary); /* Teal for general directors */
    margin-bottom: 4px;
}

.director-card.prominent .director-position {
    color: var(--accent); /* Copper highlight for President/Secretary */
}

.director-designation {
    font-size: 11px;
    color: var(--text-muted);
}

/* Call To Action (Journey) Section */
.cta-section {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,89,0.06) 0%, transparent 60%);
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--bg-white);
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Branches Page Cards */
.branches-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: stretch;
}

.branch-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    height: 100%;
}

.branch-card.head-office {
    border-left: 6px solid var(--primary);
}

.branch-card.branch-office {
    border-left: 6px solid var(--accent);
}

.branch-title-container {
    display: flex;
    flex-direction: column;
}

.branch-badge {
    align-self: flex-start;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 14px;
}

.head-office .branch-badge {
    background-color: var(--primary-light);
    color: var(--primary);
}

.branch-office .branch-badge {
    background-color: var(--accent-light);
    color: var(--accent-hover);
}

.branch-name {
    font-size: 28px;
    margin-bottom: 10px;
}

.branch-addr {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.branch-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.branch-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.branch-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.branch-contact-text h5 {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.branch-contact-text p {
    font-size: 14px;
    font-weight: 600;
}

/* Contact Page Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    gap: 16px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.contact-info-details h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-info-details p, .contact-info-details a {
    font-size: 14px;
    color: var(--text-muted);
}

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

.contact-form-panel {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 26px;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(16,42,67,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16,42,67,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--bg-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-item-hover {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16,42,67,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--bg-white);
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-caption {
    color: var(--bg-white);
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
    font-weight: 500;
}

/* Sticky Enquiry Button */
.sticky-enquiry-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid var(--accent);
}

.sticky-enquiry-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    transform: translateY(-4px);
}

/* Enquiry Modal / Slide-in Panel */
.enquiry-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    background-color: rgba(30, 41, 35, 0.6);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.enquiry-modal.active {
    display: block;
}

.enquiry-panel {
    position: absolute;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    overflow-y: auto;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.enquiry-modal.active .enquiry-panel {
    right: 0;
}

.enquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.enquiry-header h3 {
    font-size: 24px;
}

.enquiry-close {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-muted);
}

.enquiry-close:hover {
    color: var(--primary);
}

.enquiry-quick-links {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.enquiry-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.enquiry-quick-btn.call {
    background-color: var(--primary-light);
    color: var(--primary);
}

.enquiry-quick-btn.whatsapp {
    background-color: #25D366;
    color: var(--bg-white);
}

.footer {
    background-color: var(--primary); /* Deep Navy */
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px 0;
    font-size: 14px;
}

.footer h4, .footer h5 {
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer h4 {
    font-size: 22px;
}

.footer h5 {
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-container {
    width: 80px; /* Substantially larger footer logo */
    height: auto;
    border-radius: 0; /* NO CIRCLE */
    background-color: transparent; /* NO BACKGROUND */
    border: none; /* NO BORDER */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-shadow: none; /* NO SHADOW */
    padding: 0; /* NO PADDING */
}

.footer-logo-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1 !important;
}

.footer-brand-title {
    color: var(--bg-white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

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

.footer-link-item {
    margin-bottom: 12px;
}

.footer-link-item a {
    color: var(--secondary); /* Teal links */
}

.footer-link-item a:hover {
    color: var(--accent); /* Muted Copper on hover */
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-contact-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal utility classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive animations and hover transitions */
.hover-scale {
    transition: var(--transition-smooth);
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar {
        height: 85px;
        background-color: #FFFFFF !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .navbar-spacer {
        height: 85px;
    }
    .navbar.scrolled {
        height: 75px;
        background-color: #FFFFFF !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    }
    .navbar-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        visibility: hidden;
        height: calc(100vh - 85px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 24px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        z-index: 998;
    }
    .navbar.scrolled .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
    }
    .nav-menu.active {
        left: 0;
        visibility: visible;
    }
    .nav-menu .nav-link {
        color: var(--text-dark) !important;
        text-shadow: none !important;
        font-size: 14px;
        width: 100%;
        display: block;
    }
    .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
        color: var(--primary) !important;
    }
    .nav-item {
        width: 100%;
    }
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--accent) !important;
        margin-top: 8px !important;
        padding: 0 0 0 16px !important;
        display: none;
        width: 100% !important;
        background: transparent !important;
    }
    .dropdown-link {
        display: block !important;
        padding: 12px 0 !important;
        color: var(--text-dark) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        width: 100% !important;
        text-shadow: none !important;
        background: none !important;
        transition: var(--transition-fast) !important;
    }
    .dropdown-link:hover {
        color: var(--accent) !important;
        padding-left: 5px !important;
    }
    .nav-item.dropdown-active .dropdown-menu {
        display: block !important;
    }
    .nav-item.dropdown-active .dropdown-icon {
        transform: rotate(180deg) !important;
    }
    .nav-brand {
        max-width: 75% !important;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .brand-names {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }
    .logo-container {
        width: 50px !important;
        height: auto;
        border: none;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }
    .navbar.scrolled .logo-container {
        width: 45px !important;
    }
    .brand-title-full {
        font-size: 11px;
        font-weight: 800;
        line-height: 1.2;
        text-shadow: none;
        color: var(--primary);
    }
    .brand-subtitle-full {
        font-size: 8px;
        font-weight: 700;
        margin-top: 2px;
        text-shadow: none;
        color: var(--accent);
    }
    .hero-title {
        font-size: 48px;
    }
    .welcome-grid, .editorial-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .directors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .branch-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-grid-3, .awards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .branches-container {
        grid-template-columns: 1fr;
    }
    .sub-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    .section-title {
        font-size: 30px;
    }
    .hero {
        height: 70vh !important; /* 70-80vh height on mobile */
        min-height: 460px !important;
        background-position: 80% center !important;
    }
    .hero-overlay {
        background: linear-gradient(to top, rgba(8, 25, 43, 0.85) 0%, rgba(8, 25, 43, 0.4) 60%, rgba(0, 0, 0, 0) 100%) !important; /* Subtle dark gradient from bottom */
    }
    .hero-text-box {
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        max-width: 100% !important;
    }
    .hero-title {
        font-size: 36px !important; /* Significantly larger, bold dominant heading */
        line-height: 1.15 !important;
        font-weight: 800 !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    .hero-desc {
        font-size: 14px !important; /* Shorter description size */
        line-height: 1.6 !important;
        max-width: 100% !important;
        margin-bottom: 24px !important;
    }
    .hero-content {
        padding-top: 30px;
    }
    .sub-hero {
        padding: 50px 0;
    }
    .sub-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .sub-hero-image-box {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
        aspect-ratio: 16/10;
    }
    .directors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 15px !important;
    }
    .director-card {
        padding: 20px 10px !important;
    }
    .director-name {
        font-size: 13.5px !important;
        margin-bottom: 4px !important;
    }
    .director-position {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
    .director-designation {
        font-size: 10px !important;
    }
    .director-photo-container {
        width: 100% !important;
        max-width: 220px !important;
        aspect-ratio: 3/4 !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
    }
    .director-photo-container img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .card-grid-3, .awards-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .directors-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions, .cta-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .hero-actions .btn, .cta-actions .btn {
        width: 100%;
    }
    .sticky-enquiry-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 11px;
    }
    .enquiry-panel {
        width: 100%;
    }
}

/* About Us Page Custom Styles */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.timeline-card {
    background-color: var(--bg-white);
    padding: 30px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: var(--transition-smooth);
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.timeline-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--primary);
}

.timeline-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-bottom: 4px solid var(--accent);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 500;
}

.branch-showcase-card {
    background-color: var(--primary-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 40px;
    max-width: 600px;
    margin: 30px auto 0 auto;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
}

.branch-showcase-title {
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.branch-showcase-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 12px;
}

/* Responsive Overrides for Timeline and Stats */
@media (max-width: 1024px) {
    .timeline-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 360px) {
    .directors-grid {
        grid-template-columns: 1fr !important;
    }
}
