/* ==========================================================================
   Header. & Footer. STYLES
   ========================================================================== */


/* Base Styles & Typography */
:root {
  --primary-color: #A0DF4A;
  --secondary-gradient: #ED7970;
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-bg: #1a1a1a;
  --text-dark: #1a1a1a;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #888888;
  --white: #ffffff;
  --border-light: #e5e5e5;
  --shadow: 0 6px 30px rgba(48, 37, 71, 0.085);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 300;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}





/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 60px 0 40px 0;
  
 
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center; /* This centers both left and right sections vertically */
  gap: 4rem;
  min-height: 140px; /* Give it a minimum height to center within */
}

.footer-left {
  flex: 1;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: .2rem;
}

.footer-logo img:first-child {
  height: 100px;
  width: auto;
}

.footer-logo img:last-child {
  height: 20px;
  width: auto;
  align-items: self-start;
}

.footer-right {
  
  
  height: 100%; /* Ensure it takes full height of footer */
}

.footer-nav {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 1rem 2rem;
  font-size: 1rem;
  padding: 10px;
  text-align: left;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  
  color: #FF624D;
}

.footer-nav span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-location {
  font-size: 1rem;
  color:var(--text-secondary);
}

.footer-copyright {
  font-size: 0.95rem;
  color:var(--text-secondary);
  padding: 02rem;
  margin: auto;
  border: 0px solid var(--text-primary);
  border-radius: 6px;
  text-align: center;
  
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}








/* HEADER CSS */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.123);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  height: 75px;
}

.logo-wordmark {
  padding-top: 10px;
  height: 30px;
}

.logo-icon:hover, .logo-wordmark:hover {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 12px;
  padding: 6px;
}

nav ul li a {
  color: #0e0e0e;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 12px;
  border-radius: 36px;
  
  background-color: #ffffff;
  transition: all 0.2s ease-in-out; /* Single transition for all properties */
  font-size: 1.12rem;
}

nav ul li a:hover {
  background-color: #333333; /* Use the actual color value */
  color: #ffffff; /* Optional: change text color for better contrast */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #0e0e0e;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }
  
  nav ul li {
    border-bottom: 1px solid #f0f0f0;
  }
  
  nav ul li:last-child {
    border-bottom: none;
  }
  
  nav ul li a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
  }
  
  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px; /* Reduce padding on mobile */
  }
  
  header {
    padding: 15px 20px;
  }
  
  .logo-icon {
    height: 35px; /* Smaller on mobile */
  }
  
  .logo-wordmark {
    height: 25px; /* Smaller on mobile */
  }
  
  /* Footer mobile fixes */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    min-height: auto; /* Remove fixed height on mobile */
  }
  
  .footer-right {
    align-items: center; /* Center on mobile instead of flex-end */
  }
  
  .footer-logo img:last-child {
    height: 80px; /* Smaller stacked logo on mobile */
  }
}