/* ==========================================================================
   AGROMAR MODERN HYBRID DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --navy: #0B2545;
  --teal: #0D8F78;
  --sage: #37C9A8;
  --amber: #F5A623;
  --sand: #EEF6FF;
  --cream: #F8FBFF;
  --water: #134074;
  --text: #0B1F35;
  --muted: #4A6FA5;
  --white: #ffffff;
  --card-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
  --hover-shadow: 0 10px 30px rgba(11, 37, 69, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--teal);
  transition: var(--transition);
}
a:hover {
  color: var(--sage);
}

/* Utilities */
.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.title-underline {
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin: 15px auto 25px;
}

.title-underline.left {
  margin: 15px 0 25px;
}

/* Glassmorphic Navbar */
#modern-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5vw;
  background: rgba(248, 251, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 37, 69, 0.08);
  transition: var(--transition);
}

#modern-header.scrolled {
  background: rgba(248, 251, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 37, 69, 0.04);
  box-shadow: 0 8px 32px rgba(11, 37, 69, 0.05);
  padding: 8px 5vw;
}

.nav-brand-img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu li.active a {
  color: var(--navy);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1.5px;
  background: var(--teal);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu li.active a::after {
  width: 80%;
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

/* Hero Banners */
.modern-intro-header {
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.modern-intro-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.85) 0%, rgba(19, 64, 116, 0.6) 100%);
  z-index: 1;
}

.modern-intro-header .container {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
}

.modern-intro-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  text-shadow: 0 4px 10px rgba(11, 37, 69, 0.35);
  margin-bottom: 10px;
}

/* Premium Card Layouts */
.modern-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.modern-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 35px 30px;
  border: 1px solid rgba(11, 37, 69, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(13, 143, 120, 0.15);
}

.modern-card-icon {
  font-size: 2.2rem;
  color: var(--teal);
  margin-bottom: 20px;
  display: inline-block;
}

.modern-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 400;
}

.modern-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* White List Badge Card */
.whitelist-badge-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 35px 40px;
  border-left: 5px solid var(--teal);
  margin: 40px 0;
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.15);
}

.whitelist-badge-card h3 {
  color: var(--sage);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whitelist-badge-card p {
  color: var(--sand);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

/* Modern Minimalist Footer */
#modern-footer {
  background: var(--navy);
  color: var(--sand);
  padding: 70px 5vw 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(238, 246, 255, 0.1);
}

.footer-brand img {
  height: 96px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: contain;
}

.footer-brand p {
  color: rgba(238, 246, 255, 0.6);
  max-width: 350px;
  line-height: 1.7;
}

.footer-title {
  color: var(--sage);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(238, 246, 255, 0.65);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(238, 246, 255, 0.7);
}

.footer-contact-list i {
  color: var(--sage);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(238, 246, 255, 0.4);
  font-size: 0.8rem;
}

/* Responsive Grid / Breakpoints */
@media (max-width: 900px) {
  #modern-header {
    padding: 15px 5vw;
  }
  .nav-menu {
    display: none; /* Mobile menu behavior can be added via JS */
  }
  .nav-toggle-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
