* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #004080;
    color: white;
    padding: 10px 20px;
}

header .logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    background: #e6f2ff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.products {
    padding: 40px 20px;
}

.products h2 {
    text-align: center;
    margin-bottom: 30px;
}

.product-card {
    background: white;
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
}

.product-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.contact, .location {
    background: #d9e6f2;
    padding: 30px 20px;
    text-align: center;
}

.contact h2, .location h2 {
    margin-bottom: 20px;
}

.location-link {
    display: inline-block;
    margin-top: 10px;
    background: #004080;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 20px;
    background: #003366;
    color: white;
    font-size: 4rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .products {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-card {
        flex: 0 0 30%;
        margin: 15px;
    }
}

@media (max-width: 767px) {
    nav ul {
        flex-direction: column;
        background: #004080;
    }

    nav ul li {
        margin: 10px 0;
    }
}
.image-hover {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.image-hover img {
    width: 100%;
    border-radius: 8px;
    transition: opacity 0.3s ease-in-out;
    display: block;
}

.image-hover .hover-gif {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.image-hover:hover .hover-gif {
    opacity: 1;
}

.image-hover:hover .static-img {
    opacity: 0;
}
.about {
    padding: 50px 20px;
    background: #f0f8ff;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #004080;
}

.about p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: auto;
    line-height: 1.7;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #004080;
}

.product-lineup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-card {
    background: white;
    padding: 20px;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.image-hover {
    position: relative;
    width: 100%;
    height: 250px; /* fixed height for consistent alignment */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out; /* Add smooth scaling on hover */
}
.image-hover img.static-img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    border-radius: 8px;
}


.image-hover img.hover-gif {
    position: absolute;
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    border-radius: 8px;
}

/* Hide the text when hovering over image */
.image-hover:hover .product-description {
    opacity: 0;
}

/* GIF becomes larger and visible when hovering */
.image-hover:hover .hover-gif {
    opacity: 1;
    transform: scale(1.3); /* Scale up the gif on hover */
}

/* Make the static image disappear */
.image-hover:hover .static-img {
    opacity: 0;
}

.product-card {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.product-description {
    font-size: 1rem;
    color: #666;
    transition: opacity 0.3s ease-in-out;
}

.product-card a {
    display: block;
    text-decoration: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #004080;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product-card a:hover {
    background-color: #003366;
}
.product-lineup {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
}

.product-card {
    min-width: 300px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: scale(1.03);
}
html {
    scroll-behavior: smooth;
  }
.product-detail {
    padding: 40px 20px;
    background: #f0f4f8;
    margin-bottom: 30px;
    border-radius: 12px;
}

.product-detail h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.product-detail ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1.1rem;
}
.product-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
  }
  
  .product-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .product-table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .product-table th, .product-table td {
    padding: 10px;
    border: 1px solid #ccc;
  }
  
  .product-table th {
    background-color: #004080;
    color: white;
  }
  .products {
    text-align: center;
    padding: 40px 20px;
  }
  
  .products h2 {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .product-lineup {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  .product-detail-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .product-detail-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  
  .product-size-table table {
    border-collapse: collapse;
    width: 250px;
    margin: 0 auto;
  }
  
  .product-size-table th,
  .product-size-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: center;
  }
  
  .product-size-table th {
    background-color: #e8e8e8;
    font-weight: bold;
  }
  
  .image-hover.image-large {
    width: 300px;
    height: 250px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
  }
  
  .image-hover.image-large img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    border-radius: 12px;
  }
  
  .image-hover.image-large .hover-gif {
    opacity: 0;
    z-index: 2;
    pointer-events: none;
  }
  
  .image-hover.image-large:hover .hover-gif {
    opacity: 1;
  }
  
  .image-hover.image-large:hover .static-img {
    opacity: 0;
  }
  /* Welcome Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.popup-logo {
    width: 120px;
    margin-bottom: 20px;
}

.popup-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #222;
}

.popup-content p {
    font-size: 16px;
    color: #555;
}

#close-popup {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.subscribe {
    text-align: center;
    padding: 40px;
    background: #e6f2ff;
  }
  
  .subscribe input {
    padding: 10px;
    width: 200px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  .subscribe button {
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .subscribe button:hover {
    background-color: #003366;
  }
  

        