/* =====================================================
   GreenBee Agri Engineering - Consolidated Stylesheet
   All pages: index, products, product, about, brand-story, contact
   ===================================================== */

/* =====================================================
   1. CSS Variables (:root)
   ===================================================== */
:root {
    /* Existing variables */
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary-color: #ffc107;
    --secondary-dark: #ffa000;
    --accent-color: #ff9800;
    --dark-color: #1a1a2e;
    --dark-secondary: #16213e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* New variables */
    --green-accent-light: #a8e6a3;
    --green-bg-tint: #f0f7f0;
    --green-bg-soft: #e8f5e9;
    --green-bg-form: #f0faf3;
    --topbar-green: #1a5e1f;
    --footer-dark: #1a1a1a;
    --footer-darker: #111111;
    --showcase-dark: #0a0a0a;
    --nav-text: #2d2d2d;
    --card-hover-dark: #1a3a1a;
    --gray-medium: #999999;
    --gray-border: #f0f0f0;
    --section-bg: #f9f9f9;
    --spec-bg: #f1f5f1;
    --input-bg: #fafafa;
    --text-dark: #555555;
    --bs-green: #198754;
    --bs-green-dark: #155d27;
    --bs-green-light: #20c997;
    --error-color: #c62828;
    --error-light: #dc3545;
    --info-blue: #1565c0;
    --info-blue-bg: #e3f2fd;
    --info-pink-bg: #fce4ec;
    --info-orange: #e65100;
    --info-orange-bg: #fff3e0;
    --filter-border: #dee2e6;
    --filter-text: #495057;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* =====================================================
   3. Shared Components
   ===================================================== */

/* Scrolled navbar state */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* 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-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    color: var(--white);
}

/* Form Response Styles */
.form-response {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.form-response.success {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.form-response.error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-light);
    border: 1px solid var(--error-light);
}

/* Button Primary Override */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* =====================================================
   3a. Preloader
   ===================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden,
#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.loader-logo {
    width: 80px;
    height: auto;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   3b. Top Bar
   ===================================================== */
.top-bar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-contact span {
    color: var(--white);
}

.top-contact i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.social-links a {
    color: var(--white);
    margin-left: 12px;
    font-size: 14px;
    transition: var(--transition);
}

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

/* =====================================================
   3c. Navbar
   ===================================================== */
.navbar {
    background: var(--white);
    padding: 12px 0;
    transition: var(--transition);
}

.nav-logo {
    height: 50px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 20px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

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

.btn-quote {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border: none;
    padding: 10px 28px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-quote:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

/* =====================================================
   3d. Section Styles
   ===================================================== */
section {
    padding: 100px 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 30px;
}

/* =====================================================
   3e. Page Banner / Page Header (shared across sub-pages)
   ===================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    padding: 120px 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.page-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-banner .breadcrumb-item a:hover {
    color: var(--white);
}

.page-banner .breadcrumb-item.active {
    color: var(--white);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: ">";
}

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    padding: 120px 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.page-header .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    position: relative;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a:hover {
    color: var(--white);
}

.page-header .breadcrumb-item.active {
    color: var(--secondary-color);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   3f. Shared CTA Section (about & brand-story)
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-section .btn {
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin: 0 10px;
    position: relative;
}

.cta-section .btn-light {
    color: var(--primary-dark);
}

.cta-section .btn-light:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.cta-section .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* =====================================================
   4. Shared Footer (.footer)
   ===================================================== */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-contact ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.designed-by {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* =====================================================
   5. Shared Modals
   ===================================================== */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--gray-light);
    padding: 20px 25px;
}

.modal-header .modal-title {
    font-weight: 600;
    color: var(--dark-color);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid var(--gray-light);
    padding: 15px 25px;
}

.modal-footer .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
}

.modal-footer .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.modal-footer .btn-secondary {
    border-radius: 30px;
    padding: 10px 25px;
}


/* =====================================================
   6. PAGE: Index/Home
   ===================================================== */

/* ----- Index Preloader ----- */
.home-page #preloader {
    z-index: 99999;
}

#preloader .preloader-logo {
    width: 120px;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

/* ----- Index Top Bar ----- */
.home-page .top-bar,
body:not(.about-page):not(.brand-story-page):not(.contact-page):not(.product-detail-page) .top-bar {
    /* Default shared top-bar styling applies */
}

/* Index-specific top bar (used on index.html only) */
.home-page .top-bar {
    background: var(--topbar-green);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.home-page .top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.home-page .top-bar a:hover {
    color: var(--green-accent-light);
}

.home-page .top-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin-left: 6px;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.home-page .top-bar .social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ----- Index Navbar ----- */
.home-page .navbar {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.home-page .navbar .navbar-brand img {
    height: 48px;
}

.home-page .navbar .nav-link {
    color: var(--nav-text);
    font-weight: 500;
    padding: 8px 18px !important;
    position: relative;
    transition: color 0.3s;
}

.home-page .navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.home-page .navbar .nav-link:hover,
.home-page .navbar .nav-link.active {
    color: var(--primary-color);
}

.home-page .navbar .nav-link:hover::after,
.home-page .navbar .nav-link.active::after {
    transform: scaleX(1);
}

.btn-get-quote {
    background: var(--primary-color);
    color: var(--white) !important;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-get-quote:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

/* ----- Hero Section ----- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-section .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--green-accent-light);
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 5px;
    display: block;
}

.hero-cta .btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary-custom {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
}

.hero-cta .btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.hero-cta .btn-outline-custom {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-cta .btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ----- Scroll Indicator ----- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    opacity: 0.8;
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--white);
    opacity: 1;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

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

/* ----- Product Categories Section ----- */
.product-categories-section {
    width: 100%;
    min-height: 100vh;
    padding: 60px 0;
    background: var(--section-bg);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.categories-header {
    text-align: center;
    margin-bottom: 50px;
}

.categories-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.categories-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #1a5c2e;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(26, 92, 46, 0.25);
    border-color: #2d8a4e;
    color: inherit;
    text-decoration: none;
    background-color: var(--green-bg-soft);
}

.category-card .card-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px 8px;
    background: linear-gradient(180deg, var(--green-bg-tint) 0%, var(--white) 100%);
    min-height: 220px;
}

.category-card .card-img-wrap img {
     max-width: auto;            
    max-height: 220px;       
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.category-card .card-info {
    padding: 24px 28px;
    text-align: center;
    border-top: 1px solid var(--gray-border);
}

.category-card .card-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 6px;
}

.category-card .card-info .cat-count {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-card .card-info .cat-tagline {
    display: block;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.category-card .card-info .cat-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    margin-top: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.category-card:hover .card-info .cat-arrow {
    background: var(--primary-dark);
    transform: translateX(4px);
}

/* ----- Product Showcase Carousel ----- */
.product-showcase-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--light-color);
    perspective: 1200px;
    padding: 0 0 15px 0;
    margin: 0;
}

.showcase-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.showcase-track {
    display: flex;
    will-change: transform;
    gap: 10px;          
    padding: 0 10px;
}

.showcase-slide {
    flex: 0 0 calc(25% - 10px);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: z-index 0s;
    text-decoration: none;
    background: var(--light-color);
    z-index: 1;
    border: 2px solid #1a5c2e;        
    border-radius: 8px;              
    overflow: hidden;
}

.showcase-slide img {
    width: auto;
    height: 38vh;
    object-fit: contain;
    display: block;
    transition: filter 0.5s ease, box-shadow 0.5s ease;
    box-shadow: inset 0 0 0 0 rgba(46, 125, 50, 0.5);
    filter: brightness(1.05);
}

.showcase-slide:hover img {
    filter: brightness(1.15) contrast(1.1) saturate(1.1);
    box-shadow: inset 0 0 30px rgba(46, 125, 50, 0.6), 0 0 40px rgba(76, 175, 80, 0.4);
    transform: scale(1.03);
}

.showcase-slide .slide-info {
    padding: 20px 25px;
    background: var(--light-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.showcase-slide .slide-category {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--white);
    background: #1e5c26;
    padding: 10px 18px;
    border-radius: 5px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(30, 92, 38, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.showcase-slide .slide-category:hover {
    background: #0f3a17;
    box-shadow: 0 6px 16px rgba(15, 58, 23, 0.7);
    transform: translateY(-3px);
}

.showcase-slide:hover .slide-category {
    background: #164620;
    box-shadow: 0 4px 12px rgba(30, 92, 38, 0.6);
    transform: translateY(-2px);
}

.showcase-slide .slide-name {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    transition: font-size 0.3s ease, color 0.3s ease;
    line-height: 1.3;
}

.showcase-slide:hover .slide-name {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ----- Scrollspy Navigation ----- */
.scrollspy-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.scrollspy-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.scrollspy-dot:hover {
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(46, 125, 50, 0.45);
}

.scrollspy-dot.active {
    background-color: var(--primary-color);
    box-shadow: 0 0 14px rgba(46, 125, 50, 0.55);
}

.scrollspy-dot .scrollspy-label {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scrollspy-dot .scrollspy-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}

.scrollspy-dot:hover .scrollspy-label {
    opacity: 1;
}
/* ----- Product In Action Section ----- */
.product-in-action-section {
    background: var(--light-color);
    padding: 60px 0 80px 0;
    margin: 0;
}

.product-in-action-section .section-header {
    display: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    color: red;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: red;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.1rem;
    color:red;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Modern Showcase Grid Layout ===== */
.showcase-grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
}


/* Left Side: Large Vertical Image */
.showcase-left {
    display: flex;
    align-items: stretch;
}

.showcase-large-card {
    width: 100%;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    aspect-ratio: 3/4;
}

.showcase-large-card:hover {
    box-shadow: 0 25px 70px rgba(46, 125, 50, 0.3);
}

.showcase-large-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-large-card:hover img {
    filter: brightness(1.15) contrast(1.08);
}

.showcase-large-card .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 60%);
    padding: 60px 25px 25px;
    color: var(--white);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.showcase-large-card:hover .overlay-text {
    transform: translateY(0);
}

.showcase-large-card .overlay-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Right Side: 2x2 Grid */
.showcase-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    align-content: start;
}

.showcase-grid-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    aspect-ratio: 5/8;
}

.showcase-grid-card:hover {
    box-shadow: 0 20px 60px rgba(46, 125, 50, 0.3);
}

.showcase-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-grid-card:hover img {
    filter: brightness(1.15) contrast(1.08);
}

.showcase-grid-card .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: transparent;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: var(--white);
    transition: all 0.3s ease;
}

.showcase-grid-card .overlay-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .showcase-grid-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .showcase-large-card {
        aspect-ratio: 4/5;
    }
}

@media (max-width: 992px) {
    .showcase-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-left {
        grid-column: 1;
    }

    .showcase-large-card {
        aspect-ratio: 16/9;
        max-height: 450px;
    }

    .showcase-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .showcase-grid-card {
        aspect-ratio: auto;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .showcase-right {
        grid-template-columns: 1fr;
    }

    .showcase-large-card {
        aspect-ratio: 16/9;
        max-height: 350px;
    }

    .showcase-grid-card {
        min-height: 200px;
    }

    .showcase-large-card .overlay-text h3 {
        font-size: 1.4rem;
    }

    .showcase-grid-card .overlay-text h3 {
        font-size: 1rem;
    }
}

/* Grid Layout - 4 columns in one row */
.action-grid-two-col {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, 1fr);
}

/* Card Styles */
.action-card-large {
    background: transparent;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Image Wrapper - Sirf image ke liye */
.action-img-wrapper-large {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

/* Image Sizing - Image ko sahi se fit karna */
.action-img-wrapper-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover effect */
.action-card-large:hover .action-img-wrapper-large img {
    transform: scale(1.05);
}

/* Overlay ko hataya because aapko sirf image chahiye */
.action-overlay {
    display: none;
}

/* Content ko hataya because aapko sirf image chahiye */
.action-content {
    display: none;
}

.action-label {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .action-grid-two-col {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 20px;
    }
    
    .action-img-wrapper-large {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .action-grid-two-col {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 20px;
    }
    
    .action-img-wrapper-large {
        height: 300px;
    }
}

/* ----- Index Footer (.site-footer) ----- */
.site-footer {
    background: var(--footer-dark);
    color: #ccc;
    padding: 60px 0 0;
}

.site-footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.site-footer .footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.site-footer .footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-medium);
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li {
    margin-bottom: 10px;
}

.site-footer .footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.site-footer .footer-links a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--primary-color);
}

.site-footer .footer-links a:hover {
    color: var(--green-accent-light);
    padding-left: 5px;
}

.site-footer .contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.site-footer .contact-info li i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1rem;
    flex-shrink: 0;
}

.site-footer .contact-info a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer .contact-info a:hover {
    color: var(--green-accent-light);
}

.site-footer .footer-bottom {
    background: var(--footer-darker);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gray-medium);
    margin-right: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.site-footer .footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ----- Index Responsive ----- */
@media (max-width: 991px) {
    .category-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .categories-header h2 {
        font-size: 2rem;
    }

    .category-card .card-img-wrap {
        padding: 24px 16px 8px;
        min-height: 300px;
    }

    .showcase-slide {
        flex: 0 0 50%;
        height: 60vh;
    }

    .showcase-slide:hover {
        z-index: 100;
    }
}

@media (max-width: 767px) {
    .hero-section .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 25px;
        flex-wrap: wrap;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .hero-cta .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .product-categories-section {
        padding: 40px 0;
    }

    .category-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .category-card .card-img-wrap {
        min-height: 280px;
    }

    .showcase-slide {
        flex: 0 0 100%;
        height: 60vh;
    }

    .showcase-slide:hover {
        z-index: 100;
    }
}


/* =====================================================
   7. PAGE: Products Listing
   ===================================================== */

/* ----- Products Page Banner Override ----- */
.products-page .page-banner {
    padding: 100px 0 60px;
}

.banner-description {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* ----- Category Filter ----- */
.category-filter {
    padding: 40px 0 20px;
    background: var(--light-color);
    border-bottom: 1px solid var(--gray-light);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-tab {
    padding: 10px 28px;
    border: 2px solid var(--filter-border);
    background: var(--white);
    color: var(--filter-text);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(46, 125, 50, 0.05);
}

.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

/* ----- Product Grid Section ----- */
.product-grid-section {
    padding: 60px 0 80px;
    background: var(--light-color);
}

.product-count-text {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.product-count-text span {
    font-weight: 600;
    color: var(--primary-color);
}

/* ----- Product Card ----- */
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 2px solid #1a5c2e;
}


.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    color: inherit;
    text-decoration: none;
}

.product-card .card-img-area {
    padding: 30px 30px 20px;
    background: linear-gradient(180deg, var(--green-bg-form) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.product-card:hover .card-img-area {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.product-card .card-img-area img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.product-card:hover .card-img-area img {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.product-card .cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(46, 125, 50, 0.12);
    color: var(--primary-color);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.product-card:hover .cat-badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.product-card .card-body-area {
    padding: 20px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    transition: background-color 0.4s ease;
}

.product-card:hover .card-body-area {
    background-color: var(--card-hover-dark);
}

.product-card .card-body-area h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 6px;
    transition: color 0.4s ease;
}

.product-card:hover .card-body-area h3 {
    color: var(--white);
}

.product-card .card-body-area .series-label {
    font-size: 0.78rem;
    color: var(--gray-medium);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}

.product-card:hover .card-body-area .series-label {
    color: var(--green-accent-light);
}

.product-card .card-body-area p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 12px;
    flex-grow: 1;
    line-height: 1.5;
    transition: color 0.4s ease;
}

.product-card:hover .card-body-area p {
    color: rgba(255, 255, 255, 0.7);
}

.product-card .specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.product-card .spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--spec-bg);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.4s ease;
}

.product-card:hover .spec-chip {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.product-card .spec-chip i {
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: color 0.4s ease;
}

.product-card:hover .spec-chip i {
    color: var(--green-accent-light);
}

.product-card .view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease, color 0.4s ease;
}

.product-card:hover .view-link {
    gap: 10px;
    color: var(--green-accent-light);
}

/* Bottom line animation on hover */
.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-accent-light), var(--primary-light));
    transition: width 0.4s ease;
}

.product-card:hover::after {
    width: 100%;
}

/* Hidden filter state */
.product-col.hidden {
    display: none;
}

/* ----- Products Responsive ----- */
@media (max-width: 767.98px) {
    .filter-tabs { gap: 8px; }
    .filter-tab { padding: 8px 20px; font-size: 0.85rem; }
    .product-card .card-img-area { min-height: 200px; padding: 20px; }
    .product-card .card-img-area img { max-height: 170px; }
}


/* =====================================================
   8. PAGE: Product Detail
   ===================================================== */

/* ----- Product Image ----- */
.product-image-wrapper {
    background-color: var(--section-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    cursor: zoom-in;
    overflow: hidden;
    position: relative;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-image-wrapper.zoomed {
    cursor: zoom-out;
}

.product-image-wrapper.zoomed img {
    transform: scale(1.8);
}

/* ----- Badges ----- */
.series-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--bs-green), var(--bs-green-light));
    color: var(--white);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.category-badge {
    display: inline-block;
    background-color: var(--green-bg-soft);
    color: var(--primary-color);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-title {
    font-size: 2rem;
    color: var(--nav-text);
}

.product-description {
    line-height: 1.8;
}

.error-icon {
    font-size: 4rem;
}

/* ----- Spec Table ----- */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.spec-table tr:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

.spec-table td {
    padding: 12px 16px;
    font-size: 0.95rem;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--section-bg);
    width: 40%;
}

.spec-table td:last-child {
    color: var(--text-color);
}

/* ----- Feature List ----- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.feature-list li i {
    color: var(--bs-green);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ----- Highlight Badges ----- */
.highlight-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 4px 4px 4px 0;
}

.highlight-badge:nth-child(4n+1) {
    background-color: var(--info-blue-bg);
    color: var(--info-blue);
}

.highlight-badge:nth-child(4n+2) {
    background-color: var(--info-pink-bg);
    color: var(--error-color);
}

.highlight-badge:nth-child(4n+3) {
    background-color: var(--info-orange-bg);
    color: var(--info-orange);
}

.highlight-badge:nth-child(4n) {
    background-color: var(--green-bg-soft);
    color: var(--primary-color);
}

/* ----- Loading Spinner ----- */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--bs-green);
}

.loading-spinner p {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 1rem;
}

/* ----- Image Zoom Overlay ----- */
.image-zoom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
}

.image-zoom-overlay.active {
    display: flex;
}

.image-zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.image-zoom-overlay .close-zoom {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
    line-height: 1;
}

/* ----- Back Link ----- */
.back-link {
    color: var(--bs-green);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--bs-green-dark);
    gap: 10px;
}

/* ----- Product Detail Page: Scoped Overrides ----- */
.product-detail-page .page-banner {
    background: linear-gradient(135deg, var(--bs-green-dark), var(--bs-green), var(--bs-green-light));
    padding: 60px 0 40px;
    color: var(--white);
}

.product-detail-page .page-banner h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-detail-page .page-banner .breadcrumb {
    margin-bottom: 0;
}

.product-detail-page .page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.product-detail-page .page-banner .breadcrumb-item a:hover {
    color: var(--white);
}

.product-detail-page .page-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.product-detail-page .page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: ">";
}

.product-detail-page .btn-quote {
    background: linear-gradient(135deg, var(--bs-green), var(--bs-green-light));
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-detail-page .btn-quote:hover {
    background: linear-gradient(135deg, var(--bs-green-dark), var(--bs-green));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.3);
}


/* =====================================================
   9. PAGE: About
   ===================================================== */

/* ----- About page header override ----- */
.about-page .page-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.about-page .page-header h1 {
    margin-bottom: 10px;
}

.page-header .tagline {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 15px;
    position: relative;
    font-style: italic;
}

/* ----- Story Section ----- */
.story-section {
    background: var(--white);
    padding: 90px 0;
}

.story-section .section-lead {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.7;
}

.story-section .story-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.story-section .story-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.story-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.story-text p strong {
    color: var(--dark-color);
}

.story-text .highlight-question {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.06), rgba(76, 175, 80, 0.08));
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 30px 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 500;
    font-style: italic;
}

.story-text .highlight-answer {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.08rem;
}

.story-sidebar-card {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 25px;
}

.story-sidebar-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

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

.story-sidebar-card .sidebar-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.story-sidebar-card .sidebar-icon i {
    font-size: 22px;
    color: var(--white);
}

/* ----- Mission & Vision ----- */
.mission-vision-section {
    background: var(--light-color);
    padding: 90px 0;
}

.mv-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    height: 100%;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.mv-card .mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-card .mv-icon i {
    font-size: 30px;
    color: var(--white);
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* ----- Numbers Section ----- */
.numbers-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.numbers-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.numbers-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.numbers-section .section-subtitle {
    color: var(--secondary-color);
}

.numbers-section .section-title {
    color: var(--white);
}

.section-description-light {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 10px auto 0;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card .stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-card .stat-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

.stat-card .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ----- About Values Section (dark gradient) ----- */
.about-page .values-section {
    background: linear-gradient(135deg, var(--dark-color), var(--dark-secondary));
    color: var(--white);
    padding: 90px 0;
}

.about-page .values-section .section-subtitle {
    color: var(--secondary-color);
}

.about-page .values-section .section-title {
    color: var(--white);
}

.about-page .values-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 45px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.value-card .value-icon {
    width: 85px;
    height: 85px;
    background: rgba(46, 125, 50, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--primary-color);
}

.value-card .value-icon i {
    font-size: 38px;
    color: var(--primary-light);
}

.value-card:hover .value-icon i {
    color: var(--white);
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ----- What Makes Us Different ----- */
.different-section {
    background: var(--white);
    padding: 90px 0;
}

.diff-card {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.diff-card:hover::before {
    transform: scaleX(1);
}

.diff-card .diff-icon {
    width: 70px;
    height: 70px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition);
}

.diff-card:hover .diff-icon {
    background: var(--primary-color);
}

.diff-card .diff-icon i {
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.diff-card:hover .diff-icon i {
    color: var(--white);
}

.diff-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
}

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

.diff-card .diff-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(46, 125, 50, 0.06);
    line-height: 1;
}

/* ----- About CTA override ----- */
.about-page .cta-section {
    position: relative;
    overflow: hidden;
}

.about-page .cta-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

/* ----- About Responsive ----- */
@media (max-width: 991px) {
    .about-page .page-header h1 {
        font-size: 2.2rem;
    }

    .story-section .story-heading {
        font-size: 2rem;
    }

    .mv-card {
        padding: 35px 25px;
    }

    .stat-card .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .about-page .page-header {
        padding: 100px 0 40px;
    }

    .about-page .page-header h1 {
        font-size: 1.8rem;
    }

    .story-section,
    .mission-vision-section,
    .numbers-section,
    .about-page .values-section,
    .different-section {
        padding: 60px 0;
    }

    .cta-section .btn {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }

    .diff-card .diff-number {
        font-size: 2rem;
    }
}


/* =====================================================
   10. PAGE: Brand Story
   ===================================================== */

/* ----- Chapter Sections ----- */
.chapter-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.chapter-section.bg-white {
    background: var(--white);
}

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

.chapter-section.bg-dark-gradient {
    background: linear-gradient(135deg, var(--dark-color), var(--dark-secondary));
    color: var(--white);
}

.chapter-section.bg-green-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
}

/* ----- Chapter Components ----- */
.chapter-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.chapter-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.bg-dark-gradient .chapter-label,
.bg-green-gradient .chapter-label {
    color: var(--secondary-color);
}

.bg-dark-gradient .chapter-label::before,
.bg-green-gradient .chapter-label::before {
    background: var(--secondary-color);
}

.chapter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.bg-dark-gradient .chapter-title,
.bg-green-gradient .chapter-title {
    color: var(--white);
}

.chapter-quote {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 35px;
    padding-left: 25px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.7;
}

.bg-dark-gradient .chapter-quote {
    color: rgba(255, 255, 255, 0.8);
    border-left-color: var(--secondary-color);
}

.bg-green-gradient .chapter-quote {
    color: rgba(255, 255, 255, 0.85);
    border-left-color: var(--secondary-color);
}

.chapter-text {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.bg-dark-gradient .chapter-text,
.bg-green-gradient .chapter-text {
    color: rgba(255, 255, 255, 0.8);
}

.chapter-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 125, 50, 0.1);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.chapter-year-badge i {
    font-size: 18px;
}

.bg-dark-gradient .chapter-year-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.bg-green-gradient .chapter-year-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* ----- Chapter Illustrations ----- */
.chapter-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
}

.chapter-icon-circle {
    width: 250px;
    height: 250px;
    background: rgba(46, 125, 50, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chapter-icon-circle::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(46, 125, 50, 0.15);
    border-radius: 50%;
    animation: slowRotate 30s linear infinite;
}

.bg-dark-gradient .chapter-icon-circle {
    background: rgba(255, 255, 255, 0.05);
}

.bg-dark-gradient .chapter-icon-circle::before {
    border-color: rgba(255, 255, 255, 0.08);
}

.bg-green-gradient .chapter-icon-circle {
    background: rgba(255, 255, 255, 0.1);
}

.bg-green-gradient .chapter-icon-circle::before {
    border-color: rgba(255, 255, 255, 0.15);
}

.chapter-icon-circle i {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.6;
}

.bg-dark-gradient .chapter-icon-circle i,
.bg-green-gradient .chapter-icon-circle i {
    color: var(--white);
    opacity: 0.5;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ----- Chapter Features ----- */
.chapter-features {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.chapter-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 1.02rem;
    color: var(--text-light);
}

.chapter-features li i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.bg-dark-gradient .chapter-features li {
    color: rgba(255, 255, 255, 0.8);
}

.bg-dark-gradient .chapter-features li i {
    color: var(--secondary-color);
}

.bg-green-gradient .chapter-features li {
    color: rgba(255, 255, 255, 0.85);
}

.bg-green-gradient .chapter-features li i {
    color: var(--secondary-color);
}

/* ----- Brand Story Values Section (light bg) ----- */
.brand-story-page .values-section {
    background: var(--light-color);
    padding: 80px 0;
}

.value-card-story {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 45px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.value-card-story:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-card-story:hover::before {
    transform: scaleX(1);
}

.value-card-story .value-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.value-card-story:hover .value-icon {
    background: var(--primary-color);
}

.value-card-story .value-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-card-story:hover .value-icon i {
    color: var(--white);
}

.value-card-story h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.value-card-story p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* ----- Brand Story Responsive ----- */
@media (max-width: 991px) {
    .brand-story-page .page-header h1 {
        font-size: 2.2rem;
    }

    .chapter-section {
        padding: 70px 0;
    }

    .chapter-title {
        font-size: 2rem;
    }

    .chapter-illustration {
        min-height: 250px;
        margin-bottom: 40px;
    }

    .chapter-icon-circle {
        width: 180px;
        height: 180px;
    }

    .chapter-icon-circle::before {
        width: 220px;
        height: 220px;
    }

    .chapter-icon-circle i {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .brand-story-page .page-header {
        padding: 100px 0 40px;
    }

    .brand-story-page .page-header h1 {
        font-size: 1.8rem;
    }

    .chapter-section {
        padding: 60px 0;
    }

    .chapter-title {
        font-size: 1.6rem;
    }

    .chapter-quote {
        font-size: 1.15rem;
    }

    .chapter-illustration {
        min-height: 200px;
    }

    .chapter-icon-circle {
        width: 150px;
        height: 150px;
    }

    .chapter-icon-circle::before {
        width: 180px;
        height: 180px;
    }

    .chapter-icon-circle i {
        font-size: 50px;
    }
}


/* =====================================================
   11. PAGE: Contact
   ===================================================== */

/* ----- Contact page banner override ----- */
.contact-page .page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
}

.contact-page .page-banner h1 {
    position: relative;
}

.contact-page .page-banner p.lead {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    position: relative;
}

.contact-page .page-banner .breadcrumb {
    position: relative;
}

.contact-page .page-banner .breadcrumb-item.active {
    color: var(--secondary-color);
}

.contact-page .page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ----- Contact Info Cards ----- */
.contact-cards-section {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card .card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.contact-card .card-icon i {
    font-size: 28px;
    color: var(--white);
}

.contact-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

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

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

.required-mark {
    color: var(--error-color);
}

/* ----- Contact Form & Info Section ----- */
.contact-form-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: var(--border-radius-lg);
    padding: 45px 35px;
    color: var(--white);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.contact-info-panel h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.contact-info-panel .subtitle {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 30px;
    position: relative;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
    position: relative;
}

.info-item .info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item .info-icon i {
    font-size: 18px;
    color: var(--white);
}

.info-item .info-text h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
}

.info-item .info-text p,
.info-item .info-text a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-decoration: none;
    line-height: 1.5;
}

.info-item .info-text a:hover {
    color: var(--white);
}

.panel-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 25px 0;
    position: relative;
}

.social-subtitle {
    margin-bottom: 12px;
}

.panel-social {
    display: flex;
    gap: 12px;
    position: relative;
}

.panel-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.panel-social a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ----- Form Card ----- */
.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 45px 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.contact-form-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-form-card .subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-form-card .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--input-bg);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background-color: var(--white);
}

.contact-form-card textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: var(--white);
    padding: 14px 40px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), #145216);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    color: var(--white);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Alerts */
.form-alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    font-size: 0.95rem;
    display: none;
}

.form-alert.alert-success {
    background: var(--green-bg-soft);
    color: var(--primary-color);
    border: 1px solid #c8e6c9;
    display: block;
}

.form-alert.alert-danger {
    background: #ffebee;
    color: var(--error-color);
    border: 1px solid #ffcdd2;
    display: block;
}

/* ----- Map Section ----- */
.map-section {
    padding: 80px 0 0;
    background: var(--light-color);
}

.map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* ----- FAQ Section ----- */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
    padding: 20px 25px;
    background: var(--white);
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232e7d32'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-body {
    padding: 0 25px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ----- CTA Banner ----- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.cta-banner h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-banner .btn-light {
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    color: var(--primary-dark);
    transition: var(--transition);
}

.cta-banner .btn-light:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* ----- Contact Responsive ----- */
@media (max-width: 991px) {
    .contact-page .page-banner h1 {
        font-size: 2.2rem;
    }

    .contact-info-panel {
        padding: 35px 25px;
        margin-bottom: 30px;
    }

    .contact-form-card {
        padding: 35px 25px;
    }
}

@media (max-width: 767px) {
    .contact-page .page-banner {
        padding: 100px 0 40px;
    }

    .contact-page .page-banner h1 {
        font-size: 1.8rem;
    }

    .contact-cards-section {
        padding: 50px 0;
    }

    .contact-form-section {
        padding: 50px 0;
    }

    .contact-info-panel,
    .contact-form-card {
        padding: 25px 20px;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .faq-section {
        padding: 50px 0;
    }
}


/* =====================================================
   12. Shared Responsive Overrides
   ===================================================== */

/* Medium screens - tablets */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .page-banner {
        padding: 90px 0 50px;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .footer-top {
        padding: 60px 0 30px;
    }
}

/* Small screens - phones landscape */
@media (max-width: 767px) {
    .page-banner {
        padding: 80px 0 40px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-top {
        padding: 50px 0 20px;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 5px;
    }
}

/* Extra small screens - phones portrait */
@media (max-width: 575px) {
    .page-banner h1,
    .page-header h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-logo {
        height: 40px;
    }

    .btn-quote {
        padding: 8px 20px !important;
        font-size: 14px;
    }

    /* Responsive Action Grid - Small phones */
    .action-grid-two-col {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .action-card-large {
        min-width: 0;
    }

    .action-img-wrapper-large {
        height: 100px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Tablets (768px and below) */
@media (max-width: 767px) {
    .action-grid-two-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .action-card-large {
        min-width: 0;
    }

    .action-img-wrapper-large {
        height: 80px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* Desktop adjustments */
@media (min-width: 992px) {
    .action-grid-two-col {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .action-card-large {
        min-width: 0;
    }

    .action-img-wrapper-large {
        height: 80px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}
