@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --pale-yellow: #FFF9C4;
  --pale-yellow-light: #FFFDE7;
  --pale-yellow-dark: #FFF59D;
  --accent-gold: #FBC02D;
  --navy: #1A237E;
  --bg-primary: #FAFAFA;
  --bg-secondary: transparent; 
  --bg-card: #FFFFFF;
  --text-primary: #2C3E50;
  --text-secondary: #546E7A;
  --border-color: #FFF59D;
  --accent: #FBC02D; 
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.47059;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header & Glassmorphism Nav */
header {
  background: rgba(255, 249, 196, 0.85); /* Pale yellow glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy); 
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-gold);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

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

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 22px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--navy);
  transition: var(--transition);
}

/* Base Sections */
.section-padding {
  padding: 5rem 2rem;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.btn-primary:hover {
  background-color: #121858;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--pale-yellow-light) 0%, var(--pale-yellow) 100%);
  padding: 6rem 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 4px solid var(--white);
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-wrapper:hover {
  transform: scale(1.02);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Cards (Grid Layout) */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: var(--transition);
  border-top: 4px solid var(--pale-yellow-dark);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-top-color: var(--accent-gold);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.card a.card-link {
  color: var(--navy);
  font-weight: 600;
  margin-top: 1.2rem;
  display: inline-block;
}

.card a.card-link:hover {
  text-decoration: underline;
  color: var(--accent-gold);
}

/* Contact Specific Overhauls */
.contact-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05); 
  border: 1px solid var(--pale-yellow);
  text-align: center;
}

.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--navy);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

@media (max-width: 600px) {
  .contact-details-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.contact-item {
  background: var(--pale-yellow-light);
  padding: 1.5rem;
  border-radius: 12px;
}

.contact-item h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.contact-item p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

/* Map Embed wrapper */
.map-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 4px solid var(--pale-yellow-light);
}

/* About Us - Partners Specific */
.partner-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.partner-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  border-left: 4px solid var(--pale-yellow-dark);
  transition: var(--transition);
}

.partner-row:hover {
  transform: scale(1.01);
  border-left-color: var(--accent-gold);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
  .partner-row {
    flex-direction: row;
    align-items: center;
  }
}

.partner-logo-container {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.partner-img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.partner-content {
  flex: 1;
}

.partner-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.partner-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer Section */
footer {
  background-color: var(--navy);
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #B0BEC5;
  transition: var(--transition);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--pale-yellow);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  /* Typography and Spacing Fixes */
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.05rem;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .section-padding {
    padding: 3.5rem 1rem;
  }
  
  .hero {
    padding: 4rem 1.5rem;
  }
  
  .contact-card h2 {
    font-size: 1.8rem;
  }
  
  .contact-card {
    padding: 2rem 1.2rem;
  }
  
  .partner-row {
    padding: 2rem 1.2rem;
  }

  .partner-content h3 {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-content {
    margin: 0 auto;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    gap: 0;
    flex-direction: column;
    background-color: var(--pale-yellow-light);
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1000;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .nav-links a {
    font-size: 1.5rem;
  }
}
