* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
}

header {
    width: 100%;
    background: #024470;
    position: fixed;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header nav {
    width: 90%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

nav .logo img {
    width: 100px;
    height: 100px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

nav ul li a:hover {
    color: #d1d4cc;
}

.active {
    text-decoration: underline;
    color: #d1d4cc;
}

@media (max-width: 768px) {

  nav {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  /* Hidden menu default */
  nav ul {
    flex-direction: column;
    width: 100%;
    background: #01385f;
    text-align: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
  }

  nav ul li {
    margin: 10px 0;
  }

  nav ul li a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
  }

  nav ul li a:hover {
    background: #04619c;
  }

  /* When active — menu slides down */
  nav ul.active {
    max-height: 400px; 
  }
}



.hero {
    background: url(images/hero\ img.png) center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 90px;
}

.hero .heading {
    width: 90%;
    margin: auto;
    color: #fff;
}

.hero .heading h1 {
    margin-bottom: 20px;
    font-size: 40px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px blue;
}

.hero .heading h2 {
    /* width: 350px; */
    font-size: 25px;
    margin-bottom: 40px;
}

.hero .heading a {
    text-decoration: none;
    color: #fff;
    background-color: #0d0d58;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
}

.product {
    width: 100%;
    background-color: #d1d4cc;
    padding: 20px 0;
}

.product h1 {
    text-align: center;
    margin-bottom: 20px;
}

.product .product-container {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.product .product-container .product-card {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;

}

.product .product-container .product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.product .product-container .product-card .product-img {
    width: 100%;
    height: 400px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.product .product-container .product-card .product-img img {
    width: 100%;
    height: 100%;
    transition: all 1s ease;
}

.product .product-container .product-card .product-img img:hover {
    scale: calc(110%);
}

.product .product-container .product-card .product-content {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}

.product .product-container .product-card .product-content h3,
p {
    font-size: 25px;
}

.product .product-container .product-card .product-btn {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
}

.product .product-container .product-card .product-btn a:first-child {
    text-decoration: none;
    color: #fff;
    background-color: #0d0d58;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product .product-container .product-card .product-btn a:first-child:hover {
    background-color: #3131b3;
}

.product .product-container .product-card .product-btn a:last-child {
    text-decoration: none;
    color: #fff;
    background-color: #358d12;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product .product-container .product-card .product-btn a:last-child:hover {
    background-color: #5abb34;
}

.footer {
    background: #024470;
    color: #fff;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: auto;
}

.footer-column {
    width: 250px;
    margin: 10px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 15px;
    color: #ff4081;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 8px 0;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.social-icons a {
    margin-right: 10px;
    font-size: 20px;
    text-decoration: none;
    color: #ff4081;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 10px;
    font-size: 13px;
    color: #aaa;
}

/* ===========================
   RESPONSIVE DESIGN SECTION
   =========================== */

/* For Tablets (≤ 992px) */
@media (max-width: 992px) {

    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .hero .heading h1 {
        font-size: 32px;
    }

    .hero .heading h2 {
        font-size: 20px;
    }

    .product .product-container {
        grid-template-columns: 1fr 1fr; /* 2 columns instead of 3 */
    }

    .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 columns in footer */
        text-align: center;
    }

    .footer-column {
        width: auto;
        margin: 10px 0;
    }
}

/* For Mobiles (≤ 600px) */
@media (max-width: 600px) {

    /* Hero Section */
    .hero {
        height: 70vh;
        text-align: center;
        background-position: center;
    }

    .hero .heading {
        width: 100%;
    }

    .hero .heading h1 {
        font-size: 26px;
        text-shadow: 1px 1px 4px blue;
    }

    .hero .heading h2 {
        font-size: 16px;
    }

    .hero .heading a {
        padding: 8px 15px;
        font-size: 16px;
    }

    /* Product Section */
    .product .product-container {
        grid-template-columns: 1fr; /* Single column for small screens */
    }

    .product .product-container .product-card {
        width: 100%;
    }

    .product .product-container .product-card .product-img {
        height: 400px;
    }

    .product .product-container .product-card .product-content h3,
    .product .product-container .product-card .product-content p {
        font-size: 18px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h3,
    .footer-column h4 {
        color: #ff82a1;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* About Page */

.about-section {
    background: linear-gradient(180deg, #fff7f2, #ffe8e0);
    padding: 80px 10%;
    font-family: 'Poppins', sans-serif;
}

.about-container {
    max-width: 1200px;
    margin: auto;
}

.about-title {
    text-align: center;
    font-size: 42px;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.about-title span {
    color: #b71c1c; /* deep red accent */
}

.about-intro {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

.about-main-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.section-text {
    flex: 1;
    min-width: 300px;
}

.section-text h2 {
    color: #b71c1c;
    margin-bottom: 10px;
    font-size: 26px;
}

.section-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.section-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.section-img img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-main-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .section-text h2 {
        font-size: 24px;
    }
}

/* Contact page */

.contact-section {
    background: linear-gradient(180deg, #fff7f3, #ffe8e0);
    padding: 80px 10%;
    font-family: 'Poppins', sans-serif;
}

.contact-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.contact-title span {
    color: #b71c1c; /* elegant red tone */
}

.contact-subtitle {
    text-align: center;
    color: #555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.contact-main {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 50px;
}

/* Info Section */
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    color: #b71c1c;
    margin-bottom: 20px;
    font-size: 26px;
}

.contact-info p {
    color: #444;
    font-size: 16px;
    margin: 10px 0;
}

.contact-info i {
    color: #b71c1c;
    margin-right: 10px;
}

/* Social Icons */
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #b71c1c;
    font-size: 22px;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #333;
    transform: scale(1.2);
}

/* Form Section */
.contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #b71c1c;
}

.contact-form button {
    background-color: #b71c1c;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #a31515;
    transform: translateY(-2px);
}

/* Map Section */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-main {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contact-form {
        text-align: center;
    }

    .contact-form {
        width: 100%;
    }
}
