/* 
  Punam Dairy Farm - Premium Styles
  font-family: 'Outfit', sans-serif;
  font-family: 'Playfair Display', serif;
*/

:root {
  --primary-green: #2ecc71;
  --dark-green: #27ae60;
  --sky-blue: #87CEEB;
  --bg-gradient: linear-gradient(135deg, #e0f7fa 0%, #e8f5e9 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  color: #1a5c37;
  /* Deep Organic Green */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.btn-primary:hover {
  background: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.6);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark-green);
  border: 2px solid var(--primary-green);
  margin-left: 10px;
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* --- Glassmorphism --- */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.8);
}

/* --- Navigation --- */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a5c37;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary-green);
}

.nav-btn {
  background: var(--primary-green);
  color: white !important;
  padding: 8px 20px;
  border-radius: 30px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1a5c37;
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Fallback gradient if no image */
  background: linear-gradient(to bottom, #87CEEB, #E0F2F1, #FFFFFF);
}

/* Placeholder for Hero BG */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: -50px;
  padding: 0 20px;
}

.sub-tag {
  display: inline-block;
  background: rgba(46, 204, 113, 0.2);
  color: #1a5c37;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-section h1 {
  font-family: 'Outfit', sans-serif;
  /* Cleaner, more readable font */
  font-weight: 700;
  font-size: 3.8rem;
  /* Slightly smaller to fit better */
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0f3d24;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

/* Hero Logo Styles */
/* Hero Visuals */
.hero-visual-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 40px;
}

.cow-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 0 60px rgba(135, 206, 235, 0.6), 0 0 30px rgba(135, 206, 235, 0.4);
  /* Soft premium blue glow */
  overflow: hidden;
  animation: floatVisual 6s ease-in-out infinite;
  background: white;
}

.cow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid white;
  background: white;
  z-index: 5;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: glowPulse 3s infinite ease-in-out;
}

@keyframes floatVisual {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5), 0 0 40px rgba(46, 204, 113, 0.2);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 40px rgba(46, 204, 113, 0.8), 0 0 80px rgba(46, 204, 113, 0.4);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5), 0 0 40px rgba(46, 204, 113, 0.2);
    transform: scale(1);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid #1a5c37;
  border-radius: 13px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #1a5c37;
  border-radius: 50%;
  animation: scrollMouse 1.5s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollMouse {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
}

/* --- Products Section --- */
.products-section {
  padding: 100px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  overflow: hidden;
  text-align: center;
}

.product-img-wrapper {
  height: 250px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
}

.badge {
  background: #e8f5e9;
  color: var(--dark-green);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* --- Features / Why Us --- */
.features-section {
  padding: 100px 0;
  background: linear-gradient(180deg, white 0%, #e0f2f1 100%);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-item {
  flex: 1 1 250px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(46, 204, 113, 0.15);
  /* Soft premium green glow */
  transition: var(--transition);
  border: 1px solid rgba(46, 204, 113, 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 20px 50px rgba(46, 204, 113, 0.3);
  /* Stronger glow */
  border-color: rgba(46, 204, 113, 0.3);
}

.icon-box {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* --- About --- */
.about-section {
  padding: 100px 0;
  background-image: url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&q=80');
  /* Fallback/External placeholder if allowed, otherwise it just won't load and soft gradient shows */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  /* Heavy overlay to make text readable */
}

.about-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.story-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* --- Testimonials --- */
.testimonials-section {
  padding: 100px 0;
  background: white;
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  position: relative;
  text-align: center;
  box-shadow: 0 15px 50px rgba(135, 206, 235, 0.3);
  /* Soft Sky Blue Glow */
  border: 1px solid rgba(135, 206, 235, 0.2);
  transition: box-shadow 0.3s ease;
}

.carousel-container:hover {
  box-shadow: 0 20px 60px rgba(135, 206, 235, 0.5);
}

.carousel-track {
  /* Simple show/hide logic managed by JS */
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.stars {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.quote {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 25px;
}

.customer-name {
  font-weight: 700;
  color: var(--primary-green);
}

.carousel-controls button {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary-green);
  cursor: pointer;
  padding: 0 20px;
  margin-top: 20px;
  transition: transform 0.2s;
}

.carousel-controls button:hover {
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Contact --- */
.contact-section {
  padding: 100px 0;
  background: var(--bg-gradient);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.contact-info {
  flex: 1;
  padding: 50px;
  min-width: 300px;
}

.contact-details {
  margin: 30px 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.detail-item .icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.map-placeholder {
  flex: 1;
  background: #eee;
  min-width: 300px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.map-visual {
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23ddd" width="100" height="100"/><text x="50%" y="50%" text-anchor="middle" dy=".3em" fill="%23aaa">MAP</text></svg>');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Footer --- */
footer {
  background: #0f3d24;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- Floating Button --- */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s;
}

.float-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
}

/* --- Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  /* Add JS hamburger menu logic later if needed or simple hide */
  .hamburger {
    display: flex;
  }

  /* Mobile Menu Open State */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  /* Fix for Hero Images being hidden by Nav */
  .hero-content {
    margin-top: 110px;
    /* Push down further to clear nav */
  }

  .hero-visual-container {
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
  }

  .hero-section {
    height: auto;
    min-height: 100vh;
    padding-bottom: 80px;
    /* Space for wave/scroll */
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .btn {
    width: 80%;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .scroll-indicator {
    bottom: 50px;
    /* Move closer to bottom */
    transform: translateX(-50%) scale(0.8);
    /* Slightly smaller */
  }
}