/* ============================================
   SMR AGROTECH LTD — Design System
   Premium Corporate Agro-Industrial Theme
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --primary: #43aa5c;
    --primary-dark: #3a9550;
    --primary-light: #5cbb72;
    --gold: #f8c32c;
    --gold-dark: #e5b020;
    --heading-dark: #164333;
    --body-grey: #797f7d;
    --border-grey: #dddddd;
    --green-bg: #43aa5c;
    --footer-bg: #1f4e3d;
    --footer-dark: #163a2d;
    --beige-bg: #f8f7f0;
    --white: #ffffff;
    --black: #111111;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body-grey);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-dark);
    font-weight: 700;
    line-height: 1.3;
}

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Section Styling ── */
.section {
    padding: 100px 0;
    position: relative;
}

.section-beige {
    background: var(--beige-bg);
}

.section-green {
    background: var(--green-bg);
    color: var(--white);
}

.section-dark {
    background: var(--footer-bg);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(67, 170, 92, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-header .section-badge svg {
    width: 16px;
    height: 16px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--body-grey);
}

.section-green .section-header .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-green .section-header h2 {
    color: var(--white);
}

.section-green .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(67, 170, 92, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(67, 170, 92, 0.4);
}

.btn-gold {
    background: var(--gold);
    color: var(--heading-dark);
    box-shadow: 0 4px 15px rgba(248, 195, 44, 0.3);
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(248, 195, 44, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--heading-dark);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--heading-dark);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    font-family: var(--font-heading);
}

.site-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    line-height: 1.1;
}

.site-logo .logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scrolled .site-logo .logo-text {
    color: var(--heading-dark);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.scrolled .main-nav a {
    color: var(--heading-dark);
}

.scrolled .main-nav a:hover,
.scrolled .main-nav a.active {
    color: var(--primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta .btn {
    padding: 10px 24px;
    font-size: 13px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.scrolled .menu-toggle span {
    background: var(--heading-dark);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #164333 0%, #1f4e3d 50%, #0d2b20 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 20% 50%, var(--primary) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--gold) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /* border: 5px solid red;  <-- Uncomment to debug visually */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    /* Ensure active slide is on top of others */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(22, 67, 51, 0.4) 0%, rgba(22, 67, 51, 0.8) 100%);
    z-index: 3;
    /* Higher than slides */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(248, 195, 44, 0.15);
    border: 1px solid rgba(248, 195, 44, 0.3);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 62px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--gold);
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Page Hero (inner pages) */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #164333 0%, #1f4e3d 50%, #0d2b20 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 30% 70%, var(--primary) 1px, transparent 1px);
    background-size: 40px 40px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    position: relative;
}

.page-hero .breadcrumb a {
    color: var(--gold);
}

.page-hero .breadcrumb a:hover {
    color: var(--white);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Service Card */
.service-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card .service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: rgba(67, 170, 92, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card .service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-card .service-image {
    width: 100%;
    height: 160px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-grey);
}

/* Service Detail Image */
.service-detail .service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Card */
.project-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card .project-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--heading-dark));
    position: relative;
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: var(--primary);
    color: var(--white);
}

.status-badge.operational {
    background: var(--gold);
    color: var(--heading-dark);
}

.status-badge.in-progress {
    background: #3b82f6;
    color: var(--white);
}

.project-card .project-body {
    padding: 24px;
}

.project-card .project-sector {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.project-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-grey);
}

/* Team Card */
.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-card .team-photo {
    height: 280px;
    background: linear-gradient(135deg, var(--beige-bg), #e8e5d8);
    position: relative;
    overflow: hidden;
}

.team-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card .team-photo .team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 67, 51, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-card .team-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-card .social-links {
    display: flex;
    gap: 10px;
}

.team-card .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.team-card .social-links a:hover {
    background: var(--gold);
    color: var(--heading-dark);
}

.team-card .team-info {
    padding: 24px;
}

.team-card .team-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card .team-info p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-service {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ============================================
   STATS / COUNTERS
   ============================================ */
.stats-section {
    background: var(--heading-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   UPCOMING PROJECTS
   ============================================ */
.upcoming-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.upcoming-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.upcoming-card .upcoming-header {
    padding: 32px 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.upcoming-card .upcoming-icon {
    width: 56px;
    height: 56px;
    background: rgba(67, 170, 92, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upcoming-card .upcoming-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
}

.upcoming-card .upcoming-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.upcoming-card .upcoming-header .timeline {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 15px;
}

/* Video Section */
.video-section {
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #000;
}

.video-container.wide-wide {
    width: 100%;
    max-width: 100% !important;
    padding: 0 !important;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 42.1875%;
    /* 21:9 Aspect Ratio for ultra-wide look, or change to 56.25% for 16:9 */
    background: #111;
}

/* Set to 16:9 for standard video but can be wide */
@media (max-width: 991px) {
    .video-wrapper {
        padding-top: 56.25%;
    }
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.5s ease;
}

.video-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-poster:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.play-trigger {
    position: relative;
    z-index: 10;
    width: 80px;
    height: 80px;
    background: var(--brand-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.play-trigger svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    margin-left: 4px;
}

.play-trigger:hover {
    transform: scale(1.15);
    background: #fff;
}

.play-trigger:hover svg {
    fill: var(--brand-gold);
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.video-iframe-container.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .play-trigger {
        width: 60px;
        height: 60px;
    }

    .play-trigger svg {
        width: 24px;
        height: 24px;
    }
}

.upcoming-card .upcoming-body {
    padding: 20px 30px 30px;
    flex: 1;
}

.upcoming-card .upcoming-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-grey);
    margin-bottom: 20px;
}

.upcoming-card .feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upcoming-card .feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--heading-dark);
    font-weight: 500;
}

.upcoming-card .feature-list li svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2d8a44 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle, var(--white) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-section .btn {
    position: relative;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro .about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--heading-dark));
}

.about-intro .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro .about-image .experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gold);
    color: var(--heading-dark);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-intro .experience-badge .number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.about-intro .experience-badge .label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.mv-card.mission-card {
    background: var(--primary);
    color: var(--white);
}

.mv-card.vision-card {
    background: var(--heading-dark);
    color: var(--white);
}

.mv-card .mv-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mv-card .mv-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.mv-card p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.strengths-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.strength-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(67, 170, 92, 0.05);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
}

.strength-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.strength-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--heading-dark);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-grey);
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even)>* {
    direction: ltr;
}

.service-detail .service-visual {
    height: 350px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(67, 170, 92, 0.1), rgba(67, 170, 92, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-detail .service-visual .detail-icon {
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail .service-visual .detail-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.service-detail h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-detail p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    columns: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    display: block;
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 67, 51, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
}

.lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tabs .filter-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--border-grey);
    background: transparent;
    color: var(--body-grey);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tabs .filter-btn:hover,
.filter-tabs .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-card .contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(67, 170, 92, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card .contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--heading-dark);
}

.contact-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-grey);
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form-wrap>p {
    font-size: 15px;
    color: var(--body-grey);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-grey);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--heading-dark);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(67, 170, 92, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
}

.form-alert.success {
    background: rgba(67, 170, 92, 0.1);
    color: var(--primary);
    border: 1px solid rgba(67, 170, 92, 0.2);
}

.form-alert.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.form-alert.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--heading-dark);
}

/* ============================================
   PRODUCTS / TABS
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--beige-bg), #e8e5d8);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-image .product-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-body {
    padding: 20px;
}

.product-card .product-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card .product-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-grey);
}

/* ============================================
   MAP
   ============================================ */
.map-section {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-slow);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition-slow);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 50px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--heading-dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 4px;
        transition: var(--transition);
        z-index: 1000;
    }

    .main-nav.open {
        right: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .main-nav a {
        color: rgba(255, 255, 255, 0.8);
        padding: 12px 16px;
        font-size: 16px;
        width: 100%;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--gold);
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-sm);
    }

    /* Force visibility in scrolled state on mobile */
    .scrolled .main-nav a {
        color: rgba(255, 255, 255, 0.8);
    }

    .scrolled .main-nav a:hover,
    .scrolled .main-nav a.active {
        color: var(--gold);
        background: rgba(255, 255, 255, 0.05);
    }

    .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .grid-3,
    .grid-service {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
    }

    .grid-2,
    .mission-vision,
    .strengths-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item .stat-number {
        font-size: 42px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .page-hero {
        padding: 140px 0 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .grid-3,
    .grid-service,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-grid {
        columns: 1;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 320px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 24px;
    }
}

/* ── Utility: mobile overlay ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ── Placeholder images ── */
.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--heading-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}