/* ================= ROOT VARIABLES ================= */
:root {
  --primary: #035e58;
  --primary-dark: #023f3b;
  --text-dark: #0c193e;
  --bg-light: #f7fbfb;

  --font-title: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 24px;
  --transition: all 0.4s ease;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%; /* Ensure body takes up the full viewport height */
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ================= HEADER ================= */
.site-header {
  padding: 20px 0;
  position: relative;
  z-index: 1000;
  left: 10px; 
  
}

.header-logo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}

.subtitle-small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.logo a {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;

}

.desktop-nav a {
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 12px 15px;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}
.btn {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}
.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-dark);
}

/* ================= Hamburger nav bar  ================= */
/* Hamburger Menu */
.hamburger-menu {
  display: none;  /* Hide by default */
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  position: fixed;  /* Fixed positioning to keep it on the screen */
  top: 20px;        /* Adjust the top position */
  left: 20px;       /* Position the hamburger menu on the left side */
   
  position: fixed;
  z-index: 3000;/* Ensure it stays on top */
}

.hamburger-menu .bar {
  width: 30px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
}

/* Show Hamburger Menu on Mobile (max-width: 991px) */
@media (max-width: 991px) {
  .hamburger-menu {
    display: flex;  /* Make it visible on mobile */
  }

  .desktop-nav {
    display: none;  /* Hide desktop nav on mobile */
  }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;  /* Fixed position */
  top: 0;
  left: 0;
  width: 200px;  /* Adjust the width of the mobile nav */
  height: 49%;  /* Full height */
  background: var(--bg-light);  /* Adjust background color */
  z-index: 999;  /* Ensure it's behind the hamburger */
  transform: translateX(-100%);  /* Initially off-screen */
  transition: transform 0.3s ease-in-out;
  
  /* Flex for vertical stacking */
  display: flex;          /* Use flexbox */
  flex-direction: column; /* Stack links vertically */
  align-items: flex-start; /* Align to the left */
  padding-top: 40px;      /* Add padding to the top */


  /* Curved border on the right side */
  border-top-left-radius: 20px;   /* Rounded top-left corner */
  border-bottom-left-radius: 20px; /* Rounded bottom-left corner */
  border-top-right-radius: 80px;  /* Curved top-right corner */
  border-bottom-right-radius: 80px; /* Curved bottom-right corner */

}

/* Active state to show the mobile navigation */
.mobile-nav.active {
  transform: translateX(0);  /* Slide in from the left */
}

/* Style for navigation links */
.mobile-nav a {
  padding: 12px 20px;  /* Add padding to make the links easier to click */
  text-align: left;     /* Align the text to the left */
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  width: 100%;          /* Make the links take up the full width */
   /* border-bottom: 1px solid var(--text-dark);  Optional: Add a border between links */
}

/* Hover effect for links */
.mobile-nav a:hover {
  background-color: var(--primary);  /* Change background color on hover */
  color: #fff;        /* Change text color on hover */
}


/* ================= HERO BANNER ================= */
.hero-banner {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  aspect-ratio: 3 / 1;
  background: url("../images/slp-banner.jpg") center / cover no-repeat;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

/* ================= INTRO ================= */
.intro-section {
  padding: 0px 0;
  text-align: center;
}

.subtitle {
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.intro h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.intro p {
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ================= ABOUT ================= */
.about-section {
  padding: 20px 0;
  background: var(--bg-light);
}

.about-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.about-text {
  flex: 1;
  max-width: 500px; 
  margin-left: 20px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .header-logo-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .header-left, .header-right {
    align-items: center;
    flex-direction: column;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .hero-banner {
    max-width: 90%;
  }

  .about-grid {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    max-width: 95%;
  }

  .intro h2 {
    font-size: 1.6rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }
}

/* ================= PROFILE PHOTO (TALL VERTICAL OVAL) ================= */
/* Container defines tall, narrow oval shape */
.profile-photo {
  width: 60px;       /* Narrow width */
  height: 750px;      /* Increased height to make it much taller */
  border-radius: 90%;  /* Creates a perfect vertical oval */
  overflow: hidden;   /* Crop image to shape */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 10px solid #fff;
  margin: 0 auto;     /* Center horizontally */
  background: #fff;   /* Fallback background */
}

/* Image auto-fits inside oval */
.profile-photo img {
  width: 100%;        /* Ensure the image fills the container width */
  height: 100%;       /* Ensure the image fills the container height */
  object-fit: cover;  /* Fill container and maintain aspect ratio */
  object-position: center; /* Keep face or focal point centered */
}

/* Responsive adjustments */
@media (max-width: 400px) {
  .profile-photo {
    width: 200px;     /* Smaller width for medium screens */
    height: 400px;    /* Increase height to maintain tall oval shape */
  }
}

@media (max-width: 406px) {
  .profile-photo {
    width: 250px;     /* Even smaller width for mobile screens */
    height: 350px;    /* Taller height for mobile */
  }
}

/* ================= SERVICES CARDS ================= */
.row-cards {
  display: flex;                  
  justify-content: space-between; 
  flex-wrap: wrap;                
  gap: 20px;                      
}

.row-cards .card {
  flex: 1 1 220px;                
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.row-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.row-cards .card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.row-cards .card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1f4d5a;
}

.row-cards .card p {
  font-size: 0.95rem;
  color: #2b2b2b;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .row-cards {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .row-cards .card {
    flex: 1 1 100%;
  }
}

/* ================= SHOP ================= */
.resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px;
}

.resources .card {
  padding: 10px;
  max-width: 15px;
  text-align: center;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.resources .card:hover {
  transform: translateY(-5px);
}

.pdf-icon {
  width: 10px;
  height: 10px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pdf-icon:hover {
  transform: scale(1.1);
}

/* ================= FOOTER ================= */
.footer {
  background: #1f4d5a;
  color: white;
  text-align: left;
  padding: 10px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Ensure the content sections take up remaining space */
.intro-section, .services-cta {
  flex-grow: 2;
}

