/*
 * PROFESSIONAL THEME CSS
 * Fonts: Nunito (Body), Mulish (Headings/Navigation)
 */

@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


/* --- Define new Blue and White Color Palette --- */
:root {
    --primary-blue: #007bff; /* A nice, standard blue */
    --light-blue: #e0f7ff; /* Very light blue for subtle gradients/backgrounds */
    --text-dark: #212529;
    --text-light: #ffffff;
    --scrolled-nav-bg: #1f3d47; /* Darker blue/grey for scrolled nav */
    --footer-bg: #1e1e1e; /* Darker blue/grey for footer */
    --accent-blue: #17a2b8; /* A secondary blue for subtle effects */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*text-transform: capitalize; */
    transition: all 0.5s linear;
}

body {
    /* Nunito for professional body text */
    font-family: "Nunito", sans-serif;
    color: var(--text-dark); /* Default text color */
}

/* --- HOME PAGE HEADER (Image Background) --- */

.homepg {
    height: 100vh;
    width: 100%;
    /* Image background overrides the gradient in your current setup */
    background: linear-gradient(to top left, var(--light-blue) 0%, var(--text-light) 100%);
    background: url("assets/images/header.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.logo {
    color: var(--text-dark);
    margin-left: 4%;
    font-size: 30px;
    font-weight: 600;
    font-family: "Mulish", sans-serif;
}

.logo::first-letter {
    /* Changed accent color to blue */
    color: var(--primary-blue);
    font-size: 33px;
}

/* --- NAVBAR STYLING --- */

.navbar {
    display: flex;
    text-align: center;
    position: fixed;
    padding: 1% 2%;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.5s;
    z-index: 1000;
    top: 0;
}

.navbar-items {
    flex: 1;
    text-align: right;
    margin-top: 12px;
}

.navbar-items ul {
    padding-right: 20px;
}

.navbar-items ul li {
    list-style: none;
    display: inline-block;
}

.navbar-items ul li a {
    color: var(--text-dark);
    padding: 0 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: "Mulish", sans-serif;
}

/* Js change while scrolling */

.logo.scrolled {
    color: var(--text-light); /* White text on dark scrolled nav */
}


.navbar.scrolled .navbar-items ul li a {
    color: var(--text-light); /* White text on dark scrolled nav */
}

.navbar-items ul li a:hover {
    /* Changed hover color to primary blue */
    color: var(--primary-blue);
}

.navbar.scrolled {
    /* Changed scrolled background to dark blue/grey */
    background-color: var(--scrolled-nav-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}


/* Content */

.content {
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: var(--text-dark);
}

.heading {
    font-size: 40px;
    font-family: "Mulish", sans-serif;
}

.heading span {
    /* Changed accent color to blue */
    /*color: var(--primary-blue); */
    color: black;
}

.para {
    font-size: 12px;
    padding: 16px 0;
}

.btn {
    margin-top: 12px;
    text-decoration: none;
    color: var(--text-light);
    border: 2px solid var(--primary-blue);
    padding: 15px 13px;
    font-size: 18px;
    /* Changed button background to primary blue */
    background-color: var(--primary-blue);
    font-weight: 500;
    cursor: pointer;
    font-family: "Mulish", sans-serif;
}

.btn:hover {
    color: var(--primary-blue);
    background-color: transparent;
    transition: 1s;
}

/* Icons */
.icons-col {
    top: 200px;
    left: 0%;
    width: 76px;
    position: fixed;
    z-index: 2;
}

.icons {
    display: flex;
    flex-direction: column;
    padding: 13% 16%;
    z-index: 1;
    position: absolute;
    /* Changed icons background to primary blue */
    background-color: var(--primary-blue);
}

.icons i {
    font-size: 26px;
    padding: 20% 0;
    color: var(--text-dark);
}

.icons i:hover {
    cursor: pointer;
    transform: scale(1.3);
}

/* About Us */
.sec {
    width: 85%;
    text-align: center;
    margin: auto;
    padding: 6% 0 3% 0;
}

.sub_heading {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: space-around;
    padding: 3% 0;
}

.sub_heading h1,
.sub_heading p {
    width: 50%;
}

.sub_heading h1 {
    font-family: "Mulish", sans-serif;
}

.box {
    position: relative;
}

.A_box {
    /* Changed background to subtle white */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2%;
    width: 40%;
    position: absolute;
    top: 5em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.A_box h1 {
    /* Changed from handwritten font to professional Mulish */
    font-family: "Mulish", sans-serif;
}

.A_box p {
    font-size: 11px;
    padding: 2% 0;
}

.btn1 {
    /* Changed border and text color to blue */
    border: 2px solid var(--primary-blue);
    background-color: transparent;
    color: var(--primary-blue);
    font-family: "Mulish", sans-serif;
}

.btn1:hover {
    /* Changed hover background and text color */
    color: var(--text-light);
    background-color: var(--primary-blue);
}

.box img {
    width: 75%;
    height: 85vh;
}

/* Services */
.service_box {
    display: flex;
    justify-content: space-between; /* 3 boxes per row */
    margin-top: 30px; /* spacing between rows */
    flex-wrap: wrap;
}

.boxes {
    text-align: left;
    width: 32%; /* ensures 3 boxes fit perfectly */
    margin-bottom: 20px;
}

.boxes img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.boxes h1 {
    padding: 2% 0;
    font-family: "Mulish", sans-serif;
}

.boxes p {
    font-size: 12px;
    line-height: 1.4;
    padding: 2% 0;
}

.boxes a {
    /* Changed link color to primary blue */
    color: var(--primary-blue);
    text-decoration: none;
    font-family: "Mulish", sans-serif;
}

.boxes a:hover {
    color: var(--accent-blue);
    letter-spacing: 2px;
}

/* Contact Form */

.contact-sec {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 4%;
}

.contact_box {
    /* Added blue overlay for white text legibility, then the image */
    /*background-image: linear-gradient(rgba(0, 50, 100, 0.5), rgba(0, 50, 100, 0.7)), url("assets/images/contact_form_background.jpg"); */
    background-image: url("assets/images/contact_form_background.jpg");
    border-radius: 20px;
    width: 45%;
    padding: 2%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact_box h2 {
    color: var(--text-light);
    padding-bottom: 2%;
    font-family: "Mulish", sans-serif;
}

.contact_box input,
.contact_box textarea,
.contact_box button {
    width: 90%;
    outline: none;
    padding: 12px;
    margin: 6px 0;
    text-align: center;
    border: none;
    border-radius: 10px;
    font-family: "Nunito", sans-serif;
}

.btn2 {
    /* Standard blue button for contact form */
    background-color: var(--primary-blue);
    color: var(--text-light);
    border: none;
    font-weight: 600;
    font-family: "Mulish", sans-serif;
}

.btn2:hover {
    color: var(--text-light);
    letter-spacing: 2px;
    background-color: var(--accent-blue);
}

.map-container {
    position: relative;
    width: 40%;
    padding: 15% 0;
}

.map-container iframe {
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */

/* --- Footer Styling (Dark Blue/Grey Theme) --- */

.footer {
    /* Changed dark background to a dark blue/grey */
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 50px 5%;
    display: flex; /* Enables flexbox layout for columns */
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: "Nunito", sans-serif;
    position: relative; /* Needed for positioning social icons */
}

.f-box {
    /* Base styling for all footer columns */
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;

}

/* Footer Box Headers */
.footer h2 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: bold;
    font-family: "Mulish", sans-serif;
}

/* --- 1. Footer About/Logo Section --- */

.footer-about {
    flex: 2; /* Give more space to the about column */
    min-width: 300px;
    max-width: 400px;
    color: #aebfd0; /* Lighter blue/grey for body text */
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.logo-icon {
    /* Style the placeholder icon (🏠) to match the new blue scheme */
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 8px;
    margin-right: 10px;
    border-radius: 4px;
    font-size: 1.2rem;
}

.company-name {
    /* Company Name - Primary Blue text */
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0;
}

.tagline {
    /* Tiles Showroom - Small light grey text */
    color: #aebfd0;
    font-size: 0.9rem;
    margin-top: -5px;
    margin-left: 55px; /* Aligns with company name text */
    margin-bottom: 15px;
}

.description {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- 2. Quick Links Section --- */

.quick-links {
    flex: 1; /* Smaller column */
    min-width: 150px;
    margin-left:15px;
}

.quick-links h2 {
    /* Default H2 style (white text for 'Quick Links') */
    color: var(--text-light);
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #aebfd0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.quick-links a:hover {
    /* Quick links hover - Primary Blue */
    color: var(--primary-blue);
}

/* --- 3. Contact Info Section --- */

.contact-info {
    flex: 2; /* Give the contact column adequate space */
    min-width: 300px;
}

.contact-info h2 {
    /* CONTACT INFO - Primary Blue text */
    color: var(--text-light);
}

/* Layout for the three contact details using a simple grid */
.contact-grid {
    display: grid;
    /* Adjusted grid to better fit the contact structure */
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-box {
    /* General styling for each contact detail block */
    margin-bottom: 15px;
}

.label {
    /* Changed label text to Primary Blue */
    color: var(--text-light);
    font-weight: bold;
    margin-bottom: 5px;
}

.value {
    color: #aebfd0;
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Adjusting grid items to match the visual flow */
.branch-one {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.branch-two {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.phone-number {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.email-address {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* About Us */

      #certificate {
        padding: 60px 5%;
        background-color: #ffffff;
        margin-top:50px;
      }

      .certificate-container {
        display: flex;
        align-items: flex-start; /* Aligns items to the top */
        gap: 50px;
        max-width: 1100px;
        margin: 0 auto;
      }

      .certificate-image {
        flex: 0 0 40%; /* Flex-grow: 0, Flex-shrink: 0, Flex-basis: 40% */
        text-align: center;
      }

      .certificate-image img {
        max-width: 100%;
        height: auto;
        border: 1px solid #e0e0e0;
        padding: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      }

      .certificate-text {
        flex: 1;
      }

      .certificate-text .section-subtitle {
        color: #d32f2f; /* Red color */
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 8px;
        font-size: 0.9em;
        letter-spacing: 0.5px;
      }

      .certificate-text .section-title {
        font-size: 2.3em;
        color: #212121;
        margin-top: 0;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
        display: inline-block; /* <-- ADDED: Makes the container fit the text width */
      }

      .certificate-text .section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%; /* <-- CHANGED: Makes the line full width of the text */
        height: 3px;
        background-color: #d32f2f; /* Red color */
      }

      .certificate-text p {
        line-height: 1.7;
        color: #555;
        margin-bottom: 20px;
        font-size: 1rem;
      }

      .certificate-text .from-heart {
        margin-top: 30px;
      }

      .certificate-text .owner-name {
        color: #d32f2f;
        font-weight: bold;
        margin-top: -15px; /* Pull it closer to "FROM THE HEART" */
        margin-bottom: 20px;
        font-size: 1.1em;
      }

      /* --- Responsive Design for Certificate Section --- */
      @media (max-width: 900px) {
        .certificate-container {
          flex-direction: column;
          gap: 40px;
        }
        .certificate-text .section-title {
          font-size: 2em;
        }
      }
/* --- Responsiveness (Footer) --- */

@media (max-width: 900px) {
    .footer {
        flex-direction: column; /* Stacks columns vertically on smaller screens */
        padding: 40px 10%;
    }

    .f-box {
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Stack contact details vertically on mobile */
    }

    /* Reset grid flow for stacking */
    .branch-one,
    .branch-two,
    .email-address,
    .phone-number {
        grid-column: auto;
        grid-row: auto;
    }
}


footer {
    text-align: center;
    background-color: #313030;
    color: #aebfd0;
    padding: 10px 0;
    font-family: "Nunito", sans-serif;
    margin-bottom: -20px;
}


/* Catalogue Page */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 15px;
    width: 90%;
    margin: 3% auto;
    /* Added gradient background for catalogue page */
    background: linear-gradient(to bottom, var(--light-blue) 0%, var(--text-light) 100%);
    padding-top: 50px;
    padding-bottom: 50px;
}

.image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Center BLOG box */
.gall {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-family: "Nunito", sans-serif;
}

.gall h1 {
    margin-bottom: 10px;
    font-size: 28px;
    font-family: "Mulish", sans-serif;
}

.gall p {
    font-size: 16px;
    color: #555;
}

/* Products */
.product-category {
    text-align: center;
    margin: 30px 0;
}

.product-category h2 {
    margin-top: 90px;
    font-family: "Mulish", sans-serif;
}

.category-bar {
    /* Changed background from yellow to blue */
    background: var(--primary-blue);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-item {
    color: var(--text-light); /* White text on blue background */
    text-decoration: none;
    font-weight: 500;
    background: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: "Mulish", sans-serif;
}

.cat-item.active {
    /* Active color changed from red to a secondary blue */
    background: var(--scrolled-nav-bg);
    color: var(--text-light);
}

.cat-item:hover {
    /* Hover color changed from red to a secondary blue */
    background: var(--scrolled-nav-bg);
    color: var(--text-light);
}

/* Product Section */
.product-gallery {
    width: 90%;
    margin: 0 auto 80px auto;
}

.product-gallery h2 {
    margin-bottom: 30px;
    font-family: "Mulish", sans-serif;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.gallery-header h2 {
    font-size: 22px;
    font-weight: 600;
}

.gallery-header span {
    font-size: 15px;
    color: #777;
    font-family: "Nunito", sans-serif;
}

.enquiry-btn {
    /* Changed button color from red to primary blue */
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s;
    font-family: "Mulish", sans-serif;
}

.enquiry-btn:hover {
    /* Hover color changed to a secondary blue */
    background: var(--scrolled-nav-bg);
}

/* Tile Grid */
.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-family: "Mulish", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tile-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* CATEGORY BAR WITH DROPDOWN */

.dropdown {
    position: relative;
    display: inline-block;
}

/* DROPDOWN MENU */
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 130px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    z-index: 100;
    margin-top: 5px;
    font-family: "Nunito", sans-serif;
}

.dropdown-content a {
    color: #000;
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.dropdown-content a:hover {
    /* Dropdown hover changed from yellow to light blue */
    background: var(--light-blue);
}

/* SHOW MENU ON HOVER */
.dropdown:hover .dropdown-content {
    display: block;
}


/*  Sidebar */

.menu-line{
    height:3px;
    width:20px;
    background-color: black;
    margin-bottom: 3px;
}

.menu{
    cursor:pointer;
    display: none;
}

@media all and (max-width:640px){
    nav{
        flex-direction: column;
    }
    nav li{
        display: block;
        padding:10px 0;
    }
    ul{
        text-align: center;
        padding:0;
        display: none;
    }

    .logo{
        align-self: flex-start;
        margin:10px 0px 0px 30px;
    }

    .menu{
        display:block;
        position:absolute;
        right:20px;
        top:25px;
    }
    /* NOTE: The logic below is largely duplicated/overridden by the 700px media query,
        but kept for completeness based on your original file structure. 
        The main logic is in the 700px block below. 
    */
    .navbar-items {
        position: absolute;
        top: 70px;
        left: -100%;
        right:auto;
        width: 100%;
        background: #0a1a2a;
        padding: 20px 0;
        transition: 0.3s ease;
        z-index: 999;
        display: block;
    }
        
    .navbar-items ul {
        display: block !important; 
        padding: 0;
        margin: 0;
    }
        
    .navbar-items.showmenu {
        display: block;
        left:0;
    }

    /* The original rule for showing the menu */
    .showmenu {
        /* This rule targets the menu list (ul) but .navbar-items.showmenu handles the sliding */
        display: block; 
        position: absolute;
        top: 60px; 
        left: 0;
        width: 100%;
        background-color: var(--scrolled-nav-bg);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .navbar-items ul li {
        display: block; /* Stack links vertically */
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-items ul li:last-child {
        border-bottom: none;
    }
        
    .navbar-items ul li a {
        color: var(--text-light); /* White links on dark background */
        padding: 10px 0;
    }
}

/* video Container */




/* Responsive for tablets and mobiles */
@media (max-width: 1024px) {
    .boxes {
        width: 48%; /* 2 per row */
    }
}

@media (max-width: 600px) {

    .boxes {
        width: 100%; /* 1 per row */
    }
}

/* ===============================
    EXTRA MOBILE OPTIMIZATION
    for 369px × 662px devices
    =============================== */
@media (max-width: 700px) {

    /* --- GENERAL --- */
    body {
        font-size: 14px;
        overflow-x: hidden;
    }

    .heading {
        font-size: 26px;
        text-align: center;
    }

    .para {
        font-size: 11px;
        text-align: center;
        padding: 8px 10px;
    }

    .btn, .btn1, .btn2 {
        font-size: 14px;
        padding: 10px 14px;
    }

    /* --- NAVBAR --- */
    .navbar {
        /* Keep logo and menu on the same line */
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center; 
        padding: 15px 5%; 
    }

    /* * 🚀 UPDATED MOBILE MENU LOGIC FOR HOMEPAGE FIX 🚀
    * We ensure the menu icon is visible, clickable, and correctly positioned.
    */
    .menu{
        display:block; /* ENSURE THE HAMBURGER ICON IS VISIBLE */
        /* --- FIX 1: Explicit Absolute Positioning for Consistency --- */
        position: absolute; 
        right: 20px;
        top: 25px;
        /* --- FIX 2: High Z-index to avoid being covered by the background image/content --- */
        z-index: 1001; 
    }

    .navbar-items {
        /* This is the default, hidden state for the fly-out menu */
        position: absolute;
        top: 70px; /* Position it below the fixed navbar. Adjust if your logo is taller. */
        left: -100%; /* HIDE IT OFF-SCREEN */
        right:auto;
        width: 100%;
        text-align: center;
        background: var(--scrolled-nav-bg); /* Use your dark background */
        transition: left 0.3s ease; /* Animate the slide-in/out */
        z-index: 999;
        display: block; /* Ensure it's treated as a block for position/transition */
    }
    
    .navbar-items.showmenu {
        left: 0%; /* SLIDE IT ONTO THE SCREEN when class is added by JS */
    }

    /* ------------------------------------- */

    .logo {
        margin: 0; 
        padding: 0;
        max-width: 150px;
        flex-shrink: 0; 
    }

    .logo img {
        width: 80px; 
        height: auto; 
    }

    /* --- HOME PAGE --- */
    .homepg {
        background-position: center;
        height: 90vh;
    }

    .content {
        width: 90%;
        text-align: center;
        top: 55%;
    }

    .icons-col {
        display: none; /* Hide side icons on small screens */
    }

    /* --- VIDEO CONTAINER (Responsive adjustment for max-width: 690px) --- */
    .video_container {
        /* Use max-width: 690px as the upper limit for smaller screens */
        max-width: 690px; 
        width: 95%; /* Make it slightly smaller than 690px on very small screens */
        margin: 30px auto; /* Center it and give it some vertical space */
        
        /* 16:9 Aspect Ratio Trick */
        position: relative;
        padding-bottom: 56.25%; /* (315 / 560) * 100 = 56.25% */
        height: 0;
        overflow: hidden;
        border-radius: 8px; /* Optional: match modern video player look */
    }

    .video_container iframe {
        /* Fill the container perfectly */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px; /* Optional: match container */
    }

    

    /* --- ABOUT SECTION --- */
    .sec {
        width: 90%;
        padding: 8% 0;
    }

    .sub_heading {
        flex-direction: column;
        text-align: center;
    }

    .sub_heading h1, 
    .sub_heading p {
        width: 100%;
    }

    .A_box {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .box img {
        width: 100%;
        height: auto;
    }

    /* --- SERVICES --- */
    .service_box {
        flex-direction: column;
        align-items: center;
    }

    .boxes {
        width: 100%;
        margin-bottom: 25px;
    }

    .boxes img {
        height: 200px;
    }

    /* Product Section */
    #heading{
        margin-top: 70px;
    }

    /* --- CERTIFICATE SECTION --- */
    .certificate-container {
        flex-direction: column;
        gap: 20px;
    }

    .certificate-text .section-title {
        font-size: 1.6em;
    }

    .certificate-text p {
        font-size: 0.9em;
    }

    /* --- CONTACT SECTION --- */
    .contact-sec {
        flex-direction: column;
        gap: 20px;
        padding: 0 5%;
    }

    .contact_box,
    .map-container {
        width: 100%;
    }

    .contact_box input,
    .contact_box textarea,
    .contact_box button {
        width: 100%;
        font-size: 0.9rem;
    }

    /* --- FOOTER --- */
    .footer {
        flex-direction: column;
        padding: 30px 8%;
        text-align: center;
    }

    .f-box {
        width: 100%;
        padding: 0;
    }

    .footer-about,
    .quick-links,
    .contact-info {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* --- CATALOGUE / PRODUCT PAGES --- */
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 95%;
        padding: 30px 0;
    }

    .gall {
        grid-column: auto;
        grid-row: auto;
        padding: 20px;
    }

    .product-category h2 {
        font-size: 20px;
        margin-top: 50px;
    }

    .category-bar {
        flex-direction: column;
        gap: 5px;
    }

    .cat-item {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 10px 0;
    }

    .tile-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tile-card img {
        height: 200px;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .enquiry-btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 10px 0;
    }

    footer {
        font-size: 12px;
        padding: 10px 0;
    }

    .quick-links ul {
        list-style: none;
        padding: 0;
        display: block; 
    }

    .quick-links li {
        display: block; 
        margin-bottom: 8px; 
        text-align: center; 
    }

    .quick-links a {
        color: #aebfd0; 
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s;
    }
    
    .quick-links a:hover {
        color: var(--primary-blue);
    }

    .quick-links h2 {
        margin-bottom: 15px;
    }

    
}