@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600&display=swap');
/* =========================
   Brand tokens
   ========================= */
   :root {
    --primary-color: #00b4d8; /* Dark Blue */
    --secondary-color: #bde0fe; /* Light Blue */
    --accent-color: #3baf74; /* A professional green */
    --light-color: #f0f8ff; /* Off-white */
    --light-blue:#caf0f8;
    --dark-color: #1a3a5a; /* A darker blue for text */
    --header-height: 80px;
    --panel-pad: min(3vw, 24px);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;           /* ✅ Let the page grow vertically */
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  background-color:#fff;
  color: #000;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Bubble Canvas */
#bubbleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
  }
  

/* =========================
   Navbar
   ========================= */

/* --- Professional Navbar with Curved Boxes --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 105px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(224, 232, 255, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  z-index: 1000;
  box-shadow: 0 2px 30px rgba(59, 130, 246, 0.08);
}

/* --- Logo Section --- */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  margin-top: 2%;
  height: 84px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.karnavati-img, .dairy-img {
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Adjust image heights to match your design */
.karnavati-img {
  max-height: 35px; /* Adjust based on your image */
}

.dairy-img {
  max-height: 40px; /* Adjust based on your image */
}

/* --- Professional Nav Menu with Curved Boxes --- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 14px 28px;
  transition: all 0.3s ease;
  border-radius: 50px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #e0e7ff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

/* Hover Effect */
.nav-link:hover {
  color: white;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
  border-color: #2563eb;
}

/* Active Effect */
.nav-link.active {
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
  border-color: #1d4ed8;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: #2563eb;
  border-radius: 3px;
}

/* --- Improved Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.05);
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: #2563eb;
  transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  border-radius: 1px;
  transform-origin: center;
}

/* Menu Toggle Animation */
.menu-toggle.open {
  transform: rotate(180deg);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
  width: 100%;
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
  width: 100%;
}

/* --- Mobile Styles --- */
@media (max-width: 768px) {
  .navbar {
      height: 95px;
      padding: 0 1.5rem;
  }
  
  .logo-img {
      height: 72px;
  }

  .karnavati-img {
      max-height: 30px;
  }

  .dairy-img {
      max-height: 35px;
  }

  .menu-toggle {
      display: flex;
      width: 30px;
      height: 24px;
      padding: 0;
      border: none;
      background: transparent;
  }

  /* Mobile Menu */
  .nav-menu {
      position: fixed;
      top: 95px;
      right: -100%;
      width: 80%;
      max-width: 320px;
      height: calc(100vh - 95px);
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      flex-direction: column;
      padding: 2.5rem 1rem;
      gap: 1rem;
      transition: all 0.4s ease;
      border-left: 1px solid #e0e7ff;
      box-shadow: -5px 0 30px rgba(37, 99, 235, 0.15);
  }

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

  .nav-link {
      padding: 18px 24px;
      font-size: 1.1rem;
      font-weight: 600;
      width: 100%;
      text-align: center;
      border-radius: 50px;
      background: rgba(255, 255, 255, 0.9);
      border: 1.5px solid #e0e7ff;
      box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
      margin-bottom: 0.5rem;
  }

  .nav-link:hover {
      transform: translateX(5px);
      background: linear-gradient(135deg, #2563eb, #3b82f6);
      color: white;
      box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  }

  .nav-link.active::after {
      display: none;
  }
  
  .nav-link.active {
      background: linear-gradient(135deg, #1d4ed8, #2563eb);
      color: white;
      font-weight: 700;
      box-shadow: 0 6px 25px rgba(37, 99, 235, 0.3);
      transform: translateX(5px);
  }
}

@media (max-width: 480px) {
  .navbar {
      padding: 0 1rem;
  }
  
  .logo-img {
      height: 65px;
  }
  
  .karnavati-img {
      max-height: 28px;
  }

  .dairy-img {
      max-height: 32px;
  }
  
  .nav-menu {
      top: 95px;
      height: calc(100vh - 95px);
      width: 85%;
      padding: 2rem 0.8rem;
  }
  
  .nav-link {
      padding: 16px 20px;
      font-size: 1rem;
  }
  
  .menu-toggle {
      width: 26px;
      height: 20px;
      padding: 0;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* =========================
   Hero Section Styles
   ========================= */
   .hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: clamp(4rem, 6vw, 8rem) 1.25rem;
  }
  
  /* Slides layer (covers hero) */
  .slides {
    position: absolute;
    inset: 0;
  }
  
  .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Adjusted for a dairy theme */
    opacity: 0;
    /* Added translate3d for hardware acceleration to prevent flicker */
    transform: scale(1) translate3d(0, 0, 0); 
    transition: opacity .9s ease, transform 2s ease;
    will-change: opacity, transform;
  }
  
  .slide.active {
    opacity: 1;
    /* Retain translate3d for hardware acceleration */
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  
  /* Content block */
  .hero__content {
    position: relative;
    width: min(1200px, 92vw);
    text-align: center; /* Center content */
  }
  
  /* Gradient WELCOME */
  .gradient-welcome {
    margin: 0 0 .5rem 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .035em;
    line-height: 1;
    font-size: clamp(2.25rem, 6.2vw, 6.75rem);
    /* Dairy-themed gradient */
    background: linear-gradient(90deg, #88c7f2 0%, #ffffff 50%, #f29a4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  /* Brand row keeps heading left, button right */
  .brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .brand {
    margin: .1rem 0 .8rem 0;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: .01em;
    color: #fff;
    font-size: clamp(2rem, 7.3vw, 7rem);
    text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
  }
  
  .sub {
    margin: .25rem 0 2rem 0;
    color: #e9eaee;
    opacity: .95;
    font-size: clamp(1rem, 1.2vw + .35rem, 1.45rem);
  }
  
  /* Single-outline pill CTA */
  .cta {
    --blue: #88c7f2;
    --blue-strong: #2e5a88;
    --bg: #ffffff;
  
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    white-space: nowrap;
  
    padding: clamp(.9rem, 1.2vw, 1.05rem) clamp(1.6rem, 2.2vw, 2rem);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
  
    color: #ffff;
    border: 2px solid var(--secondary-color);
    background: var(--milk-white);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    transition: border-color .25s ease, color .25s ease, background .25s ease, transform .2s ease, box-shadow .25s ease;
  }
  
  .cta::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(0, 0, 0, .05);
    opacity: .6;
  }
  
  .cta .arr {
    transition: transform .25s ease;
    color: #fff;
  }
  
  /* Hover: slightly darker outline + gentle glow */
  .cta:hover,
  .cta:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: white;
    transform: translateY(-1px);
    box-shadow:
      0 10px 34px rgba(0, 0, 0, .45),
      0 0 24px rgba(136, 199, 242, .22);
  }
  
  .cta:hover .arr {
    transform: translate(3px, -3px);
    color: var(--primary-color);
  }
  
  .cta:active {
    transform: translateY(0);
  }
  
  .cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .85);
    outline-offset: 3px;
  }
  
  /* Responsive wrap for small viewports */
  @media (max-width: 720px) {
    .brand-row {
      align-items: flex-start;
    }
    .cta {
      margin-top: .4rem;
    }

    /* FIX: Set hero height to 50vh on small screens to prevent excessive cropping */
    .hero {
      min-height: 50vh;
      padding: 3rem 1.25rem; /* Adjust padding for smaller height */
    }
  }




/*--------------------------------------------------------------------------------------------------------------------------------------*/
/* PRODUCTS SECTION */
.offerings-section{
  background-color: var(--light-bg);
  color: var(--dark-text);
  padding: clamp(2.5rem, 4.5vw, 4rem) 1.5rem;
  text-align:center;
}
.offerings-section small{
  color: var(--primary-color);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight:600; letter-spacing:1px;
}
.offerings-section h2{
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800; line-height:1.2; margin:.25rem 0 0.5rem; text-transform:uppercase;
}

/* Grid */
.offerings-grid{
  display:flex; justify-content:center; flex-wrap:wrap; gap: clamp(1rem, 3vw, 2rem);
  opacity:0; transition: opacity 800ms ease;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}
.offerings-grid.is-visible{ opacity:1; }

/* Items */
.offering-item{
  text-decoration:none; color: var(--dark-text);
  display:flex; flex-direction:column; align-items:center; text-align:center;
  width: min(180px, 36vw);
  transform: translateY(24px);
  transition: transform 900ms cubic-bezier(.2,.56,.2,1);
}
.offering-item.is-visible{ transform: translateY(0); }

.offering-item img{
  width: 100%; height: auto; max-width: 150px;
  filter: drop-shadow(0 6px 14px rgba(16,32,56,.20));
  transition: transform .25s ease;
}
.offering-item:hover img{ transform: scale(1.05) translateY(-6px); }

.offering-item p{
  margin-top: .75rem; font-weight:800; font-size: 1.05rem; letter-spacing:.06em; text-transform:uppercase;
}

/* Stagger delays (kept but animation slower overall) */
.offering-item:nth-child(1){ transition-delay: 120ms; }
.offering-item:nth-child(2){ transition-delay: 240ms; }
.offering-item:nth-child(3){ transition-delay: 360ms; }
.offering-item:nth-child(4){ transition-delay: 480ms; }
.offering-item:nth-child(5){ transition-delay: 600ms; }

/* Mobile */
@media (max-width: 600px){
  .offering-item{ width: 120px; }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/* ====== Number Counter Section ====== */
 /* --- Stats Section Styling --- */
 .stats-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 60px 20px;
  background-color: var(--light-blue);
}

.stat-box {
  background-color: white;
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 40px 30px;
  width: 300px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 40px;
  font-weight: bold;
  color: var(--accent-color);
}

.stat-label {
  font-size: 16px;
  color: var(--accent-color);
  margin-top: 10px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
   /* Adjust gap for slightly smaller screens */
  .stats-section {
      gap: 30px;
  }
}

@media (max-width: 480px) {
  .stat-box {
      width: 100%;
      max-width: 100%;
  }

  .stats-section {
      flex-direction: column;
      gap: 20px;
  }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

.mtl-wrap{
  --bg-a:#123154; --bg-b:#0d2746; --ring:#88c7f2; --ink:#eaf5ff; --muted:#a7c8e6; --chip:#163a62;
  background: radial-gradient(1200px 600px at 70% 10%, rgba(136,199,242,.12), transparent 60%), linear-gradient(180deg,var(--bg-a),var(--bg-b));
  color:var(--ink); padding-top: var(--header-height,80px);
}

.mtl-head{ width:min(1100px,92%); margin-inline:auto; margin-bottom:min(2.5vh,22px); }
.mtl-head .kicker{ margin:0 0 .2rem; font-weight:700; letter-spacing:.3px; opacity:.9; }
.mtl-head .title{ margin:0; font-size:clamp(1.8rem,3.8vw,3rem); font-weight:800; }

/* Desktop stage */
.mtl-stage{ position:relative; width:min(1200px,92%); margin-inline:auto; height:460px; }
.mtl-svg{ position:absolute; inset:0; width:100%; height:100%; }
#focusRing{ filter: drop-shadow(0 0 20px rgba(136,199,242,.35)); }

/* Chips positioned via JS; start near path with floaty look */
.mtl-chip{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%) scale(.88);
  background: color-mix(in oklab, var(--chip) 88%, #000 0%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius:16px; padding:12px 14px; width: clamp(220px, 28vw, 320px);
  box-shadow:0 18px 40px rgba(0,0,0,.28);
  opacity:0; pointer-events:none;
  will-change: transform, opacity;
}
.mtl-chip .year{ font-weight:800; color:#cfe9ff; letter-spacing:.4px; display:block; margin-bottom:.25rem; }
.mtl-chip p{ margin:0; color:var(--ink); opacity:.95; line-height:1.55; }

/* Mobile stepper */
.mtl-mobile{ display:none; list-style:none; width:min(1100px,92%); margin:20px auto 0; padding:0; }
.mtl-mobile li{
  position:relative; background: color-mix(in oklab, var(--chip) 88%, #000 0%);
  border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:16px 18px; margin-bottom:12px;
  box-shadow:0 18px 36px rgba(0,0,0,.22);
}
.mtl-mobile h4{ margin:0 0 .4rem; color:#cfe9ff; }
.mtl-mobile p{ margin:0; color:var(--ink); line-height:1.55; }

/* Breakpoint: switch to mobile */
@media (max-width: 820px){
  .mtl-stage{ display:none; }
  .mtl-mobile{ display:block; }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/


/* Base Layout - Desktop First */
.home-intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: var(--light-color); /* Light background for the section */
  }
  
  .home-intro-text {
    flex: 1;
    min-width: 300px;
  }
  
  .home-intro-text small {
    color: var(--primary-color); /* Deep blue for emphasis */
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  .home-intro-text h2 {
    font-size: 3rem;
    margin: 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color); /* Dark blue for main heading */
  }
  
  .home-intro-text p {
    line-height: 1.7;
    color: #555; /* A softer dark gray for readability */
    font-size: 1.1rem;
  }
  
  .home-intro-text h3 {
    color: var(--primary-color); /* A nice blue for subheadings */
    margin: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  .home-intro-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .home-intro-image img {
    width: 100%;
    height: auto;
    max-width: 550px;
    border-radius: 20px;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.3s ease;
  }
  
  .home-intro-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
  }
  
  /* Company Profile Button - Updated for dairy theme */
  .btn.outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem;
    transition: all 0.3s;
  }
  
  .btn.outline:hover {
    background: var(--primary-color);
    color: var(--light-color); /* White text on hover */
  }
  
  /* Tablet (up to 1024px) */
  @media (max-width: 1024px) {
    .home-intro-content {
      flex-direction: column;
      text-align: center;
      padding: 2rem 1.5rem;
    }
  
    .home-intro-text h2 {
      font-size: 2.5rem;
    }
  
    .home-intro-text p, .home-intro-text h3 {
      font-size: 1rem;
    }
  
    .home-intro-image img {
      max-width: 100%;
    }
  }
  
  /* Mobile (up to 768px) */
  @media (max-width: 768px) {
    .home-intro-text h2 {
      font-size: 2rem;
    }
  
    .home-intro-text p, .home-intro-text h3 {
      font-size: 0.95rem;
    }
  
    .home-intro-content {
      gap: 1.5rem;
      padding: 2rem 1rem;
    }
  
    .home-intro-image img {
      border-radius: 16px;
    }
  }



/*--------------------------------------------------------------------------------------------------------------------------------------*/

.scrolling-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), inset 0 -2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
  }
  
  .scrolling-content {
    display: inline-block;
    animation: scroll-left 40s linear infinite;
  }
  
  .scrolling-item {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 2rem;
    transition: transform 0.3s ease;
  }
  
  .scrolling-item:hover {
    transform: scale(1.05);
    color: #cce5ff;
  }
  
  /* Keyframes for the scrolling animation */
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Optional: Pause animation on hover */
  .scrolling-container:hover .scrolling-content {
    animation-play-state: paused;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .scrolling-item {
      font-size: 1.5rem;
      padding: 0 1.5rem;
    }
  }
/*--------------------------------------------------------------------------------------------------------------------------------------*/

/* Footer Styles - Glass Effect */
.karnavati-footer {
  background: linear-gradient(135deg, rgba(230, 247, 255, 0.9) 0%, rgba(179, 224, 255, 0.9) 50%, rgba(128, 201, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
  color: #333;
  padding: 30px 0 15px;
  position: relative;
  width: 100%;
  font-family: sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.karnavati-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgb(148, 48, 135), rgb(48, 130, 184), rgb(148, 48, 135));
}

.karnavati-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .karnavati-footer-container {
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
  }
}

/* Logo Section - UPDATED: Perfect horizontal alignment */
.karnavati-footer-brand {
  position: relative;
}

.karnavati-logo-section {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.karnavati-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* UPDATED: Perfect horizontal alignment for all 3 elements */
.karnavati-brand-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.karnavati-brand-main-line {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.karnavati-brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: Arial, sans-serif;
}

.karnavati-brand-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.karnavati-brand-subtitle {
  font-size: 2.2rem;
  font-weight: 600;
  color: #555;
  line-height: 1;
}

/* If you're using images instead of text, use this: */
.karnavati-logo-images {
  display: flex;
  align-items: center;
  gap: 10px;
}

.karnavati-img, .dairy-img {
  height: 50px; /* Same height for both */
  width: auto;
  object-fit: contain;
  display: block;
}

.dairy-img{
  margin-top: 5px;
}

/* Office Info */
.karnavati-office {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: rgb(48, 130, 184);
  font-weight: 700;
}

.karnavati-address {
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.4);
  padding: 12px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Inquiry Sections - UPDATED phone size */
.karnavati-inquiry-section {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.4);
  padding: 15px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.karnavati-inquiry-heading {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: rgb(48, 130, 184);
  font-weight: 700;
}

.karnavati-contact-details {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
}

.karnavati-contact-item {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.karnavati-contact-item:hover {
  transform: translateX(5px);
}

.karnavati-contact-item a {
  color: #444;
  text-decoration: none;
  transition: color 0.3s ease;
}

.karnavati-contact-item a:hover {
  color: rgb(148, 48, 135);
}

/* UPDATED: Increased phone number size */
.karnavati-phone {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #2c5530 !important;
}

/* Icons */
.karnavati-icon-small {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  color: rgb(48, 130, 184);
}

/* Quick Links Section - Clean & Professional */
.karnavati-footer-links-column {
  position: relative;
}

.karnavati-footer-heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: rgb(48, 130, 184);
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.karnavati-footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgb(148, 48, 135), rgb(48, 130, 184));
  border-radius: 2px;
}

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

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

.karnavati-footer-links a {
  color: #444;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

/* Professional hover effect - only color change */
.karnavati-footer-links a:hover {
  color: rgb(148, 48, 135);
  padding-left: 8px;
}

.karnavati-footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: rgb(148, 48, 135);
  transition: width 0.3s ease;
}

.karnavati-footer-links a:hover::before {
  width: 4px;
}

/* Social Media Section */
.karnavati-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.karnavati-social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: #333;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.karnavati-social-icons a:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Individual social media colors */
.karnavati-social-icons a.karnavati-facebook:hover {
  background-color: #3b5998;
  color: white;
}

.karnavati-social-icons a.karnavati-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.karnavati-social-icons a.karnavati-twitter:hover {
  background-color: #1da1f2;
  color: white;
}

.karnavati-social-icons a.karnavati-linkedin:hover {
  background-color: #0077b5;
  color: white;
}

/* Footer Bottom */
.karnavati-footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(48, 130, 184, 0.3);
  text-align: center;
  color: #555;
  font-size: 0.9rem;
  width: 100%;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .karnavati-footer {
      padding: 25px 0 15px;
  }
  
  .karnavati-footer-container {
      gap: 25px;
      padding: 0 15px;
      text-align: left;
  }
  
  .karnavati-logo-section {
      flex-direction: row;
      gap: 12px;
  }
  
  .karnavati-brand-name,
  .karnavati-brand-subtitle {
      font-size: 1.8rem;
  }
  
  .karnavati-img, .dairy-img {
      height: 40px;
  }
  
  .karnavati-logo-img {
      width: 70px;
      height: 70px;
  }
  
  .dairy-img{
    margin-top: 4px;
  }
  .karnavati-phone {
      font-size: 1.2rem !important;
  }
  
  .karnavati-social-icons {
      justify-content: flex-start;
  }
  
  .karnavati-footer-links-column {
      text-align: left;
  }
  
  .karnavati-footer-heading::after {
      left: 0;
      transform: none;
  }
  
  .karnavati-footer-bottom {
      margin: 25px auto 0;
      padding: 15px 15px 0;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .karnavati-logo-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
  
  .karnavati-brand-name,
  .karnavati-brand-subtitle {
      font-size: 1.6rem;
  }
  
  .karnavati-img, .dairy-img {
      height: 35px;
  }
  
  .karnavati-logo-img {
      width: 60px;
      height: 60px;
  }
  
  .karnavati-phone {
      font-size: 1.1rem !important;
  }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------*/
/* product.html */

.primeHeroSection {
  height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1517483000871-1dbf64a6e1c6?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nnx8Ymx1ZSUyMGFuZCUyMHdoaXRlfGVufDB8fDB8fHww');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.heroContentWrapper {
  max-width: 800px;
}

.mainHeroHeading {
  font-size: 4rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.heroDescriptionText {
  font-size: 1.4rem;
  color: #2d4a72;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.primaryActionBtn {
  display: inline-block;
  background: #1e3a5f;
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #1e3a5f;
}

.primaryActionBtn:hover {
  background: #2d4a72;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

/* Mobile Responsiveness */
/* Mobile Responsiveness */
@media (max-width: 768px) {
  .primeHeroSection {
      height: 50vh; /* Changed from 100vh to 50vh on mobile */
  }
  
  .mainHeroHeading {
      font-size: 3rem;
  }
  
  .heroDescriptionText {
      font-size: 1.2rem;
      margin-bottom: 2rem;
  }
  
  .primaryActionBtn {
      padding: 1rem 2.5rem;
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .mainHeroHeading {
      font-size: 2.2rem;
  }
  
  .heroDescriptionText {
      font-size: 1.1rem;
      margin-bottom: 1.8rem;
  }
  
  .primaryActionBtn {
      padding: 0.9rem 2rem;
  }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------*/
/* About.html */

/* =========================
   About Us Hero Section Styling
   ========================= */
   .about-us-hero {
    background: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-us-hero__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-us-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.about-us-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: "Playfair Display", serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.about-us-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #fff;
    line-height: 1.6;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* =========================
   About Dairy Journey 
   ========================= */
   .cards-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cards-section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1565c0;
    margin-bottom: 15px;
}

.cards-section-subtitle {
    font-size: 1.3rem;
    color: #455a64;
    line-height: 1.6;
}

.cards-3d-container {
    perspective: 1500px;
    width: 100%;
    height: 600px;
    position: relative;
    overflow: visible;
}

.cards-3d-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3dCards 30s linear infinite;
}

.card-3d {
    position: absolute;
    width: 320px;
    height: 420px;
    left: 50%;
    top: 50%;
    margin-left: -160px;
    margin-top: -210px;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.card-3d-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-3d-front {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
}

.card-3d-back {
    background: rgba(33, 150, 243, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-3d-image {
    height: 240px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.card-3d-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-3d-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-3d-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 10px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(25, 118, 210, 0.1);
    border-radius: 15px;
    align-self: flex-start;
}

.card-3d-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1565c0;
    text-align: left;
}

.card-3d-description {
    color: #455a64;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
    flex: 1;
}

.back-3d-image {
    width: 90%;
    height: 90%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.back-3d-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-3d-1 { transform: rotateY(0deg) translateZ(500px); }
.card-3d-2 { transform: rotateY(72deg) translateZ(500px); }
.card-3d-3 { transform: rotateY(144deg) translateZ(500px); }
.card-3d-4 { transform: rotateY(216deg) translateZ(500px); }
.card-3d-5 { transform: rotateY(288deg) translateZ(500px); }

@keyframes rotate3dCards {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.cards-3d-wrapper.paused {
    animation-play-state: paused;
}

.card-3d.active-3d {
    transform: translateZ(600px) !important;
    z-index: 100;
}

/* Laptop */
@media (max-width: 1200px) {
    .cards-3d-container {
        height: 500px;
    }
    
    .card-3d {
        width: 280px;
        height: 380px;
        margin-left: -140px;
        margin-top: -190px;
    }
    
    .card-3d-1 { transform: rotateY(0deg) translateZ(400px); }
    .card-3d-2 { transform: rotateY(72deg) translateZ(400px); }
    .card-3d-3 { transform: rotateY(144deg) translateZ(400px); }
    .card-3d-4 { transform: rotateY(216deg) translateZ(400px); }
    .card-3d-5 { transform: rotateY(288deg) translateZ(400px); }
    
    .card-3d.active-3d {
        transform: translateZ(500px) !important;
    }
    
    .card-3d-image {
        height: 200px;
    }

    .cards-section-title {
        font-size: 3rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .cards-3d-container {
        height: 450px;
    }
    
    .card-3d {
        width: 240px;
        height: 340px;
        margin-left: -120px;
        margin-top: -170px;
    }
    
    .card-3d-1 { transform: rotateY(0deg) translateZ(300px); }
    .card-3d-2 { transform: rotateY(72deg) translateZ(300px); }
    .card-3d-3 { transform: rotateY(144deg) translateZ(300px); }
    .card-3d-4 { transform: rotateY(216deg) translateZ(300px); }
    .card-3d-5 { transform: rotateY(288deg) translateZ(300px); }
    
    .card-3d.active-3d {
        transform: translateZ(400px) !important;
    }
    
    .card-3d-image {
        height: 180px;
    }
    
    .card-3d-content {
        padding: 20px;
    }

    .card-3d-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .card-3d-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .cards-section-title {
        font-size: 2.5rem;
    }

    .cards-section-subtitle {
        font-size: 1.1rem;
    }
}

/* Phone */
@media (max-width: 576px) {
    .cards-3d-container {
        height: 420px;
    }
    
    .card-3d {
        width: 220px;
        height: 320px;
        margin-left: -110px;
        margin-top: -160px;
    }
    
    .card-3d-1 { transform: rotateY(0deg) translateZ(200px); }
    .card-3d-2 { transform: rotateY(72deg) translateZ(200px); }
    .card-3d-3 { transform: rotateY(144deg) translateZ(200px); }
    .card-3d-4 { transform: rotateY(216deg) translateZ(200px); }
    .card-3d-5 { transform: rotateY(288deg) translateZ(200px); }
    
    .card-3d.active-3d {
        transform: translateZ(280px) !important;
    }
    
    .card-3d-image {
        height: 150px;
    }
    
    .card-3d-content {
        padding: 18px;
    }
    
    .card-3d-year {
        font-size: 0.8rem;
        margin-bottom: 8px;
        padding: 3px 10px;
    }
    
    .card-3d-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .card-3d-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .cards-section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .cards-section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Small Phone */
@media (max-width: 400px) {
    .cards-3d-container {
        height: 400px;
    }
    
    .card-3d {
        width: 200px;
        height: 300px;
        margin-left: -100px;
        margin-top: -150px;
    }
    
    .card-3d-image {
        height: 140px;
    }
    
    .card-3d-content {
        padding: 16px;
    }
    
    .card-3d-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .card-3d-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

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

    .cards-section-subtitle {
        font-size: 0.95rem;
    }
}
/* =========================
   About Content Section Styling
   ========================= */
.about-content {
    padding: 5rem 1rem;
    background: #ffffff;
}

.about-content__container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1a365d;
    text-align: center;
    margin-bottom: 4rem;
    font-family: "Playfair Display", serif;
    position: relative;
}

.about-content__title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #88c7f2, #2a6f98);
    border-radius: 2px;
}

/* Content Grid */
.about-content__grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: center;
    }
}

/* Image Section */
.about-content__image-section {
    order: 1;
}

.about-image__wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(42, 111, 152, 0.15);
    transition: all 0.3s ease;
}

.about-image__wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(42, 111, 152, 0.2);
}

.about-image__main {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image__wrapper:hover .about-image__main {
    transform: scale(1.05);
}

.about-image__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(136, 199, 242, 0.1) 0%, rgba(42, 111, 152, 0.05) 100%);
    pointer-events: none;
}

/* Text Content Section */
.about-content__text-section {
    order: 2;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .about-content__text-section {
        order: unset;
        padding: 0;
    }
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f29a4a, #e67e22);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(242, 154, 74, 0.3);
}

.achievement-badge__icon {
    font-size: 1.2rem;
}

.achievement-badge__text {
    font-weight: 500;
}

.about-content__heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: "Playfair Display", serif;
}

.about-content__description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.quality-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quality-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.quality-feature__marker {
    width: 8px;
    height: 8px;
    background: #88c7f2;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.quality-feature__content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 4px;
}

.quality-feature__content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.about-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2a6f98, #1a365d);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(42, 111, 152, 0.3);
    border: none;
    cursor: pointer;
}

.about-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(42, 111, 152, 0.4);
    background: linear-gradient(135deg, #1a365d, #2a6f98);
}


/* =========================
   About Content Section Styling
   ========================= */
   #timeline-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #2d3748;
    padding: 100px 20px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

#timeline-header {
    text-align: center;
    margin-bottom: 100px;
}

#timeline-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

#timeline-subtitle {
    font-size: 1.4rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
}

/* Timeline */
#timeline-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

#timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: rgba(45, 55, 72, 0.15);
    transform: translateX(-50%);
    border-radius: 3px;
}

#timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, #667eea, #764ba2, #d53f8c);
    transform: translateX(-50%);
    border-radius: 3px;
    height: 0%;
    transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 120px;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 20;
    box-shadow: 0 0 0 12px rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid white;
}

.timeline-item.visible .timeline-dot {
    box-shadow: 0 0 0 12px rgba(102, 126, 234, 0.3), 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateX(-50%) scale(1.1);
}

.timeline-content {
    background: white;
    border-radius: 24px;
    padding: 45px;
    width: calc(45% - 60px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #764ba2;
    margin-bottom: 20px;
    display: inline-block;
    padding: 10px 25px;
    background: rgba(118, 75, 162, 0.1);
    border-radius: 30px;
    border: 2px solid rgba(118, 75, 162, 0.2);
    letter-spacing: 0.5px;
}

.item-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #2d3748;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.item-description {
    color: #4a5568;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.timeline-image {
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
    height: 260px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-content:hover .timeline-image::before {
    opacity: 1;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.08);
}

.dairy-highlight {
    color: #d53f8c;
    font-weight: 700;
    background: rgba(213, 63, 140, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(213, 63, 140, 0.2);
}

.location-list {
    margin-top: 20px;
    padding-left: 28px;
}

.location-list li {
    margin-bottom: 10px;
    color: #4a5568;
    position: relative;
    font-size: 1.15rem;
    line-height: 1.6;
}

.location-list li::before {
    content: "▸";
    color: #764ba2;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .timeline-content {
        width: calc(50% - 70px);
        padding: 40px;
    }
    
    #timeline-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    #timeline-section {
        padding: 80px 20px;
    }
    
    #timeline-wrapper::before {
        left: 40px;
    }
    
    #timeline-progress {
        left: 40px;
    }
    
    .timeline-dot {
        left: 40px;
        width: 36px;
        height: 36px;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px !important;
        padding: 35px;
    }
    
    #timeline-title {
        font-size: 2.5rem;
    }
    
    #timeline-subtitle {
        font-size: 1.2rem;
    }
    
    .timeline-image {
        height: 220px;
    }
    
    .item-title {
        font-size: 1.8rem;
    }
    
    .item-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    #timeline-section {
        padding: 60px 15px;
    }
    
    .timeline-content {
        padding: 30px;
        margin-left: 80px !important;
        width: calc(100% - 80px);
    }
    
    .item-title {
        font-size: 1.6rem;
    }
    
    .item-description {
        font-size: 1.05rem;
    }
    
    #timeline-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    #timeline-subtitle {
        font-size: 1.1rem;
    }
    
    .timeline-image {
        height: 200px;
        margin-top: 25px;
    }
    
    .timeline-dot {
        left: 30px;
        width: 32px;
        height: 32px;
    }
    
    #timeline-wrapper::before {
        left: 30px;
    }
    
    #timeline-progress {
        left: 30px;
    }
    
    .year {
        font-size: 1.1rem;
        padding: 8px 20px;
    }
    
    .timeline-item {
        margin-bottom: 100px;
    }
}

@media (max-width: 400px) {
    .timeline-content {
        padding: 25px;
        margin-left: 70px !important;
        width: calc(100% - 70px);
    }
    
    .timeline-dot {
        left: 25px;
        width: 28px;
        height: 28px;
    }
    
    #timeline-wrapper::before {
        left: 25px;
    }
    
    #timeline-progress {
        left: 25px;
    }
    
    .item-title {
        font-size: 1.4rem;
    }
}


/* =======================================
   Mission and Vision Section Styling
   ======================================= */
   .mission-vision {
    /* Uses the off-white background defined in the root variables */
    background-color: var(--light-color); 
    padding: 6rem 2rem;
}

.mission-vision__container {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-vision__grid {
    display: grid;
    /* Two equal columns on desktop */
    grid-template-columns: 1fr 1fr; 
    gap: 2rem;
}

/* Responsive adjustment for tablets/mobile */
@media (max-width: 768px) {
    .mission-vision__grid {
        /* Single column on smaller screens */
        grid-template-columns: 1fr; 
    }
}

.mission-card, .vision-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Subtle hover effect for better interaction */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    text-align: center;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon, .vision-icon {
    font-size: 3.5rem; 
    color: var(--primary-color); /* Uses the Dark Blue color for icons */
    margin-bottom: 1.5rem;
    display: block;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color); /* Uses the Darker Blue color for headings */
    margin-bottom: 1rem;
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    color: #4b5563; /* A standard gray for body text */
    line-height: 1.6;
}

/* =========================
   Mobile Responsive
   ========================= */
@media (max-width: 767px) {
    .about-us-hero {
        min-height: 60vh;
    }
    
    .about-content {
        padding: 3rem 1rem;
    }
    
    .about-content__grid {
        gap: 2rem;
    }
    
    .about-image__main {
        height: 350px;
    }
    
    .about-content__text-section {
        text-align: center;
    }
    
    .quality-feature {
        text-align: left;
    }
    
    .mission-vision {
        padding: 3rem 1rem;
    }
    
    .mission-card, .vision-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-us-hero {
        min-height: 50vh;
    }
    
    .about-us-hero__title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .about-us-hero__subtitle {
        font-size: 1rem;
    }
    
    .about-image__main {
        height: 280px;
    }
    
    .about-cta__button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .achievement-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}


/*--------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------*/
/* Contact.html */

/* =========================
   Contact Us Hero Section Styling
   ========================= */
   .contact-hero {
    background:  url('images/contact_hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 1rem;
    text-align: center;
}

.contact-hero__content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: "Playfair Display", serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #ffffff;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero__breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    color: #e3f2fd;
    font-size: 0.9rem;
}

.contact-hero__breadcrumb a {
    color: #e3f2fd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-hero__breadcrumb a:hover {
    color: #ffffff;
}

.contact-hero__breadcrumb span {
    color: #88c7f2;
}

/* =========================
   Mobile Responsive
   ========================= */
@media (max-width: 767px) {
    .contact-hero {
        min-height: 50vh;
        padding: 3rem 1rem;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 40vh;
        padding: 2rem 1rem;
    }
    
    .contact-hero__title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-hero__subtitle {
        font-size: 1rem;
    }
    
    .contact-hero__breadcrumb {
        font-size: 0.8rem;
    }
}


/* Contact form section */
.contact-form-section{ background: linear-gradient(180deg, var(--secondary), var(--light)); color: var(--dark); padding: clamp(28px, 6vw, 64px) 16px; }
.cf-inner{ width:min(1100px,92%); margin:0 auto; }
.cf-head{ text-align:center; margin-bottom: clamp(18px, 4vw, 28px); }
.cf-head h2{ margin:0; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight:900; }
.cf-head p{ margin:.4rem 0 0; color: var(--muted); }

#kd-form{ background:#fff; border:1px solid #e6eef8; border-radius:18px; box-shadow:var(--shadow); padding: clamp(16px, 3.2vw, 24px); }
.cf-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: clamp(12px,2.4vw,18px); }
.cf-field{ display:grid; gap:.4rem; }
.cf-field--full{ grid-column:1 / -1; }
.cf-field span{ font-weight:800; color: var(--ink); }

.cf-field input, .cf-field textarea{
  width:100%; padding:.85rem 1rem; border-radius:14px; border:1px solid #dfe9f6;
  font: inherit; color: var(--ink); background:#fbfdff; outline:none;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}
.cf-field input:focus, .cf-field textarea:focus{
  border-color: var(--ring); box-shadow:0 0 0 4px rgba(102,217,244,.22); background:#fff;
}
.cf-error{ min-height:1em; color:#b00020; font-size:.85rem; }

.cf-check{ display:flex; align-items:center; gap:.6rem; }
.cf-check input{ width:18px; height:18px; }

.cf-actions{ display:flex; gap:.8rem; flex-wrap:wrap; margin-top:.6rem; }
.btn-primary{ padding:.9rem 1.1rem; border-radius:14px; border:none; cursor:pointer; font-weight:800; color:#033a4e; background:linear-gradient(180deg,#a8e8ff,#66d9f4); box-shadow:var(--shadow); }
.btn-ghost{ padding:.9rem 1.1rem; border-radius:14px; border:1px solid #e6eef8; cursor:pointer; font-weight:800; color:#033a4e; background:#fff; box-shadow:var(--shadow); }
.cf-note{ margin:.6rem 0 0; color: var(--muted); font-size:.95rem; }

/* Map */
.map-section{ background:#fff; color:var(--dark); padding: clamp(24px, 5.2vw, 56px) 16px; border-top:1px solid #edf3fb; }
.map-inner{ width:min(1100px,92%); margin:0 auto; }
.map-head{ text-align:center; margin-bottom: clamp(14px,3vw,22px); }
.map-head h2{ margin:0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight:900; }
.map-head p{ margin:.4rem 0 0; color: var(--muted); }

.map-link{ text-decoration:none; color:inherit; display:block; }
.map-frame{ position:relative; border-radius:18px; overflow:hidden; box-shadow:var(--shadow); border:1px solid #e6eef8; background:#f7fbff; }
.map-frame iframe{ display:block; width:100%; height: clamp(280px, 56vw, 420px); border:0; }
.map-overlay{
  position:absolute; right:12px; bottom:12px; padding:.5rem .8rem; border-radius:12px;
  background:#fff; border:1px solid #e6eef8; box-shadow:var(--shadow); font-weight:800; color:#033a4e;
}

/* Responsive */
@media (max-width:760px){ .cf-grid{ grid-template-columns: 1fr; } }


