/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f9f9f9;
    color: #333;
    padding-bottom: 15vh; /* Adjust for fixed footer height dynamically */
    padding-top: 140px; /* Navbar (90px) + Breadcrumb (50px) */
}

/* Uniform Header Styles */
h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    color: #333;
}

h1 {
    font-size: 2.1rem;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

h4 {
    font-size: 1rem;
    font-weight: 500;
}

h5 {
    font-size: 1rem;
    font-weight: 400;
}

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

/* Fixed Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    padding: 20px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo img {
    height: 60px;
    max-width: 150px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.nav-links li a:hover {
    color: rgb(244, 241, 235);
}

.nav-links .cta {
    background-color: transparent;
    color: white;
    padding: 5px 10px;
    border: 2px solid orange;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.nav-links .cta:hover {
    border-color: #ff7b00;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px;
}

/* Mobile Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    text-align: left;
    padding: 15px 20px;
    position: fixed;
    top: 90px; /* Position below navbar (60px logo + 15px top padding + 15px bottom padding) */
    left: 0;
    width: 100%;
    z-index: 1002; /* Ensure above PDF viewer */
    background-color: #fff;
    min-height: 50px; /* Reserve space for path links */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
}

.breadcrumb-visible {
    display: block; /* Show when class is added */
}

.breadcrumb a {
    color: orange;
    text-decoration: none;
    margin-right: 5px;
    font-family: 'Inter', sans-serif;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-family: 'Inter', sans-serif;
}

/* Back Button */
.back-btn {
    margin: 20px 0;
    text-align: left;
    padding: 0 20px;
}

.back-btn a {
    color: orange;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.back-btn a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: url('hero-image1.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 10vh 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    max-width: 90%;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-content h1 {
    color: white;
    font-family: 'Inter', sans-serif;
    padding: 20px;
}

.hero p {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
}

.hero-btn {
    display: inline-block;
    background: orange;
    border: 2px solid orange;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.hero-btn:hover {
    border-color: #ff7b00;
}

@media (max-width: 768px) {
    .hero {
        padding: 10vh 5vw;
        min-height: 40vh;
    }

    .hero-content {
        width: 95%;
        padding: 15px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

/* About Us Section */
.about-section {
    padding: 5vh 5vw;
    margin: 10px;
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 150px; /* Navbar (90px) + Breadcrumb (50px) + Extra (10px) */
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.con-section {
    display: grid;
    margin-top: 40px;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.con-section a {
    color: orange;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        min-width: 100%;
    }
}

/* Featured Categories */
.featured-categories {
    padding: 45px 0;
    text-align: center;
    scroll-margin-top: 150px; /* Navbar (90px) + Breadcrumb (50px) + Extra (10px) */
}

.featured-categories h2 {
    margin-bottom: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 20px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

.category {
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 250px;
    max-width: 250px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.category:hover {
    transform: translateY(-10px);
    border-color: orange;
}

.category img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

.category a {
    color: #333;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.category a:hover {
    color: orange;
}

.category .cta {
    display: inline-block;
    background-color: transparent;
    border: 2px solid orange;
    color: #333;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: border-color 0.3s ease;
    font-size: 0.9em;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.category .cta:hover,
.category .cta:focus {
    border-color: #ff7b00;
}

/* Subcategory Listing */
.subcategory-listing {
    padding: 40px 0;
    text-align: center;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px);
    gap: 20px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.subcategory {
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 220px;
    max-width: 220px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.subcategory:hover {
    transform: translateY(-10px);
    border-color: orange;
}

.subcategory img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.subcategory h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.subcategory h5 {
    font-size: 0.9rem;
    color: #555;
    margin: 5px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: 'Inter', sans-serif;
}

.subcategory a {
    color: #333;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.subcategory a:hover {
    color: orange;
}

.subcategory .cta {
    display: inline-block;
    background-color: transparent;
    border: 2px solid orange;
    color: #333;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: border-color 0.3s ease;
    font-size: 0.9em;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.subcategory .cta:hover,
.subcategory .cta:focus {
    border-color: #ff7b00;
}

@media (max-width: 768px) {
    .subcategory-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .subcategory {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Services */
.services {
    padding: 40px 0;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 150px; /* Navbar (90px) + Breadcrumb (50px) + Extra (10px) */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
}

.service i {
    font-size: 40px;
    margin-bottom: 15px;
    color: orange;
}

.service p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* Inquiry Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#quote-form {
    display: flex;
    flex-direction: column;
}

#quote-form input,
#quote-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

#quote-form button {
    background: orange;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

#quote-form button:hover {
    background: darkorange;
}

/* Fixed Footer */
.contact-section {
    background: #333;
    color: white;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    max-height: 25vh; /* Cap footer height at 20% of viewport height */
    overflow-y: scroll; /* Allow scrolling if content overflows */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-section ul {
    text-decoration: underline;
    font-size: 1rem;
    padding: 5px 5px;
    margin: 0;
}

.contact-section a {
    color: orange;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.contact-section a:hover {
    text-decoration: underline;
}

.contact-section p, .contact-section p1, .contact-section p2 {
    font-family: 'Inter', sans-serif;
    margin: 1px 0;
    padding: 0 10px;
    font-size: 0.8rem;
}
/* 
/* PDF Viewer */
.pdf-viewer {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 230px); 
    min-height: 600px; 
    margin: 0 auto;
    display: block;
    /* overflow-x:auto; 
    overflow-y: auto; */
}

.pdf-viewer-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}

.pdf-viewer canvas {
    /* display:block; */
    margin: 10px auto;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    max-width: 100%; 

} 

.pdf-fallback {
    text-align: center;
    margin: 10px 0;
    font-family: 'Inter', sans-serif;
    color: #555;
}

.pdf-fallback a {
    color: orange;
    text-decoration: none;
}

.pdf-fallback a:hover {
    text-decoration: underline;
}

/* Loader */
#loader-container {
    width: 100%;
    height: 4px;
    background-color: #ddd;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

#loader-bar {
    height: 100%;
    width: 0%;
    background-color: #3498db;
    transition: width 0.3s ease;
}

/* Photo Gallery */
.photo-gallery {
    padding: 2rem 1rem;
    background: #f5f5f5;
    min-height: calc(100vh - 230px); 
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
}

.photo-gallery img {
    width: 100%;
    height: auto; /* Let the height adjust based on aspect ratio */
    max-height: 300px; /* Cap the height to prevent overly tall images */
    object-fit: contain; /* Ensure the entire image is visible */
    object-position: center;
    border-radius: 5px;
}

.gallery-item p {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 1rem;
    color: #333;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-bottom: 20vh; /* Adjust dynamically for footer */
        padding-top: 96px; /* Navbar (46px) + Breadcrumb (50px) */
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem;
    }

    .logo img {
        height: 30px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 10px 15px;
        font-size: 0.85rem;
        top: 46px; /* Below navbar (30px logo + 8px top padding + 8px bottom padding) */
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
    }

    .about-image img {
        max-width: 100%;
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .category {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Subcategory Grid */
    .subcategory-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .subcategory {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Sections with Scroll Margin */
    .about-section,
    .featured-categories,
    .services {
        scroll-margin-top: 106px; /* Navbar (46px) + Breadcrumb (50px) + Extra (10px) */
    }

    /* Footer */
    .contact-section {
        padding: 10px;
        max-height: 20vh; /* Cap footer height */
        font-size: 0.6rem;
    }

    .contact-section ul {
        font-size: 1rem;
        padding: 3px 10px;
    }

    .contact-section p,
    .contact-section p1,
    .contact-section p2 {
        font-size: 0.85rem;
        margin: 2px 0;
    }

    .contact-section p1,
    .contact-section p2 {
        display: block;
        color: #ddd;
    }

    /* PDF Viewer */
    .pdf-viewer {
        height: calc(100vh - 196px); 
        min-height: 500px; 
        padding: 0;
    }

    .pdf-viewer-content {
        padding: 5px 0;
    }

    .pdf-viewer canvas {
        max-width: 100%;
        width: auto !important; 
        height: auto !important;
    }

    /* Photo Gallery */
    .photo-gallery {
        padding: 1.5rem 0.5rem;
        min-height: calc(100vh - 196px); /* Adjust for mobile */
    }

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

    .photo-gallery img {
        max-height: 250px; /* Slightly smaller cap for mobile */
    }

    .gallery-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .category img,
    .subcategory img {
        height: 150px;
    }

    .modal-content {
        margin: 20% auto;
        padding: 1rem;
    }

    .contact-section {
        font-size: 0.8rem;
    }

    .contact-section ul {
        font-size: 0.9rem;
    }

    .contact-section p,
    .contact-section p1,
    .contact-section p2 {
        font-size: 0.8rem;
    }

    .pdf-viewer {
        height: calc(100vh - 186px); 
        min-height: 450px; 
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .photo-gallery img {
        max-height: 200px; /* Further reduce cap for very small screens */
    }

    .gallery-item p {
        font-size: 0.85rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    body {
        padding-top: 25vh; /* Navbar + breadcrumb as a percentage of viewport height */
        padding-bottom: 25vh; /* Footer as a percentage of viewport height */
    }

    /* Navbar */
    .navbar {
        padding: 0.3rem;
    }

    .logo img {
        height: 25px;
    }

    .nav-links {
        top: 40px; /* Adjust for smaller navbar height */
        padding: 0.5rem 0;
    }

    .nav-links li {
        margin: 0.3rem 0;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .menu-toggle {
        top: 0.5rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        top: 40px; /* Adjust for smaller navbar */
        padding: 5px 10px;
        min-height: 30px;
        font-size: 0.75rem;
    }

    /* Footer */
    .contact-section {
        max-height: 25vh;
        padding: 3px;
    }

    .contact-section ul {
        font-size: 0.9rem;
        padding: 2px 5px;
    }

    .contact-section p,
    .contact-section p1,
    .contact-section p2 {
        font-size: 0.75rem;
        margin: 1px 0;
        padding: 0 5px;
    }

    /* Adjust PDF Viewer and Photo Gallery */
    .pdf-viewer {
        height: calc(100vh - 50vh); 
        min-height: 250px;
    }

    .photo-gallery {
        height: calc(100vh - 50vh);
        min-height: 200px;
    }

    .photo-gallery img {
        max-height: 150px;
    
    }
   
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    gap: 20px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}
.product-grid1 {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 20px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}
.product-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 20px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

@media (max-width: 768px) {
    .product-grid2 {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

.product-card {
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 250px;
    max-width: 250px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: orange;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}
.product-price{
    
    display: inline-block;
    background: orange;
    border: 2px solid orange;
    padding: 5px 5px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.product-price:hover {
    border-color: #ff7b00;
}
