/* Custom Styles for Sri Balaji Enterprise */

/* Global Button Styles */
.btn-primary-custom {
    background: var(--primary-green);
    color: white;
    padding: 15px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: none;
}

.btn-primary-custom:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.3);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid white;
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.btn-secondary-custom i,
.btn-primary-custom i {
    margin-right: 8px;
}

/* Common Page Header */
.page-header {
    background: linear-gradient(35deg, var(--primary-purple) 0%, #2d1b69 60%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Home Page - Hero Section */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Home Page - About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-number {
    font-size: 72px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 10px solid var(--primary-color);
}

.about-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Wave Divider */
.wave-divider {
    position: relative;
    background: var(--primary-color);
    height: 150px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* Home Page - Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.product-card-body {
    padding: 10px;
    text-align: center;
}
.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h5 {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Home Page - Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.feature-box:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c66 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Home Page - Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    background: white;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-description {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* Home Page - Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1a0a4e 0%, #2d1b69 100%);
    padding: 80px 0;
    color: white;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 3px;
}

/* About Page */
.about-page {
    padding: 80px 0;
}

.about-content {
    line-height: 1.8;
    font-size: 16px;
    color: #555;
}

.about-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #2d1b69 100%);
    padding: 60px 0;
    color: white;
}

.stat-box {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #11fc8e;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

/* Products Page */
.products-page {
    padding: 80px 0;
}

.category-filter {
    margin-bottom: 50px;
}

.category-btn {
    background: white;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    border-radius: 25px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-purple);
    color: white;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.btn-view-product {
    background: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
}

.btn-view-product:hover {
    background: var(--primary-purple);
    color: white;
}

/* Product Detail Page */
.hero-section::after {
    content: '';
    position: absolute;
    top: 92%;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: white;
    transform: skewY(-2deg);
    z-index: 1;
}

.content-section {
    padding: 80px 0;
    background-color: white;
    margin-top: 40px;
}

.product-header {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.product-image-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

.product-image-main {
    background-color: #e8e8e8;
    border: 4px solid var(--primary-green);
    border-radius: 8px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    object-fit: cover;
    width: 100%;
}

.product-image.small {
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.sections-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, rgba(0,0,0,0.15) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 60px;
}

.sections-header h2 {
    font-size: 2rem;
    font-weight: 800;
    display: inline-block;
}

.sections-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.section-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}

.technical-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #ff8a7e 100%);
    color: white;
    padding: 60px 0;
    margin-top: 60px;
}

.features-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.spec-item {
    background-color: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec-label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.spec-value {
    font-size: 1.05rem;
    line-height: 1.5;
}

.features-list {
    background-color: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 8px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.features-image img {
    max-width: 100%;
    border-radius: 8px;
    display: block;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 16px;
    line-height: 1.6;
}

.feature-category {
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

/* Gallery Page */
.gallery-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-filter {
    margin-bottom: 50px;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    border-radius: 25px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-purple);
    color: white;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.btn-submit {
    background: var(--primary-green);
    color: white;
    padding: 15px 50px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #ff8c66 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 32px;
    color: white;
}

.map-section {
    margin-top: 60px;
}

/* Payment Page */
.payment-page {
    padding: 20px 0;
    background: #f8f9fa;
}

.payment-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.payment-method {
    border: 2px solid #e0e0e0;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.payment-method h4 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-detail {
    margin-bottom: 10px;
}

.payment-detail strong {
    color: var(--primary-green);
    display: inline-block;
    min-width: 150px;
}

.qr-code {
    max-width: 200px;
    height: auto;
    margin: 20px 0;
}

/* Legal Documents Page */
.legal-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.legal-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.legal-card h3 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 20px;
}

.legal-content {
    line-height: 1.8;
    color: #555;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.certificate-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.certificate-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.certificate-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 25px;
    }
    
    .legal-card {
        padding: 25px;
    }
    .payment-card {
        padding: 25px;
    }
    .modal-body {
        padding: 20px;
    }
    .modal-content {
        width: 95%;
    }
    .modal-header {
        padding: 15px;
    }
    .modal-footer {
        flex-direction: column-reverse;
        padding: 15px 20px;
    }
    .btn-cancel, .btn-submit {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width:500px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
}

/* ===========================
   ROOT CSS VARIABLES & GLOBALS
   =========================== */
:root {
    --primary-green: #70C541;
    --primary-purple: #1C3D5C;
    --header-bg: #cce3f3eb;
    --light-gray: #F9F9F9;
    --text-dark: #333;
    --text-muted: #666;
    --border-color: #ddd;
    --primary-color: #70C541;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
    background-color: var(--header-bg);
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: var(--header-bg);
    z-index: 100;
}

.logo img {
    height: 65px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 200;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-purple);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: color 0.3s;
    font-weight: 600;
}

nav a:hover {
    color: var(--primary-green);
}

.contact-btn {
    background-color: var(--primary-purple);
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: 500;
}

.contact-btn:hover {
    background-color: #0F2435;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        left: -300px;
        top: 0;
        background-color: #fff;
        flex-direction: column;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }

    nav a {
        margin-left: 0;
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1400&q=80');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    margin: 0 auto 30px auto;
    max-width: 600px;
}

.hero-btn {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.hero-btn:hover {
    background-color: #5BAE2F;
}

/* ===========================
   GENERAL LAYOUT
   =========================== */

section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-purple);
}

/* ===========================
   FORM STYLES
   =========================== */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(112, 197, 65, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===========================
   MODAL STYLES
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-content.lightbox-modal {
    width: auto;
    max-width: 95vw;
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #1C3D5C;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.modal-header.lightbox-header {
    background: transparent;
    border: none;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.close.lightbox-close {
    color: white;
    padding: 10px 20px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cancel {
    background-color: #ddd;
    color: #333;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

/* Lightbox specific styles */
#lightbox {
    background: rgba(0, 0, 0, 0.9);
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-container {
    background: black;
    padding: 20px;
    text-align: center;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background-color: var(--primary-purple);
    color: white;
    padding: 40px 0 10px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--primary-green);
}

.footer-section p {
    color: #ccc;
    font-size: 13px;
    line-height: 1.8;
}

.footer-section a {
    display: inline-block;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-section.cst {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    text-align: center;
    padding: 15px 20px 10px 20px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #999;
}

/* ===========================
   BACK TO TOP BUTTON
   =========================== */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: var(--primary-green);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    width: 50px;
    height: 50px;
    transition: background-color 0.3s;
}

#backToTopBtn:hover {
    background-color: #5BAE2F;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.learn-more {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.learn-more:hover {
    background-color: #5BAE2F;
}

.about-image {
    text-align: center;
    padding: 40px;
    background-color: #F5F5F5;
    border-radius: 5px;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   STATS SECTION
   =========================== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    margin: 40px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.stat-item {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(112, 197, 65, 0.15);
    border-left-color: #5BAE2F;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(112 197 65 / 55%) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item h3 {
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.stat-item p {
    color: #555;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 3px;
}

.service-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 18px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-card button {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.service-card button:hover {
    background-color: #5BAE2F;
}

/* ===========================
   WHY CHOOSE SECTION
   =========================== */
.why-section {
    background-color: var(--light-gray);
    padding: 60px 20px;
    margin: 60px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.why-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 18px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ===========================
   PRODUCTS SECTION
   =========================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    position: relative;        /* Important */
    overflow: visible !important;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-size: 16px;
}

.product-info p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-green);
}

.product-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s;
}

.product-btn:hover {
    background-color: #5BAE2F;
}

.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.view-more-btn {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 40px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-block;
    font-weight: 600;
}

.view-more-btn:hover {
    background-color: #5BAE2F;
    color: white;
}

/* ===========================
   ALERT STYLES
   =========================== */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */
.contact-container {
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form-section h2 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 24px;
}

.business-hours {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 5px;
}

.business-hours h3 {
    color: var(--primary-purple);
    margin-top: 30px;
    margin-bottom: 15px;
}

.business-hours h4 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.business-hours p {
    color: var(--text-muted);
}

.business-hours > div {
    margin-bottom: 20px;
}

.business-hours hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--primary-green);
}

.map-container {
    border-radius: 5px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===========================
   GALLERY PAGE STYLES
   =========================== */
.gallery-container {
    padding: 20px;
    background: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-no-items {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.gallery-no-items h3 {
    color: var(--primary-purple);
}

.gallery-no-items p {
    color: var(--text-muted);
    margin-top: 10px;
}

.pagination-container {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 8px;
    padding: 4px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: block;
    z-index: 999;
    font-size: 26px;
}
/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media (max-width: 1024px) {
    .products-grid,
    .services-grid,
    .why-grid,
    .gallery-grid,
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .about,
    .services-grid,
    .why-grid,
    .products-grid,
    .footer-content,
    .gallery-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        padding: 20px 10px;
        gap: 20px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-item h3 {
        font-size: 32px;
    }

    .modal-content {
        width: 95%;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px 20px;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }

    #backToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 23px;
        padding: 2px;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        justify-content: center;
    }
}