/*
Theme Name: Tirupati Agrotech One-Page Premium Theme
Theme URI: https://tirupatipsyllium.com
Author: Antigravity pair-programming team
Author URI: https://tirupatipsyllium.com
Description: A premium, fast-loading, highly customizable, and fully responsive one-page WordPress theme for Tirupati Agrotech, a leading Psyllium exporter from India. Built with clean Forest Green and Premium Gold accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tirupati-onepage
Tags: one-column, custom-colors, custom-menu, featured-images, custom-logo, translation-ready

========================================================================
   Tirupati Agrotech One-Page Theme core stylesheet
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    /* Brand Colors */
    --brand-primary: #073820;          /* Deep Forest Green (Main B2B identity) */
    --brand-primary-light: #0c4d2d;    /* Lighter green for hovers */
    --brand-primary-dark: #042514;     /* Very deep green-black */
    --brand-secondary: #0a1c13;        /* Charcoal Emerald (Deep rich background) */
    
    /* Premium Gold Accents */
    --brand-gold: #c5a059;             /* Premium Satin Gold */
    --brand-gold-light: #dfbe7e;       /* Shiny Gold */
    --brand-gold-dark: #a17f3e;        /* Dark Bronze Gold */
    --brand-gold-soft: rgba(197, 160, 89, 0.15); /* Soft Tinted Gold */
    
    /* Neutrals */
    --bg-warm: #fdfbf7;                /* Premium Warm Cream */
    --bg-light: #f5f2e9;               /* Card/Block Soft Cream */
    --white: #ffffff;
    --border-warm: #e3decb;            /* Soft Tinted border */
    
    /* Typography Colors */
    --text-primary: #121e17;           /* High contrast slate-green */
    --text-muted: #536258;             /* Soft body grey-green */
    --text-light: #f5f2e9;
    
    /* Typography Font stacks */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Global shadows */
    --shadow-sm: 0 2px 4px rgba(10, 28, 19, 0.04);
    --shadow-md: 0 10px 20px rgba(10, 28, 19, 0.06);
    --shadow-lg: 0 20px 40px rgba(10, 28, 19, 0.08);
    --shadow-gold: 0 15px 30px rgba(197, 160, 89, 0.15);
    --shadow-hover: 0 30px 60px rgba(10, 28, 19, 0.12);
    
    /* Global Transitions */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 8px;
}

/* Base styles reset and guidelines to comply with standard customizer classes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* Layout classes */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--brand-secondary); color: var(--text-light); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-green { background-color: var(--brand-primary); color: var(--text-light); }
.bg-green h2, .bg-green h3 { color: var(--white); }

/* Grid systems */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

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

/* Premium gold accents */
.gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-gold-light) 50%, var(--brand-gold-dark) 100%);
    margin: 15px 0;
    border-radius: 2px;
}

.gold-divider.center {
    margin: 15px auto;
}

/* Headings */
.section-heading {
    margin-bottom: 60px;
}

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

.sub-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-gold-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sub-heading::before, .sub-heading::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 1px;
    background-color: var(--brand-gold);
}

.section-heading h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
}

.section-heading.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.section-heading.light h2 { color: var(--white); }
.section-heading.light p { color: #b8c8be; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-gold-dark) 0%, var(--brand-gold) 100%);
    color: var(--brand-secondary);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-light) 100%);
}

.btn-secondary {
    background-color: var(--brand-primary);
    color: var(--white);
    border: 1px solid var(--brand-primary-light);
}

.btn-secondary:hover {
    background-color: var(--brand-primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-gold);
    border: 2px solid var(--brand-gold);
}

.btn-outline:hover {
    background-color: var(--brand-gold);
    color: var(--brand-secondary);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

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

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

/* Header & Nav */
#main-header {
    width: 100%;
    z-index: 1000;
    position: relative;
}

.top-bar {
    background-color: var(--brand-secondary);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a i {
    color: var(--brand-gold);
    font-size: 1.1rem;
}

.contact-info a:hover {
    color: var(--brand-gold-light);
}

.top-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-socials a:hover {
    color: var(--brand-gold-light);
}

.nav-bar {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-warm);
    transition: var(--transition);
}

.nav-bar.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(253, 251, 247, 0.98);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-gold);
}

.logo-icon i {
    color: var(--brand-gold);
    font-size: 1.25rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-text span.accent {
    color: var(--brand-gold-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--brand-secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links li.active a, .nav-links .current-menu-item a {
    color: var(--brand-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-gold);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links li.active a::after, .nav-links .current-menu-item a::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--brand-primary);
    cursor: pointer;
}

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.floating-top {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--brand-secondary);
    color: var(--brand-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.floating-top.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 550px;
    overflow: hidden;
    background-color: var(--brand-secondary);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.hero-slide.active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 31, 17, 0.95) 0%, rgba(4, 31, 17, 0.7) 50%, rgba(4, 31, 17, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    color: var(--white);
    padding: 0 25px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s, opacity 1s ease-out 0.5s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--brand-gold-soft);
    color: var(--brand-gold-light);
    border: 1px solid var(--brand-gold);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 600;
}

.hero-content h1 span.gold {
    color: var(--brand-gold);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    width: 30px;
    border-radius: 10px;
}

/* Statistics Bar */
.trust-stats {
    margin-top: -60px;
    position: relative;
    z-index: 100;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--brand-gold);
    border: 1px solid var(--border-warm);
}

.stat-card {
    text-align: center;
    padding: 15px 30px;
    border-right: 1px solid var(--border-warm);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--brand-gold-dark);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 2.6rem;
    margin-bottom: 6px;
    color: var(--brand-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -25px;
    background-color: var(--brand-primary);
    color: var(--white);
    padding: 25px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-gold);
    border: 5px solid var(--white);
    z-index: 10;
}

.exp-number {
    font-size: 2.3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--brand-gold);
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 35px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--brand-secondary);
}

.about-features i {
    color: var(--brand-gold);
    font-size: 1.3rem;
    background-color: var(--brand-gold-soft);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Products Cards */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-warm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-gold-light);
}

.product-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: var(--brand-secondary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--brand-primary);
    color: var(--brand-gold-light);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--brand-gold);
    z-index: 10;
}

.product-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-warm);
}

.meta-tag {
    background-color: var(--bg-warm);
    border: 1px solid var(--border-warm);
    color: var(--brand-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover {
    color: var(--brand-gold-dark);
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Applications Cards */
.app-card, .feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-warm);
    transition: var(--transition);
    text-align: center;
}

.app-card:hover, .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-gold);
}

.app-icon, .feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--brand-gold-dark);
    margin: 0 auto 25px auto;
    border: 1px solid var(--border-warm);
}

.app-card h3, .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.app-card p, .feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* B2B Calculator Styles */
.calculator-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-warm);
    overflow: hidden;
    margin-top: 50px;
}

.calculator-left {
    padding: 45px;
    border-right: 1px solid var(--border-warm);
}

.calculator-right {
    background-color: var(--brand-secondary);
    color: var(--white);
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 6px solid var(--brand-gold);
}

.calculator-left h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-warm);
    border-radius: 6px;
    background-color: var(--bg-warm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-input:focus {
    border-color: var(--brand-primary);
    background-color: var(--white);
    outline: none;
}

.slider-container {
    margin: 30px 0;
}

.slider-val-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-val-box span:first-child {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--brand-primary);
    letter-spacing: 1px;
}

.slider-val-box span:last-child {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--brand-gold-dark);
}

.range-slider {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 8px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-primary);
    border: 2px solid var(--brand-gold);
    cursor: pointer;
}

.spec-output-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--brand-gold);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
}

.spec-output-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.spec-output-row span:first-child {
    color: #a4b4ab;
}

.spec-output-row span:last-child {
    font-weight: 600;
    text-align: right;
}

/* Quality Timeline */
.quality-card {
    background-color: var(--white);
    border: 1px solid var(--border-warm);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--brand-primary);
}

.quality-card h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin-bottom: 15px;
}

.timeline {
    position: relative;
    max-width: 950px;
    margin: 50px auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--border-warm);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    color: var(--brand-gold-dark);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    width: 44%;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-warm);
    transition: var(--transition);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Infrastructure Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-card {
    background-color: var(--white);
    border: 6px solid var(--white);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: var(--transition);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(4, 31, 17, 0.9) 0%, rgba(4, 31, 17, 0.2) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--white);
    z-index: 5;
}

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

.gallery-overlay h4 {
    font-size: 1.2rem;
    color: var(--brand-gold-light);
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Infinite Certificate Slider */
.cert-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.cert-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollTrack 30s linear infinite;
}

.cert-item-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    width: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cert-item-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-gold);
    background-color: rgba(197, 160, 89, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.cert-item-card h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 5px;
}

.cert-item-card p {
    font-size: 0.75rem;
    color: #94a3b8;
}

@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-240px * 6)); }
}

/* Insights Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-warm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-gold-light);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--brand-secondary);
    color: var(--brand-gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    border: 1px solid var(--brand-gold);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Contact & RFQ inquiry forms */
.rfq-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: stretch;
}

.rfq-info {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rfq-info h2 {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.rfq-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-primary);
    border: 1px solid var(--border-warm);
}

.contact-method h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-method p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-muted);
}

.rfq-form-container {
    background-color: var(--white);
    padding: 45px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-warm);
    border-top: 5px solid var(--brand-gold);
}

.rfq-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Dialog Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 31, 17, 0.7);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    max-width: 550px;
    width: 90%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-warm);
    border-top: 6px solid var(--brand-gold);
    padding: 40px;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 4rem;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Accordion FAQs */
.faq-accordion {
    max-width: 850px;
    margin: 50px auto 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border-warm);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--brand-gold-dark);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

/* B2B Exporter Footer */
.main-footer {
    background-color: var(--brand-secondary);
    color: var(--text-light);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--brand-gold);
}

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

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--brand-gold);
}

.footer-col.brand-col p {
    color: #a4b4ab;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 20px 0;
}

.footer-col.brand-col .logo-text {
    color: var(--white);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: #a4b4ab;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--brand-gold-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a4b4ab;
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--brand-gold);
    font-size: 1.1rem;
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-gold-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--brand-gold);
    color: var(--brand-secondary);
    border-color: var(--brand-gold);
    transform: translateY(-3px);
}

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

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: var(--brand-gold);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    html { font-size: 15px; }
    .hero-content h1 { font-size: 3.2rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .about-grid, .calculator-card, .rfq-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-experience-badge { bottom: -10px; right: -10px; }
    .calculator-left, .calculator-right { padding: 30px; }
    .calculator-card { grid-template-columns: 1fr; }
    .calculator-right { border-left: none; border-top: 6px solid var(--brand-gold); }
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: row !important; margin-bottom: 30px; }
    .timeline-icon { left: 20px; transform: translate(-50%, -50%); }
    .timeline-content { width: calc(100% - 60px); margin-left: 60px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 30px;
        box-shadow: var(--shadow-md);
        border-bottom: 2px solid var(--brand-gold);
    }
    .mobile-menu-btn { display: block; }
    .nav-cta { display: none; }
    .hero-content h1 { font-size: 2.6rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: -30px; padding: 20px; }
    .stat-card { border-right: none; }
    .stat-card:nth-child(odd) { border-right: 1px solid var(--border-warm); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .rfq-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-content h1 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { border-right: none !important; border-bottom: 1px solid var(--border-warm); }
    .stat-card:last-child { border-bottom: none; }
    .gallery-grid { grid-template-columns: 1fr; }
    .rfq-form-container { padding: 25px; }
    .about-features { grid-template-columns: 1fr; }
}
