/* ==========================================================================
   BASE STYLES & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #2d5016;
    --primary-dark: #1a3c07;
    --primary-light: #4a7429;
    --secondary-color: #e6a919;
    --secondary-dark: #d69900;
    --secondary-light: #f8c94d;
    --accent-color: #1a3c07;
    --light-color: #f5f8f2;
    --dark-color: #1a1a1a;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-round: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px var(--shadow-color);
    --shadow-md: 0 4px 8px var(--shadow-color);
    --shadow-lg: 0 8px 16px var(--shadow-color);
    --shadow-xl: 0 12px 24px var(--shadow-color);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-white { color: var(--white); }

.bg-light { background-color: var(--light-color); }
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.py-1 { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-2 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-3 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-4 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-5 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    width: autopx;
    height: 60px;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text h1 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.desktop-nav a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary-color);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-nav-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.mobile-nav.active {
    max-height: 300px;
}

.mobile-nav ul {
    list-style: none;
    padding: var(--space-md);
}

.mobile-nav li {
    margin-bottom: var(--space-sm);
}

.mobile-nav a {
    display: block;
    padding: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* CTA Button */
.cta-button {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: calc(80px + var(--space-xl));
    padding-bottom: var(--space-xl);
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    opacity: 0.1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-main-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Feature Cards */
.feature-card {
    position: absolute;
    background: var(--white);
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: float 3s ease-in-out infinite;
}

.feature-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-card h4 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.feature-card p {
    font-size: 0.75rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.feature-card-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.feature-card-2 {
    bottom: 20px;
    right: 20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.feature-box {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Check List */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: var(--space-sm);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Partnership Mini */
.partnership-mini {
    margin-top: var(--space-md);
}

.partnership-item {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.partnership-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.partnership-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: var(--space-md);
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-slider {
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-md);
}

.testimonial-content {
    margin-bottom: var(--space-lg);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-lg);
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--secondary-color);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.rating {
    color: var(--secondary-color);
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content {
    padding: var(--space-lg);
}

.blog-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-content h3 {
    margin-bottom: var(--space-sm);
}

.blog-content h3 a {
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

.blog-content h3 a:hover {
    color: var(--primary-dark);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: var(--space-sm);
    transition: gap var(--transition-fast);
}

.read-more:hover {
    gap: 1rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: var(--space-xl) 0;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    color: rgba(255,255,255,0.9);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    width: autopx;
    height: 80px;
 
    margin-bottom: var(--space-sm);
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-logo p {
    color: rgba(255,255,255,0.8);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contact Info */
.contact-info p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: rgba(255,255,255,0.8);
}

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom i {
    color: #ff6b6b;
}

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */
.admin-panel {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: var(--z-fixed);
}

.admin-btn {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.admin-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   SKIP TO CONTENT
   ========================================================================== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: var(--z-popover);
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .features-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
    
    /* Header */
    .mobile-nav-toggle {
        display: none;
    }
    
    .desktop-nav {
        display: block;
    }
    
    .cta-button {
        display: inline-block;
    }
    
    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-main-img {
        height: 400px;
    }
    
    /* Sections */
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Testimonials */
    .testimonials-slider .owl-stage {
        padding-left: 0 !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 var(--space-lg);
    }
    
    .hero-section {
        padding-top: calc(100px + var(--space-xl));
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .hero-section {
        padding: calc(120px + var(--space-2xl)) 0 var(--space-2xl);
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .admin-panel,
    .mobile-nav-toggle,
    .cta-button,
    .social-links,
    .read-more,
    .feature-card {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: var(--black);
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: var(--black);
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid var(--black);
        color: var(--black);
        background: none;
    }
    
    .hero-section::before {
        display: none;
    }
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --text-color: #000000;
        --border-color: #000000;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Add these styles to your existing styles.css */

/* Main Container */
.main-container {
    min-height: calc(100vh - 300px); /* Adjust based on your footer height */
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Mobile Navigation Accessibility */
.mobile-nav[aria-hidden="true"] {
    display: none;
}

.mobile-nav[aria-hidden="false"] {
    display: block;
}

/* Social Links Hover Effects */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Contact Info Links */
.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Active Navigation State */
.desktop-nav a.active,
.mobile-nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.desktop-nav a.active::after {
    width: 100%;
}

/* Mobile Navigation Active State */
.mobile-nav a.active {
    background-color: rgba(45, 80, 22, 0.1);
    color: var(--primary-color);
}

/* Responsive Footer Links */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Print Styles */
@media print {
    .admin-panel,
    .mobile-nav-toggle,
    .cta-button,
    .social-links,
    .back-to-top {
        display: none !important;
    }
    
    .main-header {
        position: static;
        box-shadow: none;
    }
    
    .footer-bottom {
        border-top: 1px solid #000;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --text-color: #000000;
        --border-color: #000000;
    }
    
    .btn {
        border: 2px solid #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.mission-card, .vision-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.mission-icon, .vision-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.mission-icon i, .vision-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.value-card {
    text-align: center;
    padding: var(--space-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin: 0 5px;
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.team-info {
    padding: var(--space-lg);
    text-align: center;
}

.team-info .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.team-info .bio {
    color: var(--text-light);
    font-size: 0.875rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.compliance-item {
    text-align: center;
    padding: var(--space-lg);
}

.compliance-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */
.detailed-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.detailed-service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.detailed-service-card:hover {
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-features {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.service-features h4 {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: var(--space-xl);
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.partnership-model {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.partnership-card {
    text-align: center;
    padding: var(--space-lg);
}

.partnership-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.partnership-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.partnership-table-container {
    overflow-x: auto;
    margin-top: var(--space-lg);
}

/* ==========================================================================
   GALLERY PAGE STYLES
   ========================================================================== */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    display: block;
}

.gallery-link {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-link:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: var(--space-md);
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-link:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.empty-gallery {
    text-align: center;
    padding: var(--space-xl);
}

.empty-gallery i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: var(--space-md);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    text-align: center;
    padding: var(--space-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.category-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.video-tour {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.video-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    height: 300px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--white);
    background: rgba(0,0,0,0.5);
    width: 80px;
    height: 80px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-thumbnail i:hover {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   BLOG PAGE STYLES
   ========================================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.featured-post {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-xl);
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-content {
    padding: var(--space-xl);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--text-light);
    font-size: 0.875rem;
}

.post-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.post-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.blog-sidebar {
    order: -1;
}

.sidebar-widget {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

.widget-title {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--light-color);
}

.search-form {
    position: relative;
}

.search-input-group {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 1rem;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
}

.category-list {
    list-style: none;
    padding-left: 0;
}

.category-list li {
    margin-bottom: var(--space-sm);
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.category-list a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.recent-posts {
    list-style: none;
    padding-left: 0;
}

.recent-posts li {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-link {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.recent-post-link img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.recent-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.recent-post-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.newsletter-form {
    margin-top: var(--space-md);
}

.newsletter-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.pagination {
    margin-top: var(--space-xl);
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    list-style: none;
    padding-left: 0;
    justify-content: center;
}

.pagination a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.pagination a:hover, .pagination a.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ==========================================================================
   SINGLE BLOG POST STYLES
   ========================================================================== */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.post-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
}

.single-post-content {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.post-content h2, .post-content h3, .post-content h4 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.post-content p {
    margin-bottom: var(--space-md);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
}

.post-tags {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.post-tags h4 {
    display: inline-block;
    margin-right: var(--space-sm);
}

.tag {
    display: inline-block;
    background: var(--light-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    margin: 0.25rem;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

.author-bio {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--light-color);
    border-radius: var(--radius-lg);
}

.avatar-placeholder-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.email {
    background: var(--primary-color);
    color: white;
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.related-posts {
    list-style: none;
    padding-left: 0;
}

.related-post-link {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.related-post-link:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-post-link img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.contact-form-container {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23333'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    appearance: none;
}

.alert {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-container {
    position: sticky;
    top: 100px;
}

.contact-info-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-details {
    margin: var(--space-xl) 0;
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-content a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-content a:hover {
    color: var(--primary-color);
}

.social-contact {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.map-section {
    background: var(--light-color);
    padding: var(--space-xl) 0;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    background: var(--white);
    padding: var(--space-xl);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.faq-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .video-tour {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-layout {
        grid-template-columns: 2fr 1fr;
    }
    
    .blog-sidebar {
        order: 0;
    }
    
    .single-post-layout {
        grid-template-columns: 2fr 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 2fr 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (min-width: 992px) {
    .process-timeline {
        padding-left: 0;
    }
    
    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .process-step {
        width: 50%;
        padding-left: 0;
        padding-right: 80px;
    }
    
    .process-step:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 80px;
    }
    
    .process-step:nth-child(even) .step-number {
        left: auto;
        right: 0;
    }
    
    .step-number {
        left: calc(100% - 30px);
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   FORM STYLES
   ========================================================================== */

/* Form Container */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f8f2;
}

.form-header h2 {
    color: #2d5016;
    margin-bottom: 10px;
    font-size: 24px;
}

.form-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d5016;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label .required {
    color: #dc3545;
    margin-left: 3px;
}

/* Input Styles */
.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus {
    outline: none;
    border-color: #2d5016;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
    background-color: #fff;
}

.form-control:hover:not(:focus) {
    border-color: #b8c2cc;
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Select Styles */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232d5016' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

/* File Input */
.form-control-file {
    width: 100%;
    padding: 14px 16px;
    border: 2px dashed #e1e5eb;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}

.form-control-file:hover {
    border-color: #2d5016;
    background: #f5f8f2;
}

.form-control-file:focus {
    outline: none;
    border-color: #2d5016;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
}

/* Checkbox and Radio */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #2d5016;
}

.form-check-label {
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.form-check-inline {
    display: inline-flex;
    margin-right: 20px;
}

/* Input with Icons */
.input-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-group-prepend,
.input-group-append {
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #f5f8f2;
    border: 2px solid #e1e5eb;
    color: #2d5016;
    font-weight: 600;
}

.input-group-prepend {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.input-group-append {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Input with Icon */
.has-icon {
    position: relative;
}

.has-icon .form-control {
    padding-left: 45px;
}

.has-icon .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    pointer-events: none;
}

.has-icon .form-control:focus + .icon {
    color: #2d5016;
}

/* Form Help Text */
.form-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.form-text a {
    color: #2d5016;
    text-decoration: none;
}

.form-text a:hover {
    text-decoration: underline;
}

/* Validation States */
.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 8px;
    font-size: 13px;
    color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f5f8f2;
}

.form-actions .btn {
    min-width: 120px;
    padding: 12px 24px;
}

/* Form Sections */
.form-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #2d5016;
}

.form-section h3 {
    color: #2d5016;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Wizard Forms */
.form-wizard {
    position: relative;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e1e5eb;
    z-index: 1;
}

.wizard-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #e1e5eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    margin: 0 auto 10px;
    transition: all 0.3s;
}

.wizard-step.active .step-number {
    background: #2d5016;
    border-color: #2d5016;
    color: white;
}

.wizard-step.completed .step-number {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.wizard-step.active .step-label {
    color: #2d5016;
    font-weight: 600;
}

/* Form Loading State */
.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    z-index: 10;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.char-counter.near-limit {
    color: #ffc107;
}

.char-counter.over-limit {
    color: #dc3545;
}

/* Date Picker Styles */
.datepicker-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232d5016' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z'/%3E%3Cpath d='M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

/* Color Picker */
.color-picker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #e1e5eb;
    cursor: pointer;
}

/* Range Slider */
.range-slider {
    padding: 20px 0;
}

.range-slider input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: #e1e5eb;
    border-radius: 4px;
    outline: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #2d5016;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.range-value {
    text-align: center;
    font-weight: 600;
    color: #2d5016;
    margin-top: 10px;
    font-size: 18px;
}

/* Tag Input */
.tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    min-height: 48px;
    align-items: center;
}

.tag {
    background: #2d5016;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}

.tag-input input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 100px;
    padding: 5px;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2d5016;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .wizard-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .wizard-steps::before {
        display: none;
    }
    
    .wizard-step {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .form-container {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .form-control {
        background: #2d2d2d;
        border-color: #404040;
        color: #e0e0e0;
    }
    
    .form-control:focus {
        background: #2d2d2d;
        border-color: #4a7429;
    }
    
    .form-group label {
        color: #b8c2cc;
    }
    
    .form-text {
        color: #999;
    }
    
    .form-section {
        background: #2d2d2d;
        border-left-color: #4a7429;
    }
}

/* Animation for form elements */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: slideIn 0.3s ease-out;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

/* Form Success Animation */
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-success {
    animation: successPulse 0.5s ease;
}


/* ==========================================================================
   SIMPLE MOBILE NAVIGATION
   ========================================================================== */

/* Mobile Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

@media (max-width: 767px) {
    .mobile-nav-toggle {
        display: block;
    }
}

.hamburger {
    display: block;
    width: 24px;
    height: 18px;
    position: relative;
    margin: 0 auto;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 8px;
}

.hamburger-line:nth-child(3) {
    top: 16px;
}

/* Active state */
.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-inner {
    padding: 20px;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 15px;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary-color);
    background: rgba(45, 80, 22, 0.05);
    padding-left: 20px;
}

/* Overlay for mobile menu */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Desktop - hide mobile nav */
@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
    
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .mobile-nav {
        height: calc(100vh - 80px);
        height: -webkit-fill-available;
    }
}