/*
====================================
  Global & Utility Styles
====================================
  - Universal box-sizing
  - Body and text styles
  - Reusable container and button styles
*/


* {
    /* Set box-sizing globally for consistent box model behavior */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    /* Use a consistent color for the body text */
    background: linear-gradient(to bottom, #0a2a43, #163850);
    /* Set a smooth gradient background */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

/* Use a common utility class for content containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Reusable button styles with a hover effect */
.btn {
    display: inline-block;
    padding: 1rem 2rem; /* Use rem instead of px for scalability */
    background: rgba(255, 255, 255, 0.1);
    color: rgb(255, 254, 254);
    text-decoration: none;
    border-radius: 1.3rem; /* scaled using rem */
    font-weight: 600;
    font-size: 1.1rem; 
    transition: 0.3s;
    backdrop-filter: blur(6px);
    cursor: pointer;
    pointer-events: auto;
    position: relative; 
}

.btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-0.2rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Reusable button styles with a hover effect */
.copy-btn {
    border: none;
    outline: none; 
    display: inline-block;
    padding: 0rem 1rem; /* Use rem instead of px for scalability */
    background: rgba(255, 255, 255, 0.1);
    color: rgb(255, 254, 254);
    text-decoration: none;
    border-radius: 1.3rem; /* scaled using rem */
    font-weight: 600;
    font-size: 1.1rem; 
    transition: 0.3s;
    backdrop-filter: blur(6px);
    cursor: pointer;
    pointer-events: auto;
    position: relative; 
}

.copy-btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-0.2rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .copy-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .copy-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .copy-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/*
====================================
 Get A Quote Button from Products Page
====================================
*/

/* This is the default style. The button is fixed to the viewport. */
.quote-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: inline-block;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 21px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.quote-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Prevents the button from being clickable when hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.quote-btn:hover {
    background: transparent;
    color: #29a7e6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.quote-btn i {
    font-size: 20px;
}

.quote-btn span {
    font-size: 16px;
    white-space: nowrap; /* Prevents text from wrapping */
}

/* The magic of the comment box tail */
.quote-btn::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Position it at the bottom */
    right: 20px; /* Position it on the right side */
    width: 0;
    height: 0;
    border-left: 10px solid transparent; /* Creates the left side of the triangle */
    border-right: 10px solid transparent; /* Creates the right side of the triangle */
    border-top: 10px solid; /* Creates the solid top of the triangle with the same color as the button */
}




.quote-btn:hover::after {
    border-top-color: #0056b3; /* Change the tail color on hover */
}

/*
====================================
  Header & Navigation
====================================
  - Fixed navigation bar
  - Navigation menu and links
  - Responsive hamburger menu
*/

        /* Fixed header: Logo + Contact button */
    /* --- MAIN HEADER CONTAINER: .content --- */
.content {
    /* Existing Styles */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 15px;
    z-index: 10;
    color: rgb(255, 255, 255);
    /* We remove 'pointer-events: none;' from the main content bar 
       to ensure the logo and its new card are fully clickable.
    */
}

/* --- IMAGE STYLES: .content img --- */
.content img {
    /* Existing Styles */
    height: 70px;
    cursor: pointer;
    pointer-events: auto;
    transition: height 0.3s ease, width 0.3s ease, filter 0.3s ease; /* Add filter to transition */
    
    /* Ensures the image is treated as a block for clean display */
    display: block; 

    /* --- ADD THIS FOR THE GLOW EFFECT --- */
    /* Adjust values:
       1st value: horizontal shadow offset (0 for centered glow)
       2nd value: vertical shadow offset (0 for centered glow)
       3rd value: blur radius (higher = more spread out glow)
       4th value: color (use a bright color that complements your logo or theme)
       
       You can use multiple drop-shadows for a stronger effect!
    */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1.7)); 
}

/* --- OPTIONAL: Enhance glow on hover --- */
.logo-card-wrapper:hover img {
    height: 95px; 
    /* Make the glow stronger or change color on hover */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9)); 
}

/* --- LOGO CARD WRAPPER: .logo-card-wrapper (No change needed here for glow) --- */
.logo-card-wrapper {
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(8px);
    padding: 10px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0); 
    box-shadow: 0 4px 10px rgba(11, 10, 10, 0); 
    pointer-events: auto; 
}

    /* Sticky menu */
.menu-bottom {
    position: sticky;
    top: 40px;
    /* Remove left and transform: translateX(-50%) */
    width: fit-content;
    z-index: 10;
    display: flex;
    gap: 40px;
    background: rgba(255,255,255,0.1);
    padding: 20px 40px;
    border-radius: 21px;
    backdrop-filter: blur(6px);
    color: white;
    transition: background 0.3s ease;
    /* Add auto margins for horizontal centering */
    margin-left: auto;
    margin-right: auto;
}

.menu-bottom h3 {
    cursor: pointer;
}

.menu-bottom h3:hover { 
    color: #00a8ff; 
}

/* Consolidated the h4 styles into the parent flex container */
.menu-bottom h4 {
    color: rgb(228, 228, 228);
    margin: 0;
}

.menu-bottom a {
    color: rgb(228, 228, 228);
    text-decoration: none;
    transition: color 0.3s;
    /* Add this line to make the links clickable */
    pointer-events: auto;
}

.menu-bottom a:hover {
    color: #00a8ff;
}

/*
====================================
  Hero Section & Video Overlay
====================================
*/

.video-container {
    position: relative; /* Changed from static to relative */
    height: 100vh;
    overflow: hidden;
}

#backgroundVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 42, 67, 0.4);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.video-overlay h1 {
    font-size: 6rem;
    color: #fff;
    margin-bottom: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin-top: 100px; /* remove negative margin */
}

.video-overlay .btn {
  margin-bottom: 40px; /* space from bottom */
}
.video-overlay p {
    font-size: 1.5rem;
    color: #f0f0f0;
    max-width: 800px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/*
====================================
  Main Content Sections
====================================
  - Common styles for content sections
  - Features grid
  - Stats container
  - CTA section
  - Product gallery
*/

.content-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #29a7e6;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #29a7e6;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.feature-card p {
    color: #f0f0f0;
    line-height: 1.6;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #29a7e6;
    margin-bottom: 10px;
}

.stat-label {
    color: #f0f0f0;
    font-size: 1.2rem;
}

.cta-section {
    text-align: center;
    padding: 80px 5%;
    background: rgba(10, 42, 67, 0.7);
    border-radius: 15px;
    margin-bottom: 80px;
}

.cta-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    color: #f0f0f0;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
/*
====================================
  Featured Products 
====================================
  
*/

/* -----------------------------product code starts----------------------------------------------------- */
.carousel-container {
  width: 100%;
  overflow: hidden; /* Prevent excess overflow */
  position: relative;
  padding: 40px 0;
}

.carousel-track {
  display: flex;
  width: fit-content;
  animation: scroll 30s linear infinite;
  transition: filter 0.4s ease;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 300px;
  height: 300px;
  margin: -20px 0px;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
  z-index: 1;
}

.carousel-slide img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.carousel-slide:hover {
  z-index: 10;
  transform: scale(1.5);
}

.carousel-slide .title {
  position: absolute;
  left: 40px;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-weight: bold;
  font-size: 1rem;
}

.carousel-slide:hover .title {
  opacity: 1;
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* Keyframes to create the infinite scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* This moves the track by half its width (the original slide set) */
  }
}

/* Blur other images when one is clicked */
.carousel-track.clicked .carousel-slide:not(.active) {
  filter: blur(5px);
  transform: scale(0.95);
  transition: all 0.4s ease;
}

/* Add this to your CSS */
.carousel-track.hovered {
  animation-play-state: paused;
}

.carousel-track.hovered .carousel-slide:not(.active) {
  filter: blur(5px);
  transform: scale(0.95);
  transition: all 0.4s ease;
}

.carousel-slide.active {
  transform: scale(1.2);
  z-index: 20;
}

@media (max-width: 600px) {
  .carousel-slide {
    width: 200px;
    height: 200px;
    margin: 0 10px;
  }

  .carousel-slide .title {
    font-size: 0.85rem;
  }
}
/*
====================================
  About & Why Us Section
====================================
  - Page header for inner pages
  - Grid layout for "Why Us" content
*/

.page-header {
    background: linear-gradient(135deg, #29a7e6 0%, rgba(10, 42, 67, 0.7) 100%);
    color: white;
    padding: 150px 0 140px;
    text-align: center;
    margin-top: -65px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 15px auto;
}

.why-us-content {
    padding: 80px 0;
    background: #f8fafc;
}

.why-us-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.why-us-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-us-item.reverse {
    direction: rtl;
}

.why-us-item.reverse > * {
    direction: ltr;
}

.why-us-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-us-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.why-us-image:hover img {
    transform: scale(1.05);
}

.why-us-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.why-us-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.why-us-text ul {
    list-style: none;
    margin-top: 20px;
}

.why-us-text li {
    color: #29a7e6;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.why-us-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/*
====================================
  Testimonials
====================================
  - Testimonial grid and card styles
*/

.testimonials {
    padding: 80px 0;
    color: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-content p {
    color: #f0f0f0;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.testimonial-author strong {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/*
====================================
  Products & E-commerce
====================================
  - Product filter and search bar
  - Product grid and card styles
  - Quick view modal
*/

.products-filter {
    padding: 40px 0;
    background: #f8fafc;
}

.filter-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: #e0f2fe;
    color: #0369a1;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #29a7e6;
    color: white;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 45px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #29a7e6;
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}
.products {
    position: relative;
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: rgba(255,255,255,0.1);
    padding: 20px 40px;
    backdrop-filter: blur(6px);
    color: white;
}

/* -----------------------------------------------------------------
 * FIX: Enforce 1:1 Aspect Ratio on the container to fit 500x500 images
 * -----------------------------------------------------------------
 */
.product-image {
    position: relative;
    /* REMOVED: height: 200px; - This caused the cropping */
    
    /* NEW FIX: Use padding-bottom to create a dynamic square (100% of the width) */
    height: 0; 
    padding-bottom: 100%; 
    
    overflow: hidden;
}

.product-image img {
    /* NEW FIX: Absolute position the image to cover the 1:1 padding space */
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    
    /* FIX: Change object-fit from 'cover' (crop) to 'contain' (scale to fit without cropping).
       Since your images are 1:1, this ensures they fill the square perfectly. */
    object-fit: contain; 
    
    /* Ensure transition remains on the default state */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* New/Updated rule for the image inside the card on hover */
.product-card:hover .product-image img {
    transform: scale(1.05); /* Scales the image */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Black glow effect on the image */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Ensure smooth transition for glow */
}

/* ====================================================================
 * --- POP-UP MODAL STYLES (Full Code) ---
 * ====================================================================
 */

.popup-card {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25); /* Semi-transparent overlay */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

/* ----------------------------------------------------------------------
 * FIX: Enforced Max Height and Internal Scrolling for Screen Fit
 * ----------------------------------------------------------------------
 */
.popup-content {
    /* Base Container Styles */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    position: relative;
    color: white;
    text-align: center;
    animation: slideIn 0.2s ease;
    
    /* Size and Scrolling Fixes */
    max-width: 800px; /* Increased max-width for better display */
    width: 90%;
    
    /* 🚨 FIX: Limits height to 90% of the viewport height (vh) */
    max-height: 90vh; 
    
    /* 🚨 FIX: Allows content inside the modal to scroll vertically if needed */
    overflow-y: auto; 
    
    /* Reduced padding to ensure content area is maximized inside the max-height */
    padding: 30px; 
    scrollbar-width: none; /* Firefox */
}


/* Inner Layout Container */
.popup-container {
    display: flex;
    gap: 10px; /* Space between the left and right sections */
    text-align: left; /* Aligns text within the new structure */
}

.popup-left {
    flex: 1; /* Allows the left section to grow and take up space */
    display: flex; /* Centers the image vertically */
    align-items: center;
}

.popup-left img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Optional: adds a nice touch to the image */
}

.popup-right {
    flex: 2; /* Gives the right section more space than the left */
    display: flex;
    flex-direction: column; /* Stacks the top and bottom sections vertically */
    justify-content: space-between;
}

.popup-separator {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3); /* Thin white line */
    margin: 20px 0; /* Space above and below the line */
}

.close-btn {
    position: absolute;
    top: 15px; 
    right: 25px; /* This should work relative to the viewport when sticking */
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 1.3rem; 
    backdrop-filter: blur(6px);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    padding: 0.3rem 0.9rem; /* Use rem instead of px for scalability */
    transition: 0.3s;

}


/* ====================================================================
 * --- MEDIA QUERIES (Mobile/Responsive Fixes) ---
 * ====================================================================
 */
@media (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        max-height: 78vh; /* Allow it to take up a bit more screen space on mobile */
        padding: 20px; /* Slightly less padding for small screens */
    }
    
    /* Stack the image and text sections vertically on mobile */
    .popup-container {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Center the image within its section on mobile */
    .popup-left {
        justify-content: center;
    }
        body.modal-open {
        /* Locks the scroll position */
        overflow: hidden; 
        
        /* Optional but recommended: Prevents main content from shifting right 
           when the default vertical scrollbar is hidden. */
        position: fixed; 
        width: 100%;
    }
    .close-btn {
    position: sticky;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 1.3rem; 
    backdrop-filter: blur(6px);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    padding: 0.3rem 0.9rem; /* Use rem instead of px for scalability */
    transition: 0.3s;

}
}


/* ====================================================================
 * --- ANIMATIONS ---
 * ====================================================================
 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/*
====================================
  Contact & FAQ Section
====================================
  - Contact information and form
  - Google Maps section
  - Accordion for FAQ
*/

.contact-content {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 20px;
}

.contact-info>p {
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #044160;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.contact-details p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #29a7e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: #1e8bc7;
    transform: translateY(-3px);
}

.contact-form {
    background: linear-gradient(to bottom left, #ffffff, #cdcdcd);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #29a7e6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-section {
    padding: 80px 0;
    background: #ffffff;
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 40px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    position: relative;
    height: 400px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 42, 67, 0.9);
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.map-overlay p {
    margin: 0;
    font-weight: 500;
}

.map-overlay i {
    margin-right: 10px;
    color: #ffcb05;
}

.faq-section {
    padding: 80px 0;
    background: #15374f;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    padding: 20px;
    margin: 0;
    font-size: 1.2rem;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-item h3:hover {
    background: #f1f5f9;
}

.faq-item h3 i {
    transition: transform 0.3s ease;
}

.faq-item.active h3 i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 0 20px 20px;
    /* Increase this value significantly to ensure it covers all content */
    max-height: 1000px;
}

.faq-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
/*
====================================
  Wave And Ship
====================================
*/
    /* Hero section styles to create the water background */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

/* Wave container, which will display the SVG wave */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  right: 0;
  height: 120px;
  /* SVG code is embedded directly into the CSS using a data URL */
  background: url('data:image/svg+xml;utf8,<svg width="1440" height="120" viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 60C240 120 480 0 720 60C960 120 1200 0 1440 60V120H0V60Z" fill="%23ffffff"/></svg>') repeat-x;
  background-size: 1440px 120px;
  animation: waveMove 45s linear infinite;
  opacity: 0.95;
  z-index: 2;
}
.wave {
  position: relative;
  z-index: 1;
}
/* Ship positioning and animation */
/* Ship positioning and animation */
.wave-ship {
  position: absolute;
  bottom: 30px; /* Adjust this value to change the ship's vertical position */
  right: 500px; /* Adjust this value to change the ship's horizontal position */
  width: 100px; /* This sets the container width */
  animation: verticalBounce 3s ease-in-out infinite;
  z-index: 4;
}
@media (max-width: 1024px) {
  .wave-ship {
    bottom: 20px;
    right: 100px;
    width: 100px;
  }
}

/* Small screens (phones) */
@media (max-width: 768px) {
  .wave-ship {
    bottom: 15px;
    right: 100px;
    width: 100px;
  }
}

/* Extra small screens (very small phones) */
@media (max-width: 480px) {
  .wave-ship {
    bottom: 10px;
    right: 100px;
    width: 100px;
  }
}

/* This is the missing piece! It makes the image scale to its parent's width. */
.wave-ship img {
  width: 100%;
  height: auto;
}

/* Keyframes for the wave movement */
@keyframes waveMove {
  0% { background-position-x: 0; }
  100% { background-position-x: 1440px; }
}

/* Keyframes for the ship's bouncing animation */
@keyframes verticalBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* This value controls the bounce height */
  }
}

/*
====================================
  Footer
====================================
*/

.site-footer {
    background: #f3f5f6;
    color: #4b5563;
    padding: 60px 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a202c;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0b5da7;
    text-decoration: underline;
}

.footer-contact p {
    margin: 0 0 10px;
    line-height: 1.4;
}

.footer-contact a {
    color: #4b5563;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #0b5da7;
}

.social-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #1a202c;
    font-size: 1.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: #0b5da7;
    transform: translateY(-2px);
}

.footer-legal {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    text-align: center;
}

.footer-legal a {
    color: #4b5563;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #0b5da7;
    text-decoration: underline;
}

.copyright {
    margin: 0 0 10px;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-column.logo-column,
    .footer-column.contact-column {
        order: -1;
    }
    
    .footer-logo {
        display: block;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/*
====================================
  Responsive Styles
====================================
  - Media queries for various screen sizes
*/

/* Mobile-first approach for navigation */
@media (max-width: 768px) {
    /* Hamburger menu display */
    .hamburger {
        display: flex;
    }

    /* Off-canvas navigation menu */
    .nav-menu {
        position: fixed;
        top: -600%;
        left: 0;
        width: 100%;
        height: 50vh;
        background: rgb(10, 42, 67);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: top 0.4s ease;
        z-index: 999;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .nav-menu.active {
        top: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        transition: color 0.3s, transform 0.3s;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #38bdf8;
        transform: scale(1.05);
    }

    /* Adjust main content layout for mobile */
    .why-us-item,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-item.reverse {
        direction: ltr;
    }

    .contact-form {
        order: -1;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        align-self: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Font size and padding adjustments for mobile */
    .page-header {
        padding: 130px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .video-overlay h1 {
        font-size: 2.5rem;
        margin-top: 100px; /* add space from top */
    }

    .video-overlay p {
        font-size: 1.2rem;
    }

    .section-title,
    .testimonials h2,
    .why-us-text h2 {
        font-size: 2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 40px;
    }

    .video-controls {
        bottom: 20px;
        right: 20px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-logo {
        height: 50px;
    }

    .filter-options {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .map-placeholder {
        height: 300px;
    }

    /* Prevent body scroll when nav is open */
    body.nav-open {
        overflow: hidden;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Further font size and padding reductions for smaller screens */
    .page-header,
    .contact-content,
    .testimonials,
    .products,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }

    .page-header h1,
    .contact-info h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .video-overlay h1 {
        font-size: 2rem;
        margin-top: 100px;
    }

    .video-overlay p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 20px;
    }

    .video-controls {
        bottom: 10px;
        right: 10px;
    }

    .nav-logo {
        height: 40px;
    }

    .products-filter {
        padding: 30px 0;
    }

    .filter-options {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-info {
        padding: 15px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .faq-item h3 {
        padding: 15px;
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 20px;
    }
}/* ====================================
   Mobile Navigation & Hamburger Menu (FINAL CONSOLIDATED FIX)
==================================== */

/* Hamburger menu button (hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1001;
    backdrop-filter: blur(6px);
    pointer-events: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile menu container (consolidated bubble style) */
.mobile-menu {
    position: fixed;
    top: 80px; /* just below hamburger */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* <--- This is the final 20px gap applied consistently */
    z-index: 1000;
    
    /* FIX: Prevents ghost clicking when menu is closed */
    pointer-events: none; 
    
    /* Use transform/opacity to hide the menu initially */
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.active {
    /* Enable clicks and slide into view */
    pointer-events: auto; 
    transform: translateX(0);
    opacity: 1;
}

/* Bubble buttons */
.mobile-menu a {
    /* Your existing styles */
    background: rgb(222, 222, 222);
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 21px;
    backdrop-filter: blur(6px);
    
    opacity: 0;
    transform: scale(0.8);
    transition: none;
    
    /* --- NEW: Add a gap to the right of each button --- */
    margin-right: 15px; /* Adjust this value (e.g., 10px, 20px) to control the gap */
}
/* --- PARENT CONTAINER: .mobile-menu --- */
.mobile-menu {
    /* Setting to Flexbox and Column direction */
    display: flex;
    flex-direction: column; 
    
    /* 1. KEY: Controls the vertical space between the items */
    gap: 5px; /* Adjust this value (e.g., 2px, 5px, 8px) to set the gap */
    
    /* Ensure the menu is positioned/styled as needed (e.g., fixed/full height) */
    /* Add any other positioning/sizing styles for your menu here */
}

/* --- MENU BUTTONS: .mobile-menu a --- */
.mobile-menu a {
    /* 2. DECREASE INTERNAL BUTTON HEIGHT (Optional, but helps reduce overall size) */
    /* Original: padding: 12px 18px; */
    padding: 8px 18px; /* Reduced vertical padding from 12px to 8px */
    
    /* Existing button styles */
    background: rgb(222, 222, 222);
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 21px;
    backdrop-filter: blur(6px);

    opacity: 0;
    transform: scale(0.8);
    transition: none;
}


/* HOVER EFFECT FIX: Color changes for bubble buttons */
.mobile-menu a:hover {
    background: rgb(0, 0, 0); /* Darker background on hover */
    color: rgb(222, 222, 222); /* Light text on hover */
    transition: background 0.2s ease, color 0.2s ease;
}


/* Bubble animation */
.mobile-menu.active a {
    animation: bubbleIn 0.5s forwards;
}

/* Bubble keyframes */
@keyframes bubbleIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Staggered animation delays */
.mobile-menu.active a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active a:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu.active a:nth-child(5) { animation-delay: 0.5s; }


/* No overlay needed anymore */
.menu-overlay { display: none !important; }

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .menu-bottom {
        display: none !important;
    }
    
    /* Adjust content padding to account for fixed logo */
    .content {
        padding: 20px;
    }
    
    .content img {
        height: 70px;
    }
}

.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.custom-file-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.custom-file-btn {
  background-color: #4da6ff; /* Your theme color */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.custom-file-btn:hover {
  background-color: #e03e3e; /* Darker on hover */
}

.file-name {
  font-size: 0.9rem;
  color: #555;
}

/* Hide the real file input */
.custom-file-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

