/* ==========================================================================
   Gatco Agro Feeds - Premium Design System Stylesheet
   ========================================================================== */

/* Custom Reset & Base Setup */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px; /* Matches navbar height for anchor scrolls */
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary-red);
}

/* Custom Variables */
:root {
  --primary-red: #c81d25;       /* Rich vibrant brand red */
  --accent-orange: #f9a825;       /* Bright brand gold/amber */
  --accent-orange-hover: #f57f17; /* Darker gold for hovers */
  --secondary-red: #4a121a;     /* Deep burgundy/maroon for dark text/elements */
  --bg-warm: #faf9f6;             /* Warm soft cream/ivory background */
  --bg-alt: #f3f2ec;              /* Alternate slightly darker beige-grey background */
  --card-bg: #ffffff;
  --text-dark: #251c1d;           /* Very dark slate for text readability */
  --text-muted: #68595a;          /* Softer warm-grey for body text */
  --border-light: rgba(200, 29, 37, 0.12);
  --wa-green: #25D366;            /* Official WhatsApp Green */
  --wa-green-hover: #128C7E;
  
  /* Shadows & Radius */
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 16px 40px rgba(74, 18, 26, 0.05);
  --shadow-lg: 0 24px 60px rgba(74, 18, 26, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 50px;
  
  /* Animation timings */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
}

/* Global Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: clamp(4rem, 8vh, 7rem) 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.sub-title {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-orange));
  margin: 12px auto 0;
  border-radius: var(--radius-pill);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: white;
  box-shadow: 0 8px 20px rgba(244, 140, 6, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(244, 140, 6, 0.35);
}

.btn-whatsapp {
  background-color: var(--wa-green);
  color: white;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: var(--wa-green-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}

.navbar.hide {
  transform: translateY(-100%);
}

.logo-container .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text h1 span {
  color: var(--accent-orange);
}

.logo-text .tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-call {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-call:hover {
  background-color: var(--primary-red);
  color: white !important;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-red);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Offset fixed nav */
  background: url('images/hero_livestock_feeding.jpg') center/cover no-repeat;
  background-attachment: scroll;
}

/* Fallback for when background is loading */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--secondary-red);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 18, 26, 0.85) 0%, rgba(37, 28, 29, 0.4) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

.hero-card {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.hero-card .badge {
  display: inline-block;
  background-color: var(--accent-orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 10px rgba(244, 140, 6, 0.3);
}

.hero-card h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-card p {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 450;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content .lead {
  font-size: 1.2rem;
  color: var(--secondary-red);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.vision-mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.vm-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(53, 139, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.vm-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.vm-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.about-image-container {
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--secondary-red);
  color: white;
  padding: 1.2rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.experience-badge .exp-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

.experience-badge .exp-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* ==========================================================================
   Products Section
   ========================================================================== */

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background-color: white;
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.filter-btn.active {
  background-color: var(--secondary-red);
  color: white;
  border-color: var(--secondary-red);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(53, 139, 58, 0.25);
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-card-img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(26, 67, 30, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.product-card-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

.btn-wa-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--wa-green);
  color: white;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.btn-wa-card:hover {
  background-color: var(--wa-green-hover);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background-color: white;
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(244, 140, 6, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.6rem;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Core Values Corporate sub-section */
.values-sub-section {
  border-top: 1px solid var(--border-light);
  padding-top: 3.5rem;
  margin-top: 2rem;
  text-align: center;
}

.subsection-title {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.value-item {
  background-color: rgba(53, 139, 58, 0.05);
  border: 1px dashed var(--primary-red);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
}

.value-item .value-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary-red);
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-item .value-name i {
  color: var(--accent-orange);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border-left: 6px solid var(--accent-orange);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  color: var(--accent-orange);
  opacity: 0.15;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.farmer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.farmer-meta h4 {
  font-size: 1rem;
  color: var(--secondary-red);
}

.farmer-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.team-note {
  background-color: rgba(26, 67, 30, 0.05);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
}

.team-note-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
}

.team-note p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-dark);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(244, 140, 6, 0.08);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item .info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-item .info p,
.contact-item .info a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.contact-item .info a:hover {
  color: var(--primary-red);
}

.map-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-map {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.btn-map {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-red);
  color: white !important;
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-map:hover {
  background-color: var(--accent-orange);
}

/* Contact Form */
.contact-form-container {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form-container h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.contact-form-container p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-family: inherit;
  font-size: 0.92rem;
  background-color: var(--bg-warm);
  border: 1px solid #dddccb;
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.form-group textarea {
  border-radius: var(--radius-md);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(53, 139, 58, 0.08);
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-red);
  color: white;
  box-shadow: 0 6px 15px rgba(53, 139, 58, 0.2);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background-color: var(--secondary-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(53, 139, 58, 0.3);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
footer {
  background-color: #172a19;
  color: #e2e8e3;
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer-brand .footer-logo img {
  height: 44px;
  width: auto;
}

.footer-brand .footer-logo h2 {
  color: white;
  font-size: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--accent-orange);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contacts h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  position: relative;
}

.footer-links h3::after,
.footer-contacts h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-orange);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links ul li a {
  color: #c4d0c6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-contacts p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #c4d0c6;
}

.footer-contacts p i {
  color: var(--accent-orange);
  margin-top: 3px;
}

.footer-bottom {
  background-color: #0f1c10;
  padding: 1.8rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.6;
}

/* Floating WhatsApp Badge */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--wa-green);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.floating-wa:hover {
  transform: scale(1.1) rotate(8deg);
  background-color: var(--wa-green-hover);
}

/* ==========================================================================
   Animations & Reveal Classes
   ========================================================================== */
.reveal-fade,
.reveal-slide-up,
.reveal-slide-left,
.reveal-slide-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-up {
  transform: translateY(40px);
}

.reveal-slide-left {
  transform: translateX(-40px);
}

.reveal-slide-right {
  transform: translateX(40px);
}

.active-reveal {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-container {
    max-width: 550px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .navbar {
    padding: 0.8rem 1.5rem;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-warm);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .btn-call {
    width: 100%;
    justify-content: center;
  }
  .hero {
    min-height: 80vh;
    padding-top: 80px;
  }
  .hero-card {
    padding: 2rem;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .vision-mission-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none; /* Hide tagline/branding detail on small mobile to save space */
  }
  .experience-badge {
    left: 10px;
    bottom: -15px;
  }
  .testimonial-card {
    padding: 1.8rem;
  }
}
