:root {
    --color-primary: #0A3D62;        /* Corporate Navy Blue (Logo Theme) */
    --color-accent: #3CC7C1;         /* Fresh Aqua/Teal (Accent) */
    --color-background: #F8F8F8;     /* Very Light Gray for Sections */
    --color-white: #ffffff;          /* Pure White */
    --color-dark: #333333;           /* Dark Gray for Text */
}

body {
    font-family: 'Merriweather', serif; 
    color: var(--color-dark);
    margin: 0;
    padding-top: 70px; /* Space for the fixed nav */
    line-height: 1.7; 
    background: var(--color-white);
}

section { 
    padding: 80px 40px; /* Generous padding */
}

/* ------------------------------------------------------------------------
   HEADER/NAVIGATION (Fixed and Cohesive)
------------------------------------------------------------------------ */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-white);
    padding: 10px 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header .logo-container img {
    max-width: 220px;
    height: auto;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-header nav ul li a {
    text-decoration: none;
    color: var(--color-primary); 
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s;
    position: relative;
}

.main-header nav ul li a:hover {
    color: var(--color-accent);
}

.main-header nav ul li a.active::after,
.main-header nav ul li a:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    position: absolute;
    bottom: -10px;
    left: 0;
}


/* ------------------------------------------------------------------------
   HERO SECTION  */
.hero { 
    position: relative;
    height: 650px;
    display: flex; 
    flex-direction: column;
    justify-content: center;   
    align-items: flex-start; /* Align text left */
    text-align: left;
    background: url('banner.jpeg') no-repeat center center/cover; 
    overflow: hidden;
    padding-left: 100px;
    margin-top: 30px;
}


.hero-content {
    z-index: 2;
    max-width: 800px;
    color: var(--color-black);
    text-align: left;
    padding-left: 30px;
}

.hero-content h1 {
    font-size: 38px;
    font-family: "Libre Bodoni", serif; 
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.2;
    margin-top: -30px;
}

.hero-content p {
    font-size: 25px;
    margin-bottom: 30px;
    max-width: 700px;
    font-weight: 300;
    line-height: 1.5;
}


/* ------------------------------------------------------------------------
   SECTION HEADINGS (Centered & Clean)
------------------------------------------------------------------------ */
.section h3, 
h3 {
    color: var(--color-primary);
    margin-bottom: 20px; 
    font-size: 32px;
    font-family: 'Libre Bodoni', serif;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.section h3::after,
h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ------------------------------------------------------------------------
   ABOUT US (Clean Two-Column Split - Image + Text)
------------------------------------------------------------------------ */
.about-section {
    background: var(--color-white); 
}

.about-main-block {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 60px;
    align-items: center;
}


.about-text-content h4 {
    color: var(--color-accent);
    font-family: 'Libre Bodoni', serif;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: left;
}

.about-text-content p {
    font-size: 17px; 
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.about-image-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ------------------------------------------------------------------------
   Vision / Mission (Modern Grid Layout)
------------------------------------------------------------------------ */

.vm-single-card-container {
  display: flex;
  justify-content: center;
  margin: 56px 0;
  background: linear-gradient(90deg, #eaf5fb 70%, #eaf5fb 100%);
}
.vm-single-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 3px 22px rgba(0,0,0,0.10);
  padding: 44px 14px;
  width: 1100px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vm-card-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 8px; /* smaller gap between vision, image, mission */
  justify-content: space-between;
}
.vm-block {
  background: none;
  padding: 0 10px;
  flex: 1;
  min-width: 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vm-vision, .vm-mission {
  max-width: 500px;
}

.vm-vision{
 max-width: 350px;
}


.vm-image {
  flex: 0 0 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-img {
  width: 295px;
  height: auto;
  border-radius: 12px;
}
.vm-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-heading {
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  margin: 0 10px;
  color: #0A3D62;
  line-height: 1;            /* Ensures height matches icon */
  white-space: nowrap;
  display: inline-block;
  align-items: center;    
  position: relative;   /* Add this as well! */
}

.vm-heading::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: #3CC7C1;
  border-radius: 2px;
  margin: 8px auto 0 auto;
}

.vm-heading-img {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;    /* Extra alignment help */
}

.vm-desc {
  font-size: 1.0rem;
  color: #222;
  margin-top: 20px;
  text-align: center;
}
.vm-list {
  margin: 0; padding-left: 20px;
  color: #333;
  font-size: 0.92rem;
  text-align: left;
}
.vm-list li { margin-bottom: 8px; line-height: 1.5;}
@media (max-width: 900px) {
  .vm-card-row { flex-direction: column; gap: 28px;}
  .vm-image { margin: 10px 0;}
  .vm-single-card { padding: 34px 2vw; width: 99vw; }
  .pillar-img { width: 85px;}
  .vm-block { max-width: 97vw; }
  .vm-heading-row { justify-content: flex-start; }
}


/* ------------------------------------------------------------------------
   WHY US (Modern Grid Layout)
------------------------------------------------------------------------ */
.whyus {
    background: var(--color-background); 
}

.whyus-content {
    max-width: 1200px;
    margin: 40px auto 0;
}

.whyus-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    /* Four column grid for a strong corporate look */
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
}

.whyus-list li {
    background: var(--color-white);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    border-top: 4px solid var(--color-primary); /* Navy bar at top */
    border-radius: 4px;
    transition: all 0.3s;
    text-align: center;
}

.whyus-list li:hover {
    border-top-color: var(--color-accent); /* Aqua hover */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.whyus-list li i {
    font-size: 36px;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.whyus-list li strong {
    font-size: 18px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 10px;
}

/* ------------------------------------------------------------------------
   PRODUCTS (Alternating Simple Blocks - Retained structure)
------------------------------------------------------------------------ */

.products-section {
  background: var(--color-white);
  padding: 30px 40px 30px 20px;
}


/* Minimizes gap specifically between two .products-section sections */
.products-section + .products-section {
  margin-top: -20px; /* pulls the second section up */
}

/* Remove top margin from first .products-section for tighter start (optional) */
.products-section:first-of-type {
  margin-bottom: 0;
}

.products-section h3 {
  color: var(--color-primary);
  margin-bottom: 25px;
  font-size: 2.2rem;
  text-align: center;
}

.product-scroller {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
}

.product-track {
  display: flex;
  gap: 35px;
  align-items: center;
  /* Remove animation! */
  will-change: transform;
}

.product-card {
  background: none;            /* No card background */
  box-shadow: none;            /* No shadow */
  border-radius: 0;            /* No border radius */
  padding: 32px 12px 28px 12px;/* Padding for separation between products */
  display: flex;
  flex-direction: column;
  align-items: center;         /* Centers image and text horizontally */
  justify-content: flex-start;
  min-width: 180px;
  max-width: 220px;
  margin: 0 10px;              /* Horizontal gap between product cards */
}
/*

.product-card {
  background: var(--color-background);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 20px 14px;
  min-width: 280px;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s;
}*/

.product-card img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;

}

.product-card .product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 5px;
}

.product-card:hover img {
  transform: scale(0.92);  /* Shrinks only the image */
}



@media (max-width: 700px) {
  .products-section { 
    padding: 32px 10px; 
  }
  .product-track { 
    gap: 12px; 
  }
  .product-card {
    min-width: 140px;
    max-width: 140px;
    padding: 8px 2px;
  }
  .product-card img {
    width: 100px;
    height: 100px;
  }
}


/* ------------------------------------------------------------------------
   BRANDS (Alternating Simple Blocks - Retained structure)
------------------------------------------------------------------------ */
.brands {
    background: var(--color-white);
}

.brands-list {
    gap: 50px;
    max-width: 1100px;
    margin: 40px auto;
}

.brand-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid #eee; 
    flex-wrap: wrap;
}

.brand-card:nth-child(even) {
    flex-direction: row-reverse; 
}

.brand-card:last-child {
    border-bottom: none;
}

.brand-image {
    flex: 1;
    min-width: 300px;
}

.brand-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

.brand-info {
    flex: 2;
    text-align: left; 
}

.brand-info h4 {
    font-size: 28px;
    font-family: 'Libre Bodoni', serif;
    font-weight: 500;
    color: var(--color-primary); 
    margin-bottom: 15px;
    text-align: left;
}

.brand-card:nth-child(even) .brand-info h4 {
    text-align: right;
}

.brand-info .description {
    font-size: 17px;
    line-height: 1.6;
    text-align: justify; 
    max-width: 600px; 
}

/* ------------------------------------------------------------------------
   ENQUIRY (Simple Form)
------------------------------------------------------------------------ */
#enquiry {
    background: var(--color-background);
}

.enquiry-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.enquiry-form input,
.enquiry-form textarea {
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px; 
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.enquiry-form .form-row {
    display: flex;
    gap: 20px;
}
.enquiry-form .form-row input {
    flex: 1;
}

.enquiry-form button {
    background: var(--color-accent); 
    color: var(--color-white);
    font-weight: bold;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    width: 100%;
}

.enquiry-form button:hover {
    background: var(--color-primary); 
}

/* ------------------------------------------------------------------------
   CONTACT & SOCIAL BAND (Footer)
------------------------------------------------------------------------ */
.footer-section {
    background: var(--color-primary); 
    color: var(--color-white);
    padding: 40px 60px; 
    font-size: 14px;
    line-height: 1.8;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-section h5 {
    color: var(--color-accent);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons a {
    font-size: 24px;
    margin-right: 15px;
    color: var(--color-accent);
}
.social-icons a:hover {
    color: var(--color-white);
}

.copyright-band {
    background: #06273f; /* Darker Navy */
    color: #aaa;
    text-align: center;
    padding: 15px;
    font-size: 13px;
}

/* ------------------------------------------------------------------------
   RESPONSIVE DESIGN 
------------------------------------------------------------------------ */
@media (max-width: 1024px) {
    /* Header Stack */
    .main-header {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }
    .main-header nav ul {
        gap: 15px;
        margin-top: 10px;
    }

    /* Hero */
    .hero {
        padding-left: 40px;
        height: 500px;
    }
    .hero-content h1 {
        font-size: 40px;
    }

    /* About Us Stack */
    .about-main-block {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .about-text-content {
        order: 2; 
    }
    .about-image-content {
        order: 1;
    }
    .about-text-content h4, .about-text-content p {
        text-align: center;
    }

    /* Why Us Stack */
    .whyus-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    /* Products Stack */
    .product-card {
        flex-direction: column !important;
        text-align: center;
    }
    .product-card .product-image {
        order: -1; 
    }
    .product-info h4, .product-info .description {
        text-align: center !important;
    }

    /* Footer Stack */
    .footer-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .social-icons {
        margin-top: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    body { padding-top: 120px; }
    .hero { padding-left: 20px; height: 400px; }
    .hero-content h1 { font-size: 32px; }
    .whyus-list {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}