/* StreamFlow Exims - Modern Clean Stylesheet */
:root {
  --orange: #F15A29;
  --orange-dark: #d94a1c;
  --dark-blue: #0A2540;
  --navy: #0d2b4a;
  --light-blue: #00AEEF;
  --text: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.top-bar {
  background: var(--dark-blue);
  color: white;
  font-size: 14px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: white;
  margin-right: 18px;
}

.top-bar a:hover {
  color: var(--orange);
}

.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 1001;
}

.logo img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--dark-blue);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--orange);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
}

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn-orange {
  background: var(--orange);
  color: white;
}

.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(241,90,41,0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--dark-blue);
  cursor: pointer;
  padding: 8px 12px;
  line-height: 1;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #163a5f 100%);
  color: white;
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../images/logo-main.jpeg') no-repeat center right;
  background-size: contain;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .subtitle {
  display: inline-block;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 34px;
  color: var(--dark-blue);
  font-weight: 700;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 12px auto 0;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-content h3 {
  font-size: 28px;
  color: var(--dark-blue);
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ========== PRODUCTS CATEGORY ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-card .img-wrap {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .content {
  padding: 22px;
  text-align: center;
}

.product-card h3 {
  font-size: 20px;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ========== RICE VARIETIES ========== */
.variety-section {
  margin-bottom: 60px;
}

.variety-section h3 {
  font-size: 24px;
  color: var(--dark-blue);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}

.varieties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.variety-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.variety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.variety-card .img-box {
  height: 180px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.variety-card .img-box img {
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.variety-card .name {
  padding: 16px;
  font-weight: 600;
  font-size: 17px;
  color: var(--dark-blue);
  background: white;
}

/* ========== WHY CHOOSE ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.feature-card {
  background: white;
  padding: 30px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--orange);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(241,90,41,0.1);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}

.feature-card h4 {
  font-size: 18px;
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ========== GALLERY / AMBASSADORS ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10,37,64,0.9));
  color: white;
  padding: 20px 16px 14px;
  font-size: 14px;
  font-weight: 500;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 24px;
  color: var(--dark-blue);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-item .icon {
  width: 46px;
  height: 46px;
  background: rgba(241,90,41,0.1);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-item h5 {
  font-size: 15px;
  color: var(--dark-blue);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-form {
  background: var(--bg-light);
  padding: 36px;
  border-radius: var(--radius);
}

.contact-form h3 {
  font-size: 22px;
  color: var(--dark-blue);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark-blue);
  color: white;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 17px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--orange);
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 80px 24px 40px;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    font-size: 20px;
    padding: 14px 24px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border-radius: 10px;
  }
  .nav a.active::after {
    display: none;
  }
  .nav a.active {
    background: rgba(241,90,41,0.1);
    color: var(--orange);
  }
  .nav .btn-orange {
    margin-top: 12px;
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 16px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .mobile-menu-btn.active {
    color: var(--orange);
  }
  .header .container {
    position: relative;
  }
  .logo {
    z-index: 1001;
  }
  .hero {
    padding: 60px 0 70px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .section {
    padding: 50px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar .container {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-30 { margin-bottom: 30px; }
.bg-light { background: var(--bg-light); }

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  background: #20ba5a;
  color: white;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float i {
  margin-top: 2px;
}

/* ========== UPDATED TOP BAR ========== */
.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}

.top-bar .contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
}

.top-bar .social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}

.top-bar .social-icons a {
  color: white;
  font-size: 22px;
  margin-right: 0;
  transition: all 0.25s ease;
}

.top-bar .social-icons a:hover {
  color: var(--orange);
  transform: scale(1.15);
}

.top-bar .social-icons .fa-whatsapp {
  color: #25D366;
  font-size: 24px;
}

.top-bar .social-icons .fa-whatsapp:hover {
  color: #20ba5a;
}

/* Video Section - Full Width Continuous Autoplay */
.video-section {
  position: relative;
  width: 100%;
  background: #0a2540;
  overflow: hidden;
}

.video-section .video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a2540;
}

.video-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 768px) {
  .video-section .video-container {
    aspect-ratio: 16 / 9;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
  .top-bar .social-icons {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* ========== CERTIFICATIONS ========== */
.certs-section {
  background: #f8fafc;
  padding: 50px 0 40px;
  border-top: 1px solid #e2e8f0;
}
.certs-section .section-title {
  margin-bottom: 32px;
}
.certs-section .section-title h2 {
  font-size: 26px;
  color: var(--dark-blue);
  margin-bottom: 8px;
}
.certs-section .section-title p {
  color: #64748b;
  font-size: 15px;
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.cert-item {
  background: white;
  border-radius: 12px;
  padding: 16px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 160px;
}
.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.cert-item img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}
.cert-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-blue);
  display: block;
}

/* Footer certs strip */
.footer-certs {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px 0 12px;
  text-align: center;
}
.footer-certs h4 {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-certs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  align-items: center;
}
.footer-certs-grid img {
  height: 48px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 6px 10px;
  transition: transform 0.2s;
}
.footer-certs-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cert-item {
    max-width: 140px;
  }
  .footer-certs-grid img {
    height: 40px;
    max-width: 90px;
  }
}

/* Extra small phones */
@media (max-width: 400px) {
  .logo img {
    height: 52px;
    max-width: 140px;
  }
  .top-bar a {
    font-size: 12px;
  }
  .certs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
