/* Custom Corporate Palette & Fluid Typography Setup */
:root {
    --navy-blue: #0B132B;
    --navy-light: #1C2541;
    --gold: #FFD700;
    --charcoal: #333333;
    --emerald-green: #50C878;
    --whatsapp-green: #25D366;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.text-center {
    text-align: center;
    margin-bottom: 30px;
}

.text-gold {
    color: var(--gold);
}

.bg-light {
    background-color: #faf1ea;
}

.bg-navy {
    background-color: #2b0b0b;
}

.text-white {
    color: var(--white);
}

.w-100 {
    width: 100%;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}


/* Responsive Grid */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: 30px;
    align-items: start;
}

/* Typography */
h1 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    line-height: 1.2;
    color: #c80000;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.4rem, 4vw, 1.7rem);
    margin-bottom: 20px;
    color: #c80000;
}

h3 {
    font-size: clamp(1rem, 3vw, 1.6rem);
    margin-bottom: 15px;
    color: var(--navy-light);
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
}


/* ---------------------------------------------------
   BUTTONS & ICONS FIX (Strict alignments & no-wrap)
------------------------------------------------------ */
.btn {
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    /* Fixes messy breaking */
}

.btn i {
    margin-right: 8px;
    font-size: 18px;
    flex-shrink: 0;
}

/* Fixes icon sizes */
.btn-gold {
    background: var(--gold);
    color: var(--navy-blue);
}

.btn-gold:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.btn-emerald {
    background: var(--emerald-green);
    color: var(--navy-blue);
}

.btn-emerald:hover {
    background: #3eb565;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy-blue);
}

.btn-navy {
    background: var(--navy-light);
    color: var(--white);
}

/* Existing Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #c80000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    z-index: 1001;
    white-space: nowrap;
    text-decoration: none;
}

.logo span {
    color: var(--gold);
}

.menu-toggle {
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

/* --- NEW DROPDOWN STYLES --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.dropdown:hover .dropbtn {
    color: var(--gold);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1002;
    top: 100%;
    left: 0;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #c80000;
}

/* Show dropdown on hover (Desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        /* Assuming your mobile menu is structured like this */
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background-color: #c80000;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    /* Mobile Dropdown Fixes */
    .dropdown {
        width: 100%;
        padding: 17px;
    }
    
    .dropdown-content {
        position: static; /* Removes absolute positioning so it pushes content down */
        box-shadow: none;
        background-color: transparent;
        display: none; /* Handled by JS on mobile */
        padding-left: 15px;
    }

    .dropdown-content a {
        color: var(--white);
        border-bottom: none;
        padding: 10px 0;
    }

    .dropdown-content a:hover {
        background-color: transparent;
        color: var(--gold);
    }
    
    /* Utility class to open dropdown on mobile */
    .dropdown-content.show {
        display: block;
    }
}


/* ---------------------------------------------------
   HOME BANNER FIX (High quality industrial background)
------------------------------------------------------ */
.hero {
    /* min-height: 100vh;
    background-color: var(--navy-blue); 
    background-image: url('images/banner.jpg');  */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    /* padding: 100px 20px 40px;  */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(43 39 11 / 75%)
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
    margin: 0 auto;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Features */
.feature-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 30px;
    color: var(--gold);
    margin-right: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 35px;
    text-align: center;
}

.feature-item h4 {
    margin-bottom: 5px;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    background: var(--white);
    border: 2px solid #2b0b0b;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: #2b0b0b;
    border-radius: 4px;
    flex-grow: 1;
    text-align: center;
    max-width: 200px;
}

.tab-btn.active,
.tab-btn:hover {
    background: #890000;
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.plant-text-content p {
    text-align: justify;
}

/* ---------------------------------------------------
   YOUTUBE VIDEO SIZE & POSTER FIXES
------------------------------------------------------ */
.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-wrapper {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* This ensures the YouTube iframe poster stays perfectly sized */
.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Comparison Grid inside Tabs */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.comp-card {
    background: var(--white);
    padding: 25px;
    border-left: 4px solid var(--navy-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0 8px 8px 0;
}

/* Responsive Table Wrapper */
/* .table-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 8px; background: var(--white); margin-bottom: 20px; }
table { width: 100%; min-width: 1000px; border-collapse: collapse; }
th { background: var(--navy-light); color: var(--white); padding: 12px 15px; text-align: left; white-space: nowrap; }
td { padding: 12px 15px; border-bottom: 1px solid #ddd; font-size: 14px; }
tr:nth-child(even) { background-color: #f9f9f9; } */

/* Uses & Gallery */
.uses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    text-align: center;
}

.use-card {
    background: var(--white);
    padding: 25px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.use-card:hover {
    transform: translateY(-5px);
}

.use-card i {
    font-size: 35px;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* Calculator */
.calc-container {
    max-width: 600px;
}

.calculator-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    color: var(--charcoal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.calc-input {
    margin-bottom: 15px;
}

.calc-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.calc-input input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.calc-results {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #ccc;
}

/* Reviews & FAQ */
.review-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-style: italic;
    border-left: 4px solid var(--gold);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-btn {
    background: var(--navy-blue);
    color: var(--white);
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    border-radius: 4px;
}

.faq-btn:hover,
.faq-btn.active {
    background: var(--navy-light);
    color: var(--gold);
}

.faq-content {
    padding: 0 20px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 10px;
    border-radius: 0 0 4px 4px;
}

/* Forms */
.contact-form {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Footer */
.grid-4-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.contact-list li {
    display: flex;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
    align-items: flex-start;
}

/* ---------------------------------------------------
   SOCIAL LOGOS FIX (Perfect Circles, No Squishing)
------------------------------------------------------ */
.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
    /* Prevents logos from stretching out of shape */
}

.social-links a i {
    font-size: 18px;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    color: #888;
    font-size: 0.85rem;
}



.btn-chat {
    background-color: var(--gold);
    color: var(--navy-blue);
}

/* Live Chat Box */
.chat-box-container {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 300px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: scaleUp 0.3s ease;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--navy-blue);
    color: var(--white);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 220px;
    background: #f4f6f8;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.bot-msg {
    background: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-msg {
    background: var(--navy-light);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
    background: var(--white);
}

.chat-footer input {
    flex: 1;
    border: none;
    padding: 8px;
    outline: none;
    font-size: 14px;
}

.chat-footer button {
    background: var(--gold);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    color: var(--navy-blue);
    cursor: pointer;
}

/* Animations */
.animate-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-fade {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        /* top: 60px;
        left: 0; */
        width: 100%;
        background: #c80000;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-links.active {
        max-height: 650px;
    }

    .nav-links a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block;
    }

    

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .tabs {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .tab-btn:first-child {
        border-radius: 4px 4px 0 0;
    }

    .tab-btn:last-child {
        border-radius: 0 0 4px 4px;
    }

    .plant-text-content p {
        text-align: left;
    }

    .chat-box-container {
        width: calc(100% - 40px);
        bottom: 85px;
        right: 20px;
    }
}


.slider-container {
    position: relative;
    width: 100%;
    /* Default height for Desktop */
    height: 500px;
    overflow: hidden;
}

/* Wrapper that moves to slide the images */
.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Individual Slide */
.slide {
    min-width: 100%;
    height: 100%;
}

/* The Images - This is what keeps them clear and unstretched */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Prevents stretching, maintains aspect ratio */
    object-position: center;
    /* Keeps the main focus in the middle */
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s;
    z-index: 10;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Dot Indicators */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: white;
}

/* Responsive Heights for Smaller Devices */
@media (max-width: 768px) {
    .slider-container {
        height: 350px;
        /* Tablet */
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 250px;
        /* Mobile */
    }
}


/* // ----------------
// Hover Keywords
// ---------------- */

/* Container */
.plant-container {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* List Item Wrapper */
.plant-item {
    display: block;
    margin-bottom: 5px;
}

/* Anchor Tag Styling */
.plant-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333333;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
}

/* Red Starting Arrow */
.plant-item a::before {
    content: "➔";
    /* Unicode right arrow */
    color: #e74c3c;
    /* Red color */
    font-size: 1.2rem;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.plant-item a:hover {
    color: #e74c3c;
    /* Red text on hover */
    background-color: #fcf4f4;
    /* Light red background tint */
}

.plant-item a:hover::before {
    transform: translateX(5px);
    /* Arrow moves slightly to the right */
}

/* Horizontal Rule (hr) Styling */
.plant-item hr {
    border: none;
    border-bottom: 1px solid #dddddd;
    margin: 0 10px;
    transition: border-color 0.3s ease;
}

/* Change HR color when the link above it is hovered */
.plant-item:hover hr {
    border-color: #e74c3c;
    /* Red hr on hover */
}

/* Active/Clicked State from JavaScript */
.plant-item a.active {
    color: #e74c3c;
    font-weight: bold;
}

.plant-item a.active::before {
    transform: translateX(5px);
}

/* Responsive Adjustments for Mobile */
@media (max-width: 480px) {
    .plant-item a {
        font-size: 1rem;
        padding: 12px 8px;
    }

    .plant-item a::before {
        font-size: 1.1rem;
    }
}

/* ------------
Youtube Short video
-------------- */

/* Container limits the maximum size on desktop and centers it */
.youtube-short-container {
    max-width: 360px;
    /* Adjust this value to make the video larger/smaller on desktop */
    width: 100%;
    /* Ensures it shrinks on smaller mobile screens */
    margin: 0 auto;
    /* Centers the container horizontally */
    padding: 20px;
    /* Optional spacing around the video */
    box-sizing: border-box;
}

/* The iframe itself */
.youtube-short-container iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    /* Crucial: Maintains the vertical Short format */
    border-radius: 16px;
    /* Optional: Adds rounded corners to look like a mobile app */
    border: none;
    /* Removes the default iframe border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Optional: Adds a subtle shadow */
}

/* Responsive Table Wrapper with Left & Right Margins */
.table-responsive {
    width: 90%;
    /* Ensures 10% total space is left for margins */
    margin: 0 5%;
    /* 5% margin on left and right sides */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    /* min-width: 800px; */
}

th,
td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    line-height: 1.5;
}

th {
    background-color: #bb0000;
    color: white;
    font-size: 16px;
    position: sticky;
    top: 0;
}

/* Extra Smooth Red Hover Effect */
tbody tr {
    /* Smoother transition using ease-in-out and a slightly longer duration */
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

tbody tr:hover {
    background-color: #f15d5d;
    /* Solid red background */
    color: white;
    /* White text on hover */
}

.benefit-highlight {
    font-weight: bold;
}

ul {
    margin: 0;
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
}

/* Button Styles */
.btn1 {
    display: inline-block;
    background: #c80000;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease;
    /* margin-left: 40%; */
    margin-top: 2%;
}

/* Hover effect on button */
.btn1:hover {
    background: rgb(255, 196, 70);
    color: black;
}

/* Arrow animation */
.btn1 span {
    display: inline-block;
    transition: 0.3s;
    margin-left: 5px;
}

.btn1:hover span {
    transform: translateX(5px);
}

/* -------
  Blog
  -------- */
/* Slider Layout */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* Native CSS sliding */
    scroll-behavior: smooth;
    padding: 10px 0;
    /* Room for box-shadow */

    /* Hide scrollbar for clean UI */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.blog-slider::-webkit-scrollbar {
    display: none;
}

/* Blog Card Styles */
.blog-card {
    flex: 0 0 calc(33.333% - 16px);
    /* 3 cards visible on desktop */
    scroll-snap-align: start;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Media (Images/Videos) */
.card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Ensures uniform height regardless of image size */
    overflow: hidden;
    background-color: #eee;
}

.card-media img,
.card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Content */
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes button to bottom */
}


/* Navigation Buttons */
.slider-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--text-dark);
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--text-dark);
    color: white;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-card {
        flex: 0 0 calc(50% - 12px);
        /* 2 cards visible on tablet */
    }
}

@media (max-width: 600px) {
    .blog-card {
        flex: 0 0 100%;
        /* 1 card visible on mobile */
    }

    .prev-btn,
    .next-btn {
        display: none;
        /* Hide buttons on mobile, rely on swipe */
    }

    .blog-slider {
        padding-bottom: 20px;
        /* Extra space for mobile shadow */
    }
}

/* --- OPTIMIZED CSS --- */
/* Overlay to blur the screen and darken background */
.form-overlay {
    position: fixed;
    inset: 0;
    /* Shorthand for top: 0, right: 0, bottom: 0, left: 0 */
    background-color: rgba(0, 0, 0, 0.4);
    /* Semi-transparent dark background */
    backdrop-filter: blur(8px);
    /* Blurs the background */
    -webkit-backdrop-filter: blur(8px);
    /* Safari support */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    /* Hidden by default with smooth fade-in */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* When the 'active' class is added via JS */
.form-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* The actual popup box */
.form-modal {
    background: #fff;
    padding: 30px 20px 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* Will-change optimizes animations by hinting the browser */
    will-change: transform, opacity;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

/* Basic styling for your form elements so they fit nicely */
.contact-form input:not([type="submit"]),
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

 .floating-icons {
    position: fixed;
    right: 15px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between icons */
    z-index: 1000;
  }

  /* Common style for icons */
  .floating-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
  }

  /* WhatsApp Icon */
  .whatsapp {
    background-color: #25D366;
  }
  .whatsapp:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
  }

  /* Call Icon */
  .call {
    background-color: #007bff;
  }
  .call:hover {
    background-color: #0056b3;
    transform: scale(1.1);
  }

  /* ---------
  About Us Page 
  -------------- */
  