/* ===================================
   Sri Sai Bags - Premium Design System
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   CSS Variables - Eco-Friendly Palette
   =================================== */
:root {
    /* Primary Colors - Professional Eco-Friendly Palette */
    --primary-green: #1b4d3e;
    --primary-dark: #0d2b22;
    --primary-light: #2c6e5a;

    /* Secondary Colors - Refined Gold/Jute */
    --secondary-gold: #c4a574;
    --secondary-dark-gold: #a68b5a;
    --secondary-light-gold: #e2d1b5;

    /* Accent & Earth Tones */
    --accent-slate: #2f3e46;
    --accent-sand: #f5f1ed;
    --accent-terracotta: #8d5d46;

    /* Neutral Colors */
    --neutral-white: #FFFFFF;
    --neutral-light: #f9fafb;
    --neutral-gray: #f1f3f5;
    --neutral-medium-gray: #adb5bd;
    --neutral-dark-gray: #495057;
    --neutral-charcoal: #212529;
    --neutral-black: #000000;

    /* Semantic Colors */
    --color-success: #2d6a4f;
    --color-error: #c92a2a;
    --color-warning: #e67e22;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-gold) 0%, var(--secondary-dark-gold) 100%);
    --gradient-glass: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3.5rem;
    --spacing-xxl: 5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 10px 30px rgba(27, 77, 62, 0.15);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-charcoal);
    background-color: var(--neutral-white);
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-normal);
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--neutral-black);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-dark-gray);
    line-height: 1.8;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-sm {
    padding: var(--spacing-xl) 0;
}

.section-lg {
    padding: 5rem 0;
}

/* ===================================
   Header Styles
   =================================== */
.top-bar {
    background: var(--gradient-primary);
    color: var(--neutral-white);
    padding: var(--spacing-xs) 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.top-bar a {
    color: var(--neutral-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.main-header {
    background: var(--neutral-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 95px;
    /* Increased from 80px */
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 75px;
        /* Increased from 60px */
    }
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.main-nav a {
    color: var(--neutral-charcoal);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: var(--transition-normal);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-blue);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 80%;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

/*.dropdown-menu li a {
    line-height: 18px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}*/
/* Fix dropdown spacing */
/*.main-nav .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    padding: 5px 0 !important;
}

.main-nav .dropdown-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav .dropdown-menu a {
    padding: 8px 15px !important;
}*/
/* Mobile dropdown spacing fix */
/*@media (max-width: 768px) {

    .main-nav .dropdown-menu {
        gap: 0 !important;
        padding: 5px 0 !important;
        padding-left: 10px !important;
    }

    .main-nav .dropdown-menu li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-nav .dropdown-menu a {
        padding: 8px 10px !important;
    }

}*/

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--neutral-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
    display: block;
}

/* Custom Scrollbar for Menus */
.dropdown-menu::-webkit-scrollbar,
.main-nav::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track,
.main-nav::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb,
.main-nav::-webkit-scrollbar-thumb {
    background: #c4a574;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover,
.main-nav::-webkit-scrollbar-thumb:hover {
    background: #b89560;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    display: block;
    /* Ensure vertical layout */
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 15px;
    /* Increased padding */
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Divider */
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--neutral-light);
    color: var(--primary-dark);
}

.dropdown-menu a::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: var(--spacing-xs);
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--neutral-charcoal);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===================================
   Hero Sections (Internal Pages)
   =================================== */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    background-size: cover;
    background-position: center;
    color: var(--neutral-white);
    padding: 80px 0;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 43, 34, 0.8), rgba(27, 77, 62, 0.6));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--neutral-white) !important;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--neutral-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-dark-gold) 0%, var(--secondary-gold) 100%);
}

.btn-secondary {
    background: var(--neutral-white);
    color: var(--primary-green);
    border-color: var(--neutral-white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--neutral-white);
    border-color: var(--neutral-white);
}

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

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--neutral-white);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
}

/* ===================================
   Cards
   =================================== */
.card {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #fdfcfb;
    padding: 20px;
    transition: var(--transition-slow);
}

.product-img-wrapper {
    height: 400px;
    overflow: hidden;
    position: relative;
    background: #fdfcfb;
    border-bottom: 1px solid #f0f0f0;
}

.card-body {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-green);
}

.card-text {
    color: var(--neutral-dark-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

/* ===================================
   Grid System
   =================================== */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.section-subtitle {
    color: var(--primary-jute);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--neutral-dark-gray);
}

/* ===================================
   Products Section
   =================================== */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--neutral-light);
}

.product-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--accent-terracotta);
    color: var(--neutral-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

/* ===================================
   Testimonials
   =================================== */
.testimonial-card {
    background: var(--neutral-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-jute);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--neutral-dark-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-jute);
    opacity: 0.3;
    line-height: 0;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--neutral-black);
    color: var(--neutral-gray);
    padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-widget h3 {
    color: var(--neutral-white);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-widget ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-widget a {
    color: var(--neutral-gray);
    transition: var(--transition-normal);
}

.footer-widget a:hover {
    color: var(--primary-jute);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--neutral-gray);
    font-size: 0.875rem;
}

/* ===================================
   Contact Form
   =================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--neutral-charcoal);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--neutral-gray);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-jute);
    box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Banner Slider Enhancement
   =================================== */
/* Horizontal Banner Slider Styles */
.banner-slider {
    position: relative;
    height: 140vh;
    background: var(--neutral-black);
    overflow: hidden;
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
    opacity: 1;
    /* Always visible in track */
    visibility: visible;
    transform: none;
    /* Removed scale effect for pure slide */
}

@media (max-width: 768px) {
    .banner-slider {
        height: 280px;
        /* Reduced height for mobile */
    }

    .banner-slide img {
        object-fit: fill;
        /* Ensure full image is visible, might distort slightly but fits container */
    }

    .banner-text-box h1 {
        font-size: 1.5rem;
    }

    .banner-text-box p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.banner-text-box {
    max-width: 800px;
    color: var(--neutral-white);
}

/* Fix Banner Text Top Cut Issue (Desktop Only) */
@media (min-width: 1024px) {
    .banner-text-box {
        padding-top: 30px;
        /* Small adjustment to prevent cut */
    }
}

.banner-text-box h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--neutral-white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.banner-text-box p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
}

.banner-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
}

.banner-arrow {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--neutral-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.banner-arrow:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.1);
}

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

.banner-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--secondary-gold);
    border-color: var(--secondary-gold);
    width: 30px;
}

/* ===================================
   About Section Enhancements
   =================================== */
.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--accent-sand);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary-green);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--neutral-dark-gray);
}

.contact-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--neutral-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
}

.contact-highlight i {
    font-size: 2rem;
    color: var(--secondary-gold);
}

.contact-highlight div strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-green);
}

.image-stack {
    position: relative;
    padding-bottom: 50px;
}

.img-main {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    width: 90%;
}

.img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    border: 8px solid var(--neutral-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Product Showcase
   =================================== */
.bg-light-gray {
    background: #f8f9fa;
}

.product-item-card {
    background: var(--neutral-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.product-item-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-thumb {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-item-card:hover .product-thumb img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 77, 62, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-item-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    border: 2px solid var(--neutral-white);
    color: var(--neutral-white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.view-btn:hover {
    background: var(--neutral-white);
    color: var(--primary-green);
}

.product-details {
    padding: 20px;
    text-align: center;
}

.product-details h3 {
    margin: 0;
    font-size: 1.2rem;
}

/* =why choose us = */
.feature-box {
    padding: 30px;
}

.icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--accent-sand);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.feature-box:hover .icon-wrap {
    background: var(--primary-green);
    color: var(--neutral-white);
    transform: rotateY(360deg);
}

.cta-parallax {
    padding: 100px 0;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .banner-slider {
        height: 600px;
    }

    .banner-text-box h1 {
        font-size: 2.5rem;
    }

    .banner-arrows {
        display: none;
    }

    .image-stack {
        margin-top: 50px;
    }
}


.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-normal);
}

.banner-dot.active {
    background: var(--secondary-gold);
    transform: scale(1.3);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
}

.banner-arrow:hover {
    background: var(--secondary-gold);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

/* ===================================
   Gallery - Enhanced
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.gallery-overlay i {
    font-size: 3rem;
    color: var(--secondary-gold);
    margin-bottom: var(--spacing-sm);
}

.gallery-overlay p {
    color: var(--neutral-white);
    font-weight: 600;
    text-align: center;
    padding: 0 var(--spacing-md);
}

/* Gallery Modal/Lightbox */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition-normal);
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-close:hover {
    color: var(--secondary-gold);
    transform: rotate(90deg);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.gallery-modal-nav:hover {
    background: var(--secondary-gold);
    border-color: var(--secondary-gold);
}

.gallery-modal-prev {
    left: -80px;
}

.gallery-modal-next {
    right: -80px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   Mobile Menu Fix
   =================================== */
.has-dropdown>a {
    position: relative;
}

.has-dropdown>a::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-normal);
}

.has-dropdown.open>a::before {
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 768px) {
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.open .dropdown-menu {
        max-height: 300px;
        /* Limit height for scrolling */
        overflow-y: auto;
        /* Enable vertical scroll */
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--neutral-white);
        box-shadow: var(--shadow-xl);
        padding: var(--spacing-xl) var(--spacing-md);
        transition: var(--transition-normal);
        z-index: 9999;
        overflow-y: auto;
        /* Enable scroll for entire menu container */
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--neutral-gray);
    }

    .main-nav a {
        display: block;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-md);
        background: var(--neutral-light);
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        min-height: 400px;
        text-align: center;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

.pt-1 {
    padding-top: var(--spacing-xs);
}

.pt-2 {
    padding-top: var(--spacing-sm);
}

.pt-3 {
    padding-top: var(--spacing-md);
}

.pt-4 {
    padding-top: var(--spacing-lg);
}

.pt-5 {
    padding-top: var(--spacing-xl);
}

.pb-1 {
    padding-bottom: var(--spacing-xs);
}

.pb-2 {
    padding-bottom: var(--spacing-sm);
}

.pb-3 {
    padding-bottom: var(--spacing-md);
}

.pb-4 {
    padding-bottom: var(--spacing-lg);
}

.pb-5 {
    padding-bottom: var(--spacing-xl);
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

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

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

.gap-1 {
    gap: var(--spacing-xs);
}

.gap-2 {
    gap: var(--spacing-sm);
}

.gap-3 {
    gap: var(--spacing-md);
}

.gap-4 {
    gap: var(--spacing-lg);
}

.gap-5 {
    gap: var(--spacing-xl);
}

/* ===================================
   Responsive Enhancements & Admin Styles
   =================================== */

/* Frontend Header Mobile Fix */
@media (max-width: 768px) {
    .top-bar-left {
        flex-wrap: nowrap;
        /* Prevent wrapping */
        width: 100%;
        justify-content: center;
        gap: var(--spacing-sm);
    }

    .top-bar-left a {
        font-size: 0.75rem;
        /* Smaller font to fit */
        white-space: nowrap;
        /* Keep text on one line */
    }

    .top-bar-right {
        display: none;
        /* Simplify header on mobile */
    }

    /* Adjust header logo size */
    .logo {
        font-size: 1.4rem;
    }
}

/* Admin Table Responsiveness */
.admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--neutral-white);
}

.admin-table table {
    width: 100%;
    min-width: 800px;
    /* Ensure table retains structure */
    border-collapse: collapse;
}

.table-img {
    max-width: 60px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

/* Admin Action Buttons Mobile */
@media (max-width: 576px) {
    .action-btns {
        flex-direction: column;
        gap: 5px;
    }

    .action-btns .btn {
        width: 100%;
        text-align: center;
        padding: 8px;
    }

    /* Admin Navigation Mobile */
    .admin-nav {
        flex-direction: column;
        gap: 5px;
    }

    .admin-nav a {
        width: 100%;
        text-align: center;
    }

    /* Admin Header adjustments */
    .admin-header .flex-between {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Pagination Styles */
    .pagination {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }

    .page-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--neutral-white);
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 600;
        border: 1px solid var(--neutral-gray);
        transition: all 0.3s ease;
    }

    .page-link:hover,
    .page-link.active {
        background: var(--primary-green);
        color: var(--neutral-white);
        border-color: var(--primary-green);
    }
}

/* Base Admin Hamburger (Hidden by default) */
.admin-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .admin-mobile-toggle {
        display: block;
    }

    .admin-nav {
        display: none !important;
        /* Hide default */
        flex-direction: column;
        width: 100%;
        background: var(--neutral-white);
        padding: 10px;
        box-shadow: var(--shadow-md);
        border-radius: var(--radius-md);
        margin-top: 10px;
    }

    .admin-nav.active {
        display: flex !important;
        /* Show when toggled */
    }

    /* Specialized Admin Mobile Table Fix */
    .table-responsive table {
        min-width: 600px;
    }

    .table-img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Our Clients Section */
.our-clients {
    padding: 60px 0;
    overflow: hidden;
    background: #fff;
}

.clients-slider {
    width: 100%;
    margin-top: 40px;
    position: relative;
    padding: 20px 0;
}

.clients-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll-clients 30s linear infinite;
}

.client-logo {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
    }
}

@media (max-width: 768px) {
    .client-logo {
        width: 140px;
        height: 80px;
    }

    .clients-track {
        gap: 40px;
    }
}

/* Floating Contact Icons */
.floating-contact {
    position: fixed;
    bottom: 110px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-call {
    background: var(--primary-green);
    animation: pulse-call 2s infinite;
}

.btn-whatsapp {
    background: #25d366;
}

@keyframes pulse-call {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 77, 62, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(27, 77, 62, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 77, 62, 0);
    }
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 100px;
        right: 20px;
        gap: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* CTA Color Consistency Fixes */
.cta-parallax h2,
.cta-parallax p,
.cta-section h2,
.cta-section p {
    color: #ffffff !important;
}

.cta-parallax .btn-primary,
.cta-parallax .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}