/* Custom CSS Design System - VR Agri Farms
   Focus: Rich, organic-modern aesthetics, fluid layouts, premium micro-animations */

:root {
    /* Color Palette */
    --primary: #0a2e1d;       /* Deep Forest Green */
    --primary-light: #16462e; /* Mid Forest Green */
    --accent: #10b981;        /* Emerald Green */
    --gold: #d97706;          /* Amber / Gold */
    --gold-hover: #b45309;    /* Dark Amber */
    
    --bg-light: #f8faf7;      /* Clean organic background */
    --bg-white: #ffffff;
    --bg-dark: #ecf3ee;       /* Clean light sage green background */
    --bg-dark-card: #ffffff;  /* White card background */
    
    --text-dark: #1f2937;     /* High contrast body text */
    --text-muted: #4b5563;    /* Secondary body text */
    --text-light: #f3f4f6;    /* Light text for dark sections */
    --text-gray: #4b5563;     /* Updated: Darker text for readability in light dark-sections */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Offsets */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout Variables */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(10, 46, 29, 0.05), 0 10px 10px -5px rgba(10, 46, 29, 0.02);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Section Components */
.section-padding {
    padding: 7.5rem 0;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-tag.tag-accent {
    color: var(--gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.bg-dark .section-subtitle {
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Sticky Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 70px;
    box-shadow: 0 4px 30px rgba(10, 46, 29, 0.05);
    border-bottom: 1px solid rgba(10, 46, 29, 0.06);
}

.main-header.scrolled .logo {
    color: var(--primary);
}

.main-header.scrolled .nav-link {
    color: var(--text-dark);
}

.main-header.scrolled .nav-link:hover {
    color: var(--accent);
}

.main-header.scrolled .mobile-nav-toggle span {
    background-color: var(--primary);
}

.header-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.svg-logo {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover {
    color: var(--accent);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    color: var(--text-dark);
    text-align: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(248, 250, 247, 0.85) 0%, 
        rgba(248, 250, 247, 0.65) 50%, 
        rgba(248, 250, 247, 0.9) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 850px;
    padding: 3rem 1.5rem;
}

/* Hero Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.04);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--primary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.hero-quote {
    background-color: var(--bg-white);
    border-left: 3px solid var(--accent);
    padding: 1.25rem 2rem;
    max-width: 680px;
    margin: 0 auto 3rem;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: var(--shadow-md);
}

.hero-quote p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.hero-quote .highlight {
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

.hero-quote .quote-icon {
    font-size: 3rem;
    font-family: Georgia, serif;
    position: absolute;
    color: rgba(16, 185, 129, 0.2);
    line-height: 1;
}

.hero-quote .quote-icon:not(.right) {
    top: -10px;
    left: 10px;
}

.hero-quote .quote-icon.right {
    bottom: -35px;
    right: 15px;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}

.hero-scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    display: block;
    position: relative;
}

.hero-scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.about-quote {
    border-left: 4px solid var(--accent);
    padding: 0.75rem 0 0.75rem 1.5rem;
    margin: 2rem 0 0;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 90%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.about-overlay-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(10, 46, 29, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--bg-white);
}

.about-overlay-card .number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.about-overlay-card .text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

/* Vision / Mission Subsection */
.vision-mission-container {
    margin-top: 5rem;
}

.vision-card, .mission-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--accent);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.vision-card p, .mission-card p {
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.about-summary-statement {
    text-align: center;
    max-width: 900px;
    margin: 5rem auto 0;
    padding: 2.5rem;
    background-color: rgba(16, 185, 129, 0.04);
    border: 1px dashed rgba(16, 185, 129, 0.25);
    border-radius: var(--border-radius-lg);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-light);
    line-height: 1.6;
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2rem;
}

.why-card {
    background-color: var(--bg-dark-card);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.25rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(10, 46, 29, 0.08);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

/* Make grid cards Span unevenly for a premium magazine layout */
.why-card:nth-child(1) { grid-column: span 5; }
.why-card:nth-child(2) { grid-column: span 5; }
.why-card:nth-child(3) { grid-column: span 3; }
.why-card:nth-child(4) { grid-column: span 4; }
.why-card:nth-child(5) { grid-column: span 3; }

.why-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-white);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.why-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(10, 46, 29, 0.1);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.why-card:hover .why-num {
    color: var(--accent);
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Services Section */
.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(16, 185, 129, 0.06);
    color: var(--accent);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: var(--bg-white);
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Projects Section */
.bg-light {
    background-color: var(--bg-light);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 0.5rem;
    border-radius: 50px;
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
}

.tab-btn {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.tab-panels {
    position: relative;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

.project-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.1);
}

.project-info {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
}

.project-tag-card {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--accent);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.project-tag-card.upcoming {
    background-color: rgba(217, 119, 6, 0.08);
    color: var(--gold);
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.project-loc {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Exclusive Natural Farming (Gallery) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 46, 29, 0.9) 0%, rgba(10, 46, 29, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0 solid rgba(16, 185, 129, 0.4);
    box-sizing: border-box;
    transition: var(--transition-fast);
    z-index: 3;
    pointer-events: none;
}

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

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

.gallery-item:hover::before {
    border-width: 6px;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-overlay p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
    margin: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay span,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(10, 46, 29, 0.05);
}

.lightbox-caption {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-top: 1.25rem;
    text-align: center;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--primary-light);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent);
}

/* Contact Section & Form */
.contact-info {
    padding-right: 3rem;
}

.text-gray {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-item:hover .icon-box {
    border-color: var(--accent);
    background-color: rgba(16, 185, 129, 0.05);
}

.details-text h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-gray);
    margin-bottom: 0.35rem;
}

.details-text p {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0;
    font-weight: 500;
}

.contact-form-container {
    background-color: var(--bg-dark-card);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 46, 29, 0.08);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    border: 1px solid rgba(10, 46, 29, 0.12);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Custom styles for select dropdown inside dark theme */
.form-group select option {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.form-group textarea {
    resize: vertical;
}

.form-feedback {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    text-align: center;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent);
    color: #34d399;
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #f87171;
}

/* Footer Section */
.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(10, 46, 29, 0.08);
    margin: 5rem 0 2.5rem;
}

.main-footer {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.footer-terms a {
    color: var(--text-muted);
}

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

.footer-terms .sep {
    color: rgba(10, 46, 29, 0.15);
}

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

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Base fade-in/up for hero loading */
.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up-delayed {
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.animate-slide-up-more {
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

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

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

/* Ongoing Projects Subsections (Gallery and PDF Brochure) */
.project-subsection {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.subsection-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Gallery inside Ongoing Projects */
.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-gallery-grid .gallery-item {
    height: 250px;
}

/* PDF Viewer Component */
.pdf-viewer-container {
    max-width: 860px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pdf-viewer {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: #f1f3f0;
    aspect-ratio: 16/11;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.pdf-page {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    align-items: center;
    justify-content: center;
}

.pdf-page.active {
    display: flex;
    opacity: 1;
}

.pdf-page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pdf-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.pdf-btn:hover:not(:disabled) {
    background-color: rgba(10, 46, 29, 0.05);
    color: var(--accent);
}

.pdf-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pdf-page-indicator {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pdf-page-indicator span {
    color: var(--primary);
}

.pdf-download-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .section-padding {
        padding: 5.5rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card:nth-child(n) {
        grid-column: span 10;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
        margin-bottom: 2.5rem;
    }
    
    .image-wrapper {
        width: 100%;
    }
    
    .about-img {
        height: 360px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 4rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background-color: var(--bg-white);
        z-index: 1000;
        padding: 6rem 3rem 3rem;
        box-shadow: -10px 0 30px rgba(10, 46, 29, 0.1);
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(10, 46, 29, 0.08);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .mobile-nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.4rem;
    }

    .pdf-viewer-container {
        padding: 1rem;
    }
    
    .pdf-controls {
        padding: 0.35rem 0.75rem;
    }
    
    .pdf-btn {
        padding: 0.4rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-card, .mission-card {
        padding: 2rem;
    }
    
    .about-summary-statement {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Brand Logo Image styles */
.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* PDF Slider Styles */
.pdf-viewer {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: #f1f3f0;
    aspect-ratio: 16/11;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.pdf-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdf-page {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
}

.pdf-page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Gallery Slider Styles */
.gallery-carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.gallery-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 0;
}

.gallery-carousel-track .gallery-item {
    flex: 0 0 33.333%;
    width: 33.333%;
    height: 320px;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 1024px) {
    .gallery-carousel-track .gallery-item {
        flex: 0 0 50%;
        width: 50%;
    }
}

@media (max-width: 768px) {
    .gallery-carousel-track .gallery-item {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .gallery-carousel-container {
        gap: 0.5rem;
    }
    
    .carousel-control {
        width: 40px !important;
        height: 40px !important;
    }
}

.carousel-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid rgba(10, 46, 29, 0.08);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-control:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: scale(1.05);
}

.carousel-control:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(10, 46, 29, 0.15);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--accent);
    width: 20px;
    border-radius: 4px;
}
