/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 85%;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header .logo h1 {
    font-size: 2.5em;
    font-weight: bold;
}

.header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header nav ul li {
    margin-left: 30px;
}

.header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.header nav ul li a:hover {
    color: #ffcc00;
}

/* Hero Section */
.hero {
    background: url('hero-background.jpg') no-repeat center center/cover;
    height: 80vh;
    color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
}



.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.btn-main {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    text-decoration: none;
}

.btn-main:hover {
    background-color: #ffcc00;
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background-color: #fff;
}

.products-section .section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

.product-card:hover .product-image {
    opacity: 0.8;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 10px;
}

.description {
    color: #777;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.price {
    font-size: 1.5em;
    color: #003366;
    font-weight: bold;
}

.btn-add-to-cart {
    background-color: #003366;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-add-to-cart:hover {
    background-color: #ffcc00;
}

/* Cart Modal */
.cart-modal-content {
    background-color: white;
    /* Make it take up most of the screen, but cap it for very large viewports */
    width: 90%;
    max-width: 600px;      /* was 400px—now wider */
    border-radius: 8px;
    padding: 20px;
    position: relative;
    /* Let it grow taller, but not beyond the viewport */
    max-height: 95vh;      /* was 90vh—gives a bit more vertical space */
    overflow-y: auto;      /* still scrolls if content > 95vh */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    /* Centering tweaks */
    margin: 0 10px;        /* small side-margins on very narrow screens */
  }
  


.radio-group {
    display: flex;
    gap: 20px;
    margin: 10px 0 20px;
  }
  
  .radio-group label {
    background-color: #f9f9f9;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
  }
  
  /* Add a hover effect if you want */
  .radio-group label:hover {
    background-color: #eee;
  }
  
  /* Ensure selected label takes precedence over hover */
  .radio-group label.selected {
    background-color: #ffcc00 !important;  /* yellow */
    color: #000 !important;
  }
  
  
  .radio-group input[type="radio"] {
    display: none;
  }
  
  .radio-group i {
    font-size: 18px;
    color: #007bff;
  }
  
  .radio-group input[type="radio"]:checked + i,
  .radio-group label:hover i {
    color: #0056b3;
    transform: scale(1.1);
  }
  
  .radio-group input[type="radio"]:checked + i + span,
  .radio-group label:hover {
    border-color: #007bff;
    background-color: #e7f1ff;
  }
  
  .radio-group label:hover {
    transform: scale(1.02);
  }
  
  .cart-modal-content {
    background-color: white;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
}

  
@media (max-width: 600px) {
    .cart-modal-content {
      width: 100%;        /* use full width on small screens */
      max-width: none;    /* ignore the desktop cap */
      max-height: 90vh;   /* slightly shorter if needed */
      margin: 0 5px;      /* tiny gutter on either side */
    }
  }

.cart-modal-content h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #003366;
}

.cart-payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: space-between;
}

.cart-payment-methods button {
    flex: 1 1 48%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #003366;
    background-color: #f5f5f5;
    color: #003366;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-payment-methods button.active {
    background-color: #e0efff;
    border: 2px solid #003366;
    font-weight: bold;
}

@media (max-width: 400px) {
    .cart-payment-methods button {
        flex: 1 1 100%;
    }
}

.cart-modal-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    color: #003366;
}

.cart-modal-content label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2em;
    color: #003366;
    text-align: left;
    margin-left: 10px;
}

.cart-modal-content > p:first-of-type {
    text-align: center;
  }

.cart-modal-content input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.cart-modal-content input:focus {
    border-color: #003366;
    outline: none;
}
#close-cart-btn {
    background-color: #ffcc00;
    color: #003366;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
#close-cart-btn:hover {
    background-color: #003366;
    color: white;
}
.cart-modal-content input:first-child {
    margin-top: 20px; /* Added top margin to first input */
}

.cart-modal-content button {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}
.cart-modal-content p {
    font-size: 1.2em;
    margin-top: 20px;
    color: #003366;
}
.cart-modal-content input {
    margin-bottom: 15px;
}
.cart-modal-content button:hover {
    background-color: #ffcc00;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer .social-links {
    margin-top: 20px;
}

footer .social-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2em;
}

footer .social-links a:hover {
    color: #ffcc00;
}
.hero h2, 
.hero p {
    color: #003366; /* Dark blue color */
}
/* Hero Section */
/* Hero Section */
.hero {
    background: url('hero-background.jpg') no-repeat center center/cover;
    height: 80vh;
    color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
    position: relative; /* Keeps content aligned correctly */
}


/* Flag Container */
.flag-container {
    position: absolute;  /* Position the flag absolutely */
    bottom: 20px;        /* 20px from the bottom of the hero section */
    right: 20px;         /* 20px from the right side of the hero section */
    z-index: 1;          /* Ensure it's above other content if needed */
}

/* Flag Image */
.flag-image {
    width: 80px;         /* Adjust flag size (feel free to tweak) */
    height: auto;        /* Maintain aspect ratio */
    border-radius: 5px;  /* Rounded corners for elegance */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Light shadow for floating effect */
}

/* Hero Text (Title and Button) */
.hero h2 {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: bold;
}



.btn-main {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    text-decoration: none;
}

.btn-main:hover {
    background-color: #ffcc00;
}
/* Hero Section */
.hero {
    background: url('hero-background.jpg') no-repeat center center/cover;
    height: 80vh;
    color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
    position: relative; /* Keeps content aligned correctly */
}

/* Flag Container */
.flag-container {
    position: absolute;  /* Position the flag absolutely */
    bottom: 20px;        /* 20px from the bottom of the hero section */
    right: 20px;         /* 20px from the right side of the hero section */
    z-index: 1;          /* Ensure it's above other content if needed */
}

/* Flag Image */
.flag-image {
    width: 80px;         /* Adjust flag size (feel free to tweak) */
    height: auto;        /* Maintain aspect ratio */
    border-radius: 5px;  /* Rounded corners for elegance */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Light shadow for floating effect */
}





.btn-main {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    text-decoration: none;
}

.btn-main:hover {
    background-color: #ffcc00;
}
/* Hero Section */
.hero {
    background: url('hero-background.jpg') no-repeat center center/cover;
    height: 80vh;
    color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
    position: relative; /* Keeps content aligned correctly */
}

/* Flag Container */
.flag-container {
    position: absolute;  /* Position the flag absolutely */
    bottom: 20px;        /* 20px from the bottom of the hero section */
    right: 20px;         /* 20px from the right side of the hero section */
    z-index: 1;          /* Ensure it's above other content if needed */
}

/* Flag Image */
.flag-image {
    width: 80px;         /* Adjust flag size (feel free to tweak) */
    height: auto;        /* Maintain aspect ratio */
    border-radius: 5px;  /* Rounded corners for elegance */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Light shadow for floating effect */
}







.btn-main:hover {
    background-color: #ffcc00;
}
/* Promotional Product Price Style */
.price {
    font-size: 1.5em;
    color: #003366;
    font-weight: bold;
}

/* Old price (strikethrough) */
.old-price {
    text-decoration: line-through;
    color: #ff0000; /* Red color for the old price */
    font-size: 1.2em;
    margin-right: 10px;
}

/* Section for Promotional Products */
.products-section .section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* Product Card Styling */
.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

/* "Add to Cart" Button Styling */
.btn-add-to-cart {
    background-color: #ff0000; /* Red color for promotional buttons */
    color: white;
    padding: 12px 25px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-add-to-cart:hover {
    background-color: #ffcc00; /* Yellow when hovered */
}

.confirmation-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#confirm-order-btn {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: background-color 0.3s ease;
}
#confirm-order-btn:hover {
    background-color: #ffcc00;
}
.confirmation-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.checkmark {
    font-size: 3rem;
    color: green;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* About Section */
.about-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.about-section h2 {
    font-size: 2.8em;
    color: #003366;
    margin-bottom: 30px;
    font-weight: bold;
}

.about-section p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background-color: #f4f4f4;
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.8em;
    color: #003366;
    margin-bottom: 30px;
    font-weight: bold;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-section button {
    background-color: #003366;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-section button:hover {
    background-color: #ffcc00;
}
.confirmation-flag {
    width: 50px;       /* Small size */
    height: auto;      /* Keep aspect ratio */
    margin-top: 10px;  /* Space above the image */
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* Optional soft shadow */
}


  
/* == FORCE the modal container to show == */
#cart-modal {
    top: 0; left: 0;
    width: 100%; height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.5) !important;
    z-index: 1000 !important;
  }
  
  /* == BIGGER, RESPONSIVE modal content == */
  #cart-modal .cart-modal-content {
    width: 90%;               /* almost full width */
    max-width: 600px;         /* up from 400px */
    max-height: 95vh;         /* up from 90vh */
    padding: 20px !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    margin: 0 10px;           /* small side gutters */
  }
  
  /* == Small-screen tweak == */
  @media (max-width: 600px) {
    #cart-modal .cart-modal-content {
      width: 100% !important;
      max-width: none !important;
      margin: 0 5px !important;
      max-height: 90vh !important;
    }
  }

  /* hide by default */
#cart-modal {
    display: none;
  }
  
  /* show when .active is present */
  #cart-modal.active {
    /* you can keep your positioning, centering, backdrop, etc here too */
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
  }

  #cart-items-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;            /* center horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;       /* center items */
  }
  
  #cart-items-list li {
    text-align: center;        /* center text inside each item */
    margin-bottom: 10px;       /* optional spacing */
  }
  

  /* hide by default */
#cart-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  /* show when we add .active */
  #cart-modal.active {
    display: flex;
  }
  
  .cart-modal-content {
    background: #fff;
    width: 90%; max-width: 600px;
    max-height: 95vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 20px;
    position: relative;
  }

  /* hide by default */
#cart-modal {
    display: none;
  }
  
  /* show when .active is present */
  #cart-modal.active {
    display: flex;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  
  
  
