*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
}
:root {
    --primary-color: #FF0000;
    --secondary-color: #000000;
    --white-color: #ffffff;
    --third-color: #004F73;
}





#scrollTopBtn {
    position: fixed;
    bottom: 50px !important;
    right: 25px;
    z-index: 99;
    background-color: var(--primary-color);
    color: white;
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}



.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.search-results .search-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s ease;
}

.search-results .search-item:last-child {
    border-bottom: none;
}

.search-results .search-item:hover {
    background-color: #f8f8f8;
}

.search-results .search-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
}

.search-results .search-item .title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}





.cutom-btn{
    background-color: var(--third-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cutom-btn:hover {
    background-color: #013852;
    color: var(--white-color);
}
.text-info{
    color: var(--third-color) !important;
    font-size: 20px;
    margin: 0;  
}
.p-styling p{
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: #bbb;
}
.vertical-line {
    border-left: 1px solid #ccc;
    height: 40px;
}
p{
    margin: 0;
    padding: 0;
    font-size: 14px;
}
a {
    text-decoration: none;
    color: var(--white-color);
    margin: 0;
}
.headline {
    background: var(--third-color);
    color: var(--white-color);
    padding-top: 10px;
    padding-bottom: 10px;
}
.headline p {
    font-size: 12px;
    margin: 0;
    padding: 0;
}
.headline nav a {
    font-size: 14px;
    margin: 0 5px;
    padding: 0;
    transition: color 0.3s ease;
}
.headline nav a:hover {
    color: var(--primary-color);
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
    pointer-events: none;
    z-index: 5;
}

.search-box input {
    padding-left: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #999 !important;
}
.middle-hedear .contact-info i,
.middle-hedear .mail-info i {
    font-size: 24px;
}
.middle-hedear .contact-info p,
.middle-hedear .mail-info p {
    font-size: 14px;
    color: #888;
    margin: 0;
    padding: 0;
}
.middle-hedear .whatsapp i {
    font-size: 30px;
    background-color: green;
    color: #fff;
    border-radius: 50%;
    padding: 15px 18px;
}

.mobile-whatsapp i {
    font-size: 28px;
    background-color: green;
    color: #fff;
    border-radius: 50%;
    padding: 12px 14px;
}


/* ---- SIDE PANEL ---- */
.sidepanel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: var(--white-color);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 90px;
}
.sidepanel a {
    padding: 8px 25px;
    text-decoration: none;
    font-size: 15px;
    color: var(--secondary-color);
    display: block;
    transition: 0.3s;
}
.sidepanel a:hover {
    color: var(--primary-color);
}
.sidepanel .close {
    width: 100%;
    position: absolute;
    top: 5px !important;
    right: 5px !important;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
.sidepanel .closebtn {
    font-size: 36px;
    padding: 0 !important;
}
.openbtn {
    font-size: 16px;
    background-color: #222;
    color: white;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
.openbtn:hover {
    background-color: #444;
}

/* Dropdown in Sidepanel */
.dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-btn i {
    transition: transform 0.3s ease;
}
.dropdown-container {
    display: none;
    background-color: #ffffff;
    margin-left: 25px;
    border-left: 2px solid #ccc;
}
.dropdown-container a {
    font-size: 14px;
    position: relative;
}
.dropdown-container a::before{
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ddd;
    width: 20px;
    height: 2px;
}

.dropdown-btn.active i {
    transform: rotate(180deg);
}

/* ---- TOP NAV MENU ---- */
.navigation-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.navigation-menu .nav-item {
    position: relative;
}
.navigation-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 5px;
    display: inline-block;
    transition: color 0.3s;
}
.navigation-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown hover */
.navigation-menu .dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 0px;
    overflow: hidden;
    z-index: 100;
}
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-weight: 400;
}
.dropdown-menu a:hover {
    background-color: #f8f8f8;
}
.dropdown i {
    font-size: 14px !important;
    margin-left: 3px;
    transition: transform 0.3s;
}
.dropdown:hover i {
    transform: rotate(180deg);
}
/* overlay style */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); 
    z-index: 900;
    display: none;
}
.slider .slide-img{
    height: 720px;
}
.slider .slide-img img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: top center; 
}

@media (min-width: 1440px) {
    .slider .slide-img{
        height: 100%;
    }
    .slider .slide-img img {
        object-fit: cover;
    }
}
/* Responsive height for mobile */
@media (max-width: 992px) {
    .slider .slide-img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .slider .slide-img {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .slider .slide-img {
        height: 200px;
    }
}


/* Main flex container */
.categorise-section .container > .d-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Each category link (acts as card container) */
.cat-link {
    flex: 0 0 180px;
    text-align: center;
    text-decoration: none;
    margin: 10px;
}

/* Square Card */
.cat-main {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.cat-main:hover {
    border-color: red;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Image Center */
.cat-img-container {
    width: 91px;
    height: 91px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Category Name (2-line ellipsis) */
.cat-img-container-fs {
    font-size: 15px;
    color: #333;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: 2.4em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cat-link {
        flex: 0 0 calc(33.333% - 20px); /* 3 cards per row on mobile */
        margin: 10px;
    }

    .cat-main {
        height: 140px;
        padding: 10px;
    }

    .cat-img-container {
        width: 70px;
        height: 70px;
    }

    .cat-img-container-fs {
        font-size: 13px;
    }
}









.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background-color: var(--primary-color, #004F73);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: background 0.3s ease;
}

.feature-card:hover .icon-box {
    background-color: #0077a7;
}

.feature-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .feature-card {
        padding: 20px 10px;
    }
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .feature-card h5 {
        font-size: 15px;
    }
    .feature-card p {
        font-size: 13px;
    }
}








.product-section .product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 350px;
    background: #fff;
}
.product-section .product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.product-section .product-card .product-img {
    width: 100%;
    height: 270px;
    overflow: hidden;
}
.product-section .product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}
.product-section .product-card .product-info {
    padding: 10px;
    text-align: center;
}
.product-section .product-card .product-info h5 {
    font-size: 16px;
    margin: 5px 0;
    color: #333;
}
.product-section .product-card .product-info a {
    font-size: 14px;
    color: #666;
    margin: 0;
}
@media (max-width: 768px) {
    .product-section .product-card {
        height: 250px;
    }
    .product-section .product-card .product-img {
        width: 100%;
        height: 170px;
        overflow: hidden;
    }
}


.extra-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, padding 0.5s ease-in-out;
}
.extra-section.open {
    max-height: 1200px; /* expand area */
    padding-top: 10px;
}


.gallery-section {
    padding: 20px 0;
}

.gallery-section .owl-stage {
    padding: 10px 0;
}

/* Card container */
.gallery-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
}

.gallery-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Image styling */
.gallery-section .gallery-img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-section .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-section .gallery-card:hover img {
    transform: scale(1.08);
}

/* Title styling */
.gallery-section .gallery-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;    /* Limit text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .gallery-section .gallery-img {
        width: 100%;
        height: 200px;
        border-radius: 8px;
        overflow: hidden;
    }
    
}

.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--third-color);
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: #fff;
    color: var(--third-color);
}

.title-banner .title-bg {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.title-banner .title-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    filter: brightness(100%);
}
.title-categories {
    background-color: #bbb;
    color: #fff;
    padding: 8px 15px;  
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}
.title-categories .cat-container{
    width: 150px;
    height: 120px;
    overflow: hidden;
    border-right: 1px solid var(--white-color);
    padding: 10px;
}
.title-categories .cat-container:last-child {
    border-right: none;
}

.title-categories .cat-container .cat-img{
    width: 100%;
    height: 90px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.title-categories .cat-container .cat-img img{
    width: 100%;
    height: 100%;
    object-fit: conatin;
    object-position: center;
}
.title-categories .cat-container a {
    font-size: 13px;
    height: 20px;
    text-align: center;
}
.title-section .pages-link {
    background-color: #004F73;
    display: flex;
    justify-content: start;
    align-items: center;
}
.title-section .pages-link h3 {
    font-size: 20px;
    margin: 0;
}
.title-section .pages-link .active {
    color: var(--primary-color);
}
.about-img img{
    width: 100%;
    height: 630px;
    object-fit: cover;
    object-position: center center;
}
.gallery-section-page .gallery-img {
    height: 400px;
    border-radius: 8px;
    border: 1ps solid #ddd;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    overflow: hidden;
}
.gallery-section-page .gallery-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.gallery-section-page .gallery-img:hover img {
    transform: scale(1.05);
}

.hero-banner {
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(60%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    z-index: 2;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.hero-content h5 {
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

.small-thumb:hover {
    border: 2px solid #000;
}