/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    font-family:'Poppins',sans-serif;
}

:root{
    --green:  green;
    --black:  #130f40;
    --light-color: #666;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    --border: .2rem solid rgba(0,0,0.1);
    --outline: .1rem solid rgba(0,0,0.1);
}

body {
    background: #f9fafb;
    color: #222;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 0;
}
.btn
{
    border: .2rem solid var(--black);
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    color: var(--black);
    background: none;

}

.btn:hover
{
    background: var(--green);
    color: #fff;
}
/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #004080;
    color: white;
    padding: .1rem .5%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    box-shadow: var(--box-shadow);
}

header:hover {
    background-color: #003060;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heading span
{
    background: var(--green);
    color: #fff;
    display: inline-block;
    padding: .5rem 3rem;
    clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}
.logo {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: 2px;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.image{
    height: 7.5rem;
}

nav ul.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul.nav-menu li a,
nav ul.nav-menu li button.nav-button {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.call-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #0099ff;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 12px rgba(0,153,255,0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.call-button:hover {
    background-color: #007acc;
    box-shadow: 0 8px 16px rgba(0,122,204,0.7);
    text-decoration: none;
}

nav ul.nav-menu li a:hover,
nav ul.nav-menu li button.nav-button:hover {
    background-color: #0066cc;
}

#menu-btn
{
    display: none;
    
}

nav ul.nav-menu.active
{
    right: 2rem;
    transition: .4s linear;
}

nav ul.nav-menu li a
{
    right: 2rem;
    transition: .4s linear;
}
/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    margin-top: 1rem;
    border: 4px solid #004080;
    border-radius: 15px;
    box-sizing: border-box;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-color: white;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    width: 20%;
    height: 100%;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    text-align: center;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: normal;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    writing-mode: horizontal-tb !important;
    transform: translate(-50%, -50%) !important;
}
.hero-overlay.left {
    left: 0;
    transform: translate(0, -50%) !important;
    max-width: 50%;
    overflow-wrap: break-word;
    white-space: normal;
    justify-content: flex-start !important;
    text-align: center !important;
    padding-left: 20px;
}
.hero-overlay.right {
    right: 0;
    transform: translate(0, -50%) !important;
    max-width: 50%;
    overflow-wrap: break-word;
    white-space: normal;
    justify-content: flex-end !important;
    text-align: center !important;
    padding-right: 20px;
}
.hero-overlay.right h1 {
    font-size: 2.3rem;
    align-items: center;
    text-transform: uppercase;
    margin: 6rem 0;
    margin-right: 8.5rem;
}

.hero-overlay.left h1{
    font-size: 2.3rem;
    align-items: center;
    text-transform: uppercase;
    margin: 6rem 0;
    margin-left: 8.5rem;
}
/* Services Section */
.services {
    padding: 4rem 0;
    text-align: center;
}

.reviews {
    padding: 4rem 0;
    text-align: center;
    background-color: #f5f8fa;
    border-radius: 15px;
    margin-top: 2rem;
}

.reviews h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: #004080;
    font-weight: 700;
}

.review-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.review-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    flex: 1 1 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.review-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #004080;
}

.review-stars{
    color: orange;
    font-size: 1.7rem;
}

.review-item h3 {
    color: #007acc;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.review-item p {
    color: #555;
    font-size: 1rem;
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

.services h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: #004080;
}

.service-list {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item h3 {
    color: #007acc;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-item p {
    color: #333;
    font-size: 1rem;
}

/* Products Section */
.products {
    padding: 4rem 0;
    overflow-x: hidden;
    position: relative;
}

.product-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    position: relative;
}

.product-slider::-webkit-scrollbar {
    height: 8px;
}

.product-slider::-webkit-scrollbar-thumb {
    background-color: #697177;
    border-radius: 4px;
}

.product-slider::-webkit-scrollbar-track {
    background-color: #f4a3a3;
}

.product {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 280px;
}


.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Slider navigation buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 122, 204, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 122, 204, 1);
}

.slider-btn-left {
    left: 5px;
}

.slider-btn-right {
    right: 5px;
}

.products h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: #004080;
}

.product {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product img {
    max-width: 100%;
    border-radius: 15px;
    margin-bottom: 1.2rem;
    height: 180px;
    object-fit: contain;
    background-color: #f9fafb;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 10px;
}

.product img:hover {
    transform: scale(1.05);
}

.product h3 {
    margin-bottom: 0.7rem;
    color: #007acc;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    
}

.product p {
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #004080;
    font-size: 1.1rem;
}

.addToCartBtn {
    background: linear-gradient(45deg, #004080, #0099ff);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    font-size: 1rem;
    box-shadow: 0 6px 12px rgba(0,153,255,0.5);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.addToCartBtn:hover {
    background: linear-gradient(45deg, #003060, #007acc);
    box-shadow: 0 8px 16px rgba(0,122,204,0.7);
    transform: translateY(-3px);
}

/* About Us Section */
.about {
    padding: 4rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #004080;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #333;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #004080;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.contact label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: #004080;
    font-size: 1rem;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1.2rem;
    border: 2px solid #0099ff;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #004080;
    outline: none;
}

.contact button.btn-primary {
    width: 100%;
}

/* Footer */
footer {
    background: #004080;
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    padding-top: 60px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #0077b6;
}


.footer

{
    background: #fff;

}

.footer .box-container
{
    border: 0px solid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: .5rem;
}

.footer .box-container .box h3
{
    font-size: 1.5rem;
    color: var(--black);
    padding: 1rem 0;
    
}

.footer .box-container .box h3 i
{
    color: var(--green);
    
}

.footer .box-container .box .links
{
    display: block;
    font-size: 1.2rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.footer .box-container .box .links i
{
    color: var(--green);
}

.footer .box-container .box .links:hover i
{
    padding-right: 2rem;
}


.footer .box-container .box p
{
    line-height: 1.8;
    font-size: 1rem;
    color: var(--light-color);
    padding: 1rem 0;
    
}

.footer .box-container .box .payment-img
{
    margin-top: 1rem;
    height: 25rem;
    width: 30rem;
}

.footer .box-container .box .share a
{
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    border-radius: .5rem;
    font-size: 2rem;
    color: var(--black);
    margin-left: .2rem;
    background: #eee;
    text-align: center;

}

.footer .box-container .box .share a:hover
{
    background: var(--green);
    color: #fff;
}

.footer .box-container .box .email
{
    width: 50;
    margin: .7rem 0;
    padding: .3rem;
    border-radius: .3rem;
    background-color: #eee;
    font-size: 1.6rem;
    color: var(--black);
    text-transform: none;
}

.footer .box-container .box .btn
{
    padding: .1rem .8rem;

   
}

.footer .credit
{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color: var(--black);
    border-top: var(--border);

}

.footer .credit span
{
    color: var(--green);
}


/* Responsive */
@media (max-width: 1024px) {


    .service-list {
        flex-direction: column;
        align-items: center;
    }

    nav ul.nav-menu {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
       
     #menu-btn {
        display: inline-block;
     }

    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul.nav-menu {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    nav ul.nav-menu li {
        flex: 1 1 45%;
    }

    nav ul.nav-menu li a,
    nav ul.nav-menu li button.nav-button {
        width: 100%;
        text-align: center;
        padding: 0.6rem 0;
    }

    .products {
        grid-template-columns: 1fr;
    }
}  
  

