*:root {
    --primary: #00008B;
    --secondary: #C49102;
    --accent: #BDC3C7;
    --bg: #F8F9F9;
    --text: #2C3E50;
}
@media (prefers-color-scheme: dark) {
    *:root {
    --primary: #00008B;
    --secondary: #C49102;
    --accent: #BDC3C7;
    --bg: #F8F9F9;
    --text: #2C3E50;
}
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 2px solid red; */
    /* background-color: var(--bg);
    color: var(--text); */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, 'Arimo', "Helvetica Neue", Helvetica, sans-serif;
}

header {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header {
    background-color: var(--bg);
    color: var(--text);
    font-size: 15px;
    height: 1.5vw;
    text-align: center;
    padding: 5px;
    box-sizing: content-box;
    display: flex;
    justify-content: space-evenly;
}

svg {
    vertical-align: middle;
    height: 2vw;
}

@media screen and (max-width:650px) {
    .header {
        font-size: 10px;
    }

    svg {
        vertical-align: middle;
        height: 3vw;
    }
}

@media screen and (max-width:350px) {
    .header {
        font-size: 8px;
    }

    .header-icons svg {
        vertical-align: middle;
        height: 4vw;
    }
}

/* ########### Navigation bar #############*/

.navbar {
    background-color: var(--primary);
    color: var(--bg);
    padding: 12px 20px;
    position: sticky;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    background-color: var(--bg);
}

.logo {
    height: 11vw;
    object-fit: contain;
}

.brand-name {
    color: var(--bg);
    font-size: 30px;
    font-weight: 600;
}
.brandtext{
    color: var(--bg);
    display: flex;
    flex-direction: column;
    font-size: 15px;
    text-align: center;
}

/* Menu */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--bg);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0B1F8A;
    list-style: none;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.dropdown-menu li a {
    display: block;
    text-align: center;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 40px;
}

/* Dropdown toggle alignment */
.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Arrow styling */
.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}


/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--bg);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .brandtext{
        font-size: 12px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 20vw;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        max-height: 500px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        justify-content: center;
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 10px 0;

    }

    .brand-name {
        font-size: 25px;
    }

}

@media (max-width: 500px) {
    .nav-menu {
        top: 26vw;
    }

    .logo {
        height: 16vw;
    }

    .brand-name {
        font-size: 20px;
    }
}
@media (max-width: 500px){
    .nav-menu {
        top: 30vw;
    }
    .brandtext{
        font-size: 10px;
    }
}
/*-------------------------------------- main----------------------------------- */
main {
    flex: 1;
}

/*------------------------------------- Footer------------------------------------ */
.footer {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    background-color: var(--primary);
    color: var(--bg);
    width: 100%;
    justify-content: space-between;
    text-align: center;
    padding: 15px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left;
    margin: 5px;
}

.footer-nav h3 {
    color: var(--bg);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 15px;
}

.footer-nav ul li {
    list-style: none;
    margin: 3px
}

.footer-nav ul li a {
    color: var(--bg);
    text-decoration: none;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    margin: 5px;
}

.footer-contact h3 {
    color: var(--bg);
}


.webauthor{
    background-color: var(--primary);
    color: var(--bg);
    font-size: 13px;
}
.frame-img{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.makeinindia{
    margin-right: 5px;
    width: 60px;
    align-self: end;
}
.footer .footer-contact span,
.footer .footer-contact div svg {
    color: var(--bg);
}

.footer .footer-contact .text {
    font-size: large;
    font-weight: 600;
}

.footer iframe {
    height: 15vw;
    width: 15vw;
    margin: 5px;
}


@media (max-width:600px) {
    .footer {
        flex-direction: column;
    }

    .footer .footer-nav {
        justify-content: left;
        text-align: left;
    }

    .footer .footer-contact {
        justify-content: left;
        text-align: left;
    }
    .footer .footer-contact div{
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .footer iframe {
        height: 20vw;
        width: 20vw;
    }
    .frame-img{
        flex-direction: row;
        justify-content: space-between;
        gap: 0px;
    }
    .makeinindia{
        width: 50px;
    }
}


@media (max-width:500px) {
    .footer iframe {
        height: 25vw;
        width: 25vw;
    }
    .makeinindia{
        width: 45px;
    }
    
}

main {
    background-color: var(--bg);
    width: 100%;
    text-align: center;
}
/* -----------------------------home page--------------------------------- */
.welcome-text {
    color: var(--text);
    margin: 25px;
    padding: 25px;
    text-align: center;
}

.welcome-text>div {
    margin: 10px;
}

.home-title {
    color: var(--text);
    text-align: center;
}

.title {
    color: var(--secondary);
    font-size: 60px;
    text-align: center;
}

.home-headings {
    text-align: center;
    color: var(--primary);
}

@media (max-width:1150px) {
    .home-title {
        font-size: 25px;
    }

    .title {
        font-size: 35px;
    }
}


/* ############### slider ############### */
.carousel {
    width: 100%;
    max-height: 65vh;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    color: var(--text);
}

.slides {
    display: flex;
    width: 100%;
    max-height: 65vh;
    transition: transform 0.6s ease-in-out;
    touch-action: pan-y;
}


.slide {
    width: 100%;
    max-height: 65vh;
    flex-shrink: 0;
}


.slide.active {
    display: block;
}

.indicators {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #88898a;
}

@media (max-width:700px) {
    .carousel {
        max-height: 50vw;
    }

    .slide {
        max-height: 50vw;
    }

    .slides {
        max-height: 50vw;
    }
}

/* ################### grid ##################### */

.qualities-section {
    padding: 4rem 1.5rem;
}

.qualities-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Box styling */
.quality-box {
    background: var(--bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.8s ease;
}

/* Icons */
.icon {
    margin-bottom: 1rem;
}

.icon svg {
    width: 56px;
    height: 56px;
    fill: var(--secondary);
}

/* Text */
.quality-box h3 {
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.quality-box p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animations */
.from-left {
    transform: translateX(-70px);
}

.from-right {
    transform: translateX(70px);
}

.quality-box.show {
    opacity: 1;
    transform: translateX(0);
}

/* Tablet stays 2x2 */
@media (max-width: 900px) {
    .qualities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile 1 column */
@media (max-width: 600px) {
    .qualities-grid {
        grid-template-columns: 1fr;
    }
}

.view-more-btn {
    padding: 12px 25px;
    background-color: var(--secondary);
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 10px;
    /* ensures width fits content */
}

.view-more-btn:hover {
    background-color: #EDC001;
    /* slightly lighter blue on hover */
}

.view-more-btn:active {
    transform: scale(0.97);
    /* small click animation */
}

.view-more-btn:focus {
    outline: none;
    box-shadow: 0 0 4px rgba(0, 0, 139, 0.6);
}

/* -----------------------------------products------------------------------------ */
.productheadings {
    font-size: 50px;
    margin: 15px;
    text-align: center;
    color: var(--text);
}

.starproduct {
    margin: 20px;
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: var(--bg);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.starproduct img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}


.stardescription h2 {
    color: var(--secondary);
    margin: 15px;
}

.stardescription p {
    margin: 10px;
    color: var(--text);
    text-align: center;
}

@media (max-width:650px) {
    .starproduct img {
        height: 250px;
    }
}

@media (max-width:650px) {
    .starproduct {
        flex-direction: column;
    }
}

.products {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: white;
}
@media (prefers-color-scheme: dark) {
    .product-card img{
        background-color: white;
    }
}

.product-info {
    padding: 1rem;
    flex: 1;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.product-info span {
    font-weight: bold;
    color: var(--secondary);
}

.place-order-btn {
    padding: 12px 25px;
    background-color: var(--secondary);
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    /* ensures width fits content */
}

.place-order-btn:hover {
    background-color: #EDC001;
    /* slightly lighter blue on hover */
}

.place-order-btn:active {
    transform: scale(0.97);
    /* small click animation */
}

.place-order-btn:focus {
    outline: none;
    box-shadow: 0 0 4px rgba(0, 0, 139, 0.6);
}

.discounts{
    text-align: center;
    color: var(--primary);
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
}
/* ################## overlay #################### */

.overlay-btn {
  padding: 12px 24px;
  background: var(--secondary);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
  margin-bottom: 10px;
}

.overlay-btn:hover {
  background: #b37c01;
}

/* ===== Overlay ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 62, 80, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.overlay.active {
  display: flex;
}

/* ===== Overlay Content ===== */
.overlay-content {
  position: relative;
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 1200px;
  height: 90%;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: auto;           /* scroll if too tall */
}

.overlay-content h2 {
  margin-top: 0;
  color: var(--primary);
}

/* ===== Close Button ===== */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
}


/* ===== Product List Grid ===== */
.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;           /* remove default bullets */
  counter-reset: item;        /* reset counter */
  padding: 0;
  margin: 20px 0 20px 0;
  list-style-position: inside;
}

.product-list li {
  position: relative;                          /* for absolute number */
  padding-left: 35px;                           /* leave space for number */
  background: #f4f4f4;
  border-radius: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
  text-align: left;
  max-height: fit-content;

  /* Ellipsis behavior */
  white-space: nowrap;                         /* single line */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Number for each item */
.product-list li::before {
  counter-increment: item;
  content: counter(item) ".";
  font-weight: bold;
  position: absolute;
  left: 10px;                                  /* number position */
}

/* Expanded state */
.product-list li.expanded {
  white-space: normal;                         /* allow wrapping when clicked */
}

/* ===== Responsive Grid ===== */
@media (max-width: 900px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-list li {
    font-size: 15px;
  }
}

@media (max-width: 550px) {
  .overlay-content {
    padding: 20px;
  }
  .product-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .product-list li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .overlay-content {
    padding: 16px;
  }
  /* .product-list {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  } */
  .product-list li {
    font-size: 13px;
  }
}


/* ------------------------------------Contact Us------------------------------ */
/* .contact {
    display: flex;
    flex-direction: column;
    width: 70vw;
    margin: auto;
    margin-top: 5vw;
    margin-bottom: 5vw;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    gap: 20px;
    padding: 25px;
    border-radius: 5%;
    color: var(--text);
    text-align: left;
}
.contact .text{
    margin-left: 2vw;
}

.contact .contact_text {
    margin-left: 2vw;
}

.contact .contact_text span {
    font-size: large;
    font-weight: 550;
}

.contact div iframe {
    width: 50%;
    height: 450px;
    margin: auto;
}

.contact div span {
    display: flex;
    gap: 25px;
}

.contact div span img {
    width: 40px;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.contact div span a :hover {
    width: 50px;
}

@media screen and (max-width:1000px) {
    .contact div iframe {
        height: 350px;
    }
}

@media screen and (max-width:800px) {
    .contact div iframe {
        height: 250px;
    }
}

@media screen and (max-width:600px) {
    .contact {
        width: 90vw;
    }

    .contact div iframe {
        height: 150px;
    }
}

@media screen and (max-width:400px) {
    .contact div iframe {
        height: 100px;
    }
} */

/* -------------------------------- About ---------------------------------- */
.about {
    margin: 50px 100px;
    padding: 25px 25px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

.about p {
    margin: 25px;
    color: var(--text);
    text-align: center;
}

.rightimg {
  float: right;
  margin: 20px 0 10px 15px; /* space between image and text */
  width: 200px;
}


.about-facts {
    align-items: center;
    text-align: center;
    margin: 10px auto;
    width: 50vw;
    height: 500px;
    color: var(--text);
    border: 2px solid var(--primary);
}
.about-facts .table-text{
    padding: 5px;
}

.about-facts ul {
    list-style: none;
    text-decoration: none;
}

.about-headings {
    text-align: center;
    color: var(--primary);
}

@media (max-width:700px) {
    .about {
        margin: 50px 70px;
    }
    .rightimg{
        width: 125px;
    }
}

@media (max-width:500px) {
    .about {
        margin: 25px 25px;
    }

    .about p {
        margin-left: 0px;
        margin-right: 0px;
    }

    .about-facts {
        width: 70vw;
    }
    .rightimg{
        float: none;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* ----------------------------------- Popup form ------------------------------------ */

/* Popup styling */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 62, 80, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #F8F9F9;
    padding: 22px;
    width: 90%;
    max-width: 420px;
    border-radius: 10px;
    border-top: 6px solid #00008B;
}

.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
    color: #00008B;
}

h2 {
    color: #00008B;
    margin-bottom: 10px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 7px 0;
    border-radius: 6px;
    border: 1px solid #BDC3C7;
}

input:focus {
    outline: none;
    border-color: #00008B;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

button {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    background: #00008B;
    color: white;
}

button:hover {
    opacity: 0.9;
}




/*99999999999999999999999999999999999 New Contact form 9999999999999999999999999999999999999*/


.contact-section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

/* INFO GRID */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    min-height: 25vh;
    color: var(--text);
    background-color: var(--bg);
}

.info-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/* FORM + MAP */
.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.form-box h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--accent);
    border-radius: 6px;
}

form button {
    width: 100%;
    padding: 14px;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

form button:hover {
    background: var(--secondary);
}

/* MAP */
.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-main {
        grid-template-columns: 1fr;
    }
}

/* ===== LOAD ANIMATIONS (RUN ONCE) ===== */

.animate-on-load {
  opacity: 0;
  transform: translateY(40px);
  animation-fill-mode: forwards;
}

.animate-heading {
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-form {
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.2s;
}

.animate-map {
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.4s;
}

.animate-card {
  animation: fadeUp 1s ease-out forwards;
}

.card-1 { animation-delay: 0.2s; }
.card-2 { animation-delay: 0.3s; }
.card-3 { animation-delay: 0.4s; }
.card-4 { animation-delay: 0.5s; }
.card-5 { animation-delay: 0.6s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact{
     /* width: 70vw; */
    margin: auto;
    margin-top: 20px;
}
.contact div span {
    display: flex;
    gap: 25px;
}

.contact div span img {
    width: 40px;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.contact div span a :hover {
    width: 50px;
}