* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Crucial: This prevents the sticky navbar from covering the section heading */
  font-family: 'Inter', sans-serif;
  margin: 0;
  width: 100%;
  
}



/* Nav bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 10%;
  background-color: #0c2340;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
  top: 0;
  position: sticky;
  color: white;
  height: 100px;
  border-radius: 1px;
}
/* Container for the logo and H1 */
.logo h1 {
  display: flex;
  align-items: center; /* Centers image and text vertically */
  gap: 12px;           /* Space between image and text */
  font-size: 1.5rem;   /* Adjust size as needed */
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;         /* Main text color */
  margin: 0;
}

/* Style the Image */
.logo img {
  height: 40px;        /* Consistent height */
  width: auto;         /* Maintain aspect ratio */
  object-fit: contain;
  transition: transform 0.3s ease; /* Smooth hover effect */
  border-radius: 30%;
}

/* The 'MOTOR SPARES' part (The Span) */
.logo h1 span {
  color: red;      /* A metallic gold or 'Diamond' yellow */
  font-weight: 800;    /* Lighter weight for contrast */
  text-transform: uppercase;
  font-size: 1.5rem;    /* Slightly smaller than 'DIAMOND' */
}

/* Hide Checkbox */
.menu-toggle { display: none; }

/* Hamburger Styling */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s ease;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;

}
.nav-links li a {
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.25s ease, color 0.25s ease;
    display: flex;
    align-items: center;
}
.nav-links li a:hover{
    color: red;
    background-color: white;
    border-radius: 25px;
    transform: translateY(-3px);
    font-size: 1.4rem;

}

/* Get Quote Button Styling */
.btn-quote {
    background-color: red; /* Midnight Navy */
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    transform: translateY(-5px);
     /* Keeps it professional */
}

.btn-quote:hover {
    background-color: #b91c1c; /* Muted Red on hover */
    transform: translateY(-1px);
    
}

/* Ensure mobile responsiveness if needed */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }
}
/* Mobile Specifics (The Animation Part) */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #142d4c;
    padding: 2rem;
    text-align: center;
    
    /* Animation Properties */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }


  /* When checkbox is checked, show the menu */
  .menu-toggle:checked ~ .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Bonus: Animate Hamburger to an "X" */
  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
}   
/* Hero Section */
/* Apply the new font globally */
.hero {
    height: 100vh; /* Full screen height */
    background: linear-gradient(rgba(12, 35, 64, 0.75), rgba(12, 35, 64, 0.75)), 
                url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 850px;
    animation: fadeInUp 1s ease-out; /* Smooth entrance */
}

/* HIGH-END TYPOGRAPHY */
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Scales perfectly on all screens */
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* BUTTON STYLING */
.btn {
    display: inline-block;
    padding: 16px 36px;
    margin: 10px;
    text-decoration: none;
    border-radius: 8px; /* Slightly rounded for a modern look */
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* The Main CTA Button */
.btn:not(.btn-whatsapp) {
    background: #d4af37; /* Metallic Gold */
    color: #0c2340;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* The WhatsApp Button */
.btn-whatsapp {
    background: rgb(213, 34, 34); /* Subtle glass effect */
    color: white;
    border: 2px solid red;
    backdrop-filter: blur(5px);
    
}

/* Hover States */
.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.btn-whatsapp:hover {
    background: rgb(213, 34, 34);
    color: white;
    
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-section {
    padding: 80px 5%;
    background-color: #ffffff;
    overflow: hidden; /* Prevent any internal elements from causing scroll */
    top: 0;
    height: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Heading Styling */
.about-section h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.underline {
    width: 60px;
    height: 4px;
    background: #d4af37;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.trademark {
    text-align: center;
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* Responsive Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Text gets more space on desktop */
    gap: 50px;
    align-items: start;
}

.about-text p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Feature Side Styling */
.about-features {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 20px;
    border-left: 5px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-item h4 {
    color: #0c2340;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item h4 i {
    color: #d4af37;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #555;
}

.feature-list li:last-child {
    border-bottom: none;
}

.brand-promise {
    margin-top: 30px;
    background: #0c2340;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack on tablet and mobile */
        gap: 40px;
    }

    .about-section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .about-section h2 {
        font-size: 2rem;
    }
    
    .about-features {
        padding: 20px; /* Less padding on small phones to save space */
    }
}

/* Contact */
        /* CSS VARIABLES */
        :root {
            --primary-red: #e31e24;
            --primary-hover: #c1171d;
            --dark-surface: #142d4c;
            --glass-white: rgba(255, 255, 255, 0.95);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* MAIN WRAPPER */
        .contact-wrapper {
            padding: 80px 20px;
            background: radial-gradient(circle at top right, #fff5f5, #ffffff);
            font-family: 'Plus Jakarta Sans', sans-serif;
            color: var(--dark-surface);
        }

        .container { max-width: 1200px; margin: 0 auto; }

        .contact-header { text-align: center; margin-bottom: 50px; }
        .contact-header h2 {
            font-size: 3rem;
            font-weight: 800;
            color: #0c2340;
            margin: 0;
        }

        /* GRID LAYOUT */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
        }

        @media (min-width: 992px) {
            .contact-grid { grid-template-columns: 1fr 1.6fr; gap: 60px; }
        }

        /* SIDEBAR STYLING */
        .info-sidebar {
            background: var(--dark-surface);
            color: white;
            padding: 40px;
            border-radius: 32px;
            box-shadow: 0 30px 60px -12px rgba(0,0,0,0.25);
        }

        .contact-info-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .info-item {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 20px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
            transition: var(--transition);
        }

        .info-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateX(10px);
            border-color: var(--primary-red);
        }

        .info-icon {
            background: var(--primary-red);
            color: white;
            padding: 12px;
            border-radius: 12px;
            display: flex;
            font-size: 1.4rem;
        }

        .info-content h4 {
            margin: 0 0 5px 0;
            color: white;
            font-size: 1.1rem;
        }

        .info-content p {
            margin: 0;
            color: #9ca3af;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .info-content a {
            color: inherit;
            text-decoration: none;
        }

        /* FORM STYLING */
        .form-container {
            background: var(--glass-white);
            padding: 40px;
            border-radius: 32px;
            border: 1px solid #eee;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
        }

        .input-group { margin-bottom: 20px; }
        .input-group label { display: block; font-weight: 600; margin-bottom: 8px; }

        .input-group input, .input-group textarea {
            width: 100%;
            padding: 15px;
            background: #f3f4f6;
            border: 2px solid transparent;
            border-radius: 12px;
            font-family: inherit;
        }

        .input-group input:focus, .input-group textarea:focus {
            border-color: var(--primary-red);
            background: white;
            outline: none;
        }

        .btn-submit {
            width: 100%;
            padding: 15px;
            background: var(--primary-red);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
        }

        .btn-submit:hover {
            background: var(--primary-hover);
            transform: translateY(-3px);
        }
/* --- RESPONSIVE UPDATES --- */

/* Ensure the wrapper doesn't overflow and handles padding better on mobile */
.contact-wrapper {
    padding: 60px 15px; /* Reduced vertical and side padding */
    overflow-x: hidden;
}

/* Fix for the grid on small screens */
@media (max-width: 991px) {
    .contact-header h2 {
        font-size: 2.2rem; /* Smaller title for mobile */
    }

    .info-sidebar, .form-container {
        padding: 25px 20px; /* Thinner padding so the form isn't 'cramped' */
        border-radius: 24px; /* Slightly less rounded for better screen use */
    }

    .info-item {
        padding: 15px;
    }

    .info-item:hover {
        transform: none; /* Disable horizontal slide on touch devices to prevent scroll jank */
    }

    /* Stack the WhatsApp and Quote buttons so they don't overlap */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .quote-float {
        bottom: 85px; /* Position it above the WhatsApp icon */
        right: 20px;
    }
}

/* Extra small screens (Phones) */
@media (max-width: 480px) {
    .contact-header h2 {
        font-size: 1.8rem;
    }

    .input-group label {
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 18px; /* Larger tap target for fingers */
    }
    
    /* Ensure the select dropdown is easy to tap */
    .input-group select {
        width: 100%;
        padding: 12px;
        border-radius: 12px;
        border: 2px solid transparent;
        background: #f3f4f6;
    }
}

/* Floating Action Button (FAB) base styles if not already defined */
.whatsapp-float, .quote-float {
    position: fixed;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-float {
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #fff;
    font-size: 30px;
}

.quote-float {
    background-color: var(--primary-red);
    color: white;
    padding: 12px 20px;
    font-weight: bold;
}

footer {
    border-top: 0.02px solid white; /* The "HR" line */
    padding: 10px 0;
    background-color: #0c2340;    /* Optional: change to match your brand */
    text-align: center;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    font-size: 0.9rem;
}



.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Gives more room to the story */
    gap: 40px;
    align-items: start;
}

.feature-item {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #0056b3; /* Or your brand color */
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* About Page */
    .about-section {
        background-color: #142d4c; /* Light Navy */
        color: #ffffff;
        padding:0px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        padding-top: 7%;
        border-top: white solid 10px;
        	

    }

    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0px;
    }

    h2 {
        color: #ffffff;
        font-size: 1.9rem;
        margin-top: 0px;
        letter-spacing: 1px;
        padding-top: 0;
    }

    .underline {
        width: 80px;
        height: 4px;
        background-color: #e31e24; /* Primary Red */
        margin-bottom: 20px;
    }

    .trademark {
        color: #e31e24; /* Red accent */
        font-size: 1.2rem;
        margin-bottom: 40px;
        font-weight: 600;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 50px;
        align-items: start;
    }

    .about-text p {
        line-height: 1.8;
        font-size: 1.05rem;
        margin-bottom: 20px;
        color: #e0e0e0;
    }

    .about-text h3 {
        color: #ffffff;
        margin-top: 30px;
        border-left: 4px solid #e31e24;
        padding-left: 15px;
    }

    /* Feature Box Styling */
    .about-features {
        background-color: #ffffff; /* Contrast White */
        color: #0c2340;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .feature-item h4 {
        color: #e31e24;
        font-size: 1.3rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .feature-list {
        list-style: none;
        padding: 0;
    }

    .feature-list li {
        margin-bottom: 12px;
        padding-left: 25px;
        position: relative;
    }

    .feature-list li::before {
        content: "✔";
        position: absolute;
        left: 0;
        color: #e31e24;
        font-weight: bold;
    }

    .brand-promise {
        margin-top: 30px;
        padding: 20px;
        background-color: #f8f9fa;
        border-radius: 5px;
        border-top: 3px solid #e31e24;
        text-align: center;
    }

    .brand-promise strong {
        color: #e31e24;
        font-size: 1.1rem;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .about-grid {
            grid-template-columns: 1fr;
        }
        h2 { font-size: 2rem; }
    }

    /*Products Page*/
:root {
    --primary-color: #e63946; /* Sporty Red */
    --dark-bg: #1a1a1a;
    --text-main: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.py-5 h1{
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Scales perfectly on all screens */
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    text-align: center;
    padding-top: 45px;
}


/* Sidebar Styling */
.filter-box {
    border: none;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 25px !important;
}

.filter-box h5 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.category-list li a {
    text-decoration: none;
    color: #666;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Product Grid Enhancement */
.product-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* The Card Transformation */
.product-card-dedicated {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-card-dedicated:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

/* Icon Styling */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fff5f5;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: 0.3s ease;
}

.product-card-dedicated:hover .icon-wrapper {
    background: var(--primary-color);
    color: #fff;
}

/* Typography & Button */
.product-card-dedicated h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.product-card-dedicated p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
}

.btn-inquire {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-inquire:hover {
    background: var(--primary-color);
    color: #fff;
}  


/* Footer Page */
.main-footer {
    background-color: #0c2340; /* Sleek metallic depth */
    color: #ffffff;
    padding: 80px 0 20px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    border-top: 1px solid red; /* Professional blue accent top border */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Column Headers */
.footer-col h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #e31e24; /* Matching your blue theme */
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Underline effect for headers */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #e31e24;
}

/* Paragraphs & Trademark */
.footer-col p {
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.footer-trademark {
    font-style: italic;
    font-weight: 600;
    color: red !important; /* Brightens the budget slogan */
    padding: 10px 15px;
    background: #142d4c;
    border-radius: 8px;
    display: inline-block;
}

/* Links & Lists */
.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(10px); /* Smooth slide effect */
}

/* Social Links - Keeping your inline styles but enhancing the container */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a i {
    padding: 8px; /* Making your inline-styled icons look like buttons */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-radius: 50%;
}

.social-links a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

/* Contact Info Styling */
.footer-col i.fas {
    color: red; /* Blue icons for contact info */
    width: 25px;
}

/* Bottom Copyright Section */
.footer-bottom {
    margin-top: 60px;
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: white;
    margin: 0;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col ul li a {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}

    
.info-sidebar, .form-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer;
}
.info-sidebar:hover, .form-container:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
        }
    

 
.whatsapp-float {
    position: fixed;
    bottom: 30px;      /* Distance from bottom */
    right: 30px;       /* Distance from right */
    width: 65px;       /* Size of the button */
    height: 65px;      /* Size of the button */
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;       /* Icon color */
    border-radius: 50px;
    text-align: center;
    font-size: 35px;   /* Icon size */
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.5); /* Green glow effect */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;    /* Ensures it stays on top of everything */
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Slightly grows when you hover */
    background-color: #128c7e; /* Darker green on hover */
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.7);
}


/* Position the notification badge */
.whatsapp-notify {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: #d90429; /* Red color matching your theme */
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    /* Apply the animation */
    animation: pulse-red 2s infinite;
}

/* The Pulsing Animation Logic */
@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(217, 4, 41, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(217, 4, 41, 0);
    }
}

/* Ensure the main button is positioned relatively so badge stays inside */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    z-index: 10000;
    text-decoration: none;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.5);
}

.quote-float {
    position: fixed;
    bottom: 30px;      /* Matches the height of your WhatsApp button */
    left: 30px;        /* Positions it on the left side */
    background-color: #ffc107; /* Your Gold/Yellow theme color */
    color: #000;       /* Black text for contrast */
    padding: 12px 25px;
    border-radius: 50px; /* Rounded pill shape */
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 4px 15px rgba(255, 193, 7, 0.4);
    z-index: 10000;    /* Keeps it on top of other content */
    transition: all 0.3s ease;
}

.quote-float i {
    font-size: 1.2rem;
}

.quote-float:hover {
    transform: scale(1.05) translateY(-5px);
    background-color: #eab000; /* Slightly darker gold on hover */
    box-shadow: 0px 8px 20px rgba(255, 193, 7, 0.6);
}

/* On very small phones, we might want to make it smaller */
@media (max-width: 480px) {
    .quote-text {
        display: none; /* Hide text, show only icon on tiny screens */
    }
    .quote-float {
        padding: 15px;
        width: 55px;
        height: 55px;
        justify-content: center;
    }
}
/* On screens 480px or smaller, scale everything down */
@media (max-width: 480px) {
    .quote-float {
        bottom: 20px;        /* Moves it slightly closer to the edge */
        left: 20px;
        padding: 8px 16px;   /* Smaller padding reduces button width/height */
        gap: 6px;            /* Tightens space between icon and text */
    }

    .quote-text {
        display: block;      /* Ensures text stays visible */
        font-size: 0.75rem;  /* Reduces text size */
    }

    .quote-float i {
        font-size: 0.9rem;   /* Reduces icon size */
    }
}

/* The Background Overlay */
.modal {
  display: none; /* Hidden by default */
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.5); /* Semi-transparent black */
}

/* The Form Box */
.modal-content {
  background-color: #fff;
  margin: 10% auto; /* 10% from top and centered */
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

/* Close Button (x) */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
