/* === CSS Variables === */
:root {
  --primary-color: #1E3D59;
  --accent-color: #9BCF9B;
  --text-color: #1E3D59;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --font-main: 'Montserrat', sans-serif;
}

/* === Reset & Base === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
  padding-top: 72px; /* Space for fixed navbar */
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* === Container === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Navbar === */
.navbar {
  background: var(--primary-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.navbar .navbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo img {
  height: 48px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links li a {
  color: var(--white);
  font-weight: 600;
  transition: color 0.3s ease;
}
.nav-links li a:hover {
  color: var(--accent-color);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary-color);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
}

/* Hide menu-toggle on desktop */
@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
  }
}

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(to bottom, rgba(30, 61, 89, 0.8), rgba(155, 207, 155, 0.7)), url('../images/hero.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 120px 20px 100px;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section .highlight {
  background: linear-gradient(90deg, #f7e833, #9BCF9B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-buttons .btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  margin: 8px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-primary {
  background-color: #fff;
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* === FEATURE CARDS INSIDE HERO === */
.features-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 60px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  width: 280px;
  color: white;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
  color: #f7e833;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-box p {
  font-size: 0.95rem;
  opacity: 0.95;
}


/* === CTA === */
.cta {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
}
.cta .btn {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px;
  display: inline-block;
}

/* === Forms === */
form {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
form input, form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
form button {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
form button:hover {
  background: #163049;
}


/* === About Page === */
.about-hero {
  background: #f9fbfd;
  padding: 60px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-text h2 {
  font-size: 2.5rem;
  color: #1E3D59;
  margin-bottom: 10px;
}

.about-text h4 {
  font-size: 1.2rem;
  color: #7d7d7d;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image img {
    margin-bottom: 20px;
  }
}




/*filters*/


.service-card:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
}

/* === na ul li === */
nav ul li {
  position: relative;
  list-style: none;
}

nav ul li a {
  padding: 12px 15px;
  display: block;
  color: #1E3D59;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  background-color: #1E3D59;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #1E3D59;
  min-width: 220px;
  top: 100%;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #1E3D59;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 180px;
}

.has-sub:hover .sub-menu {
  display: block;
}


/* === FAQs === */
.faq-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}
.faq-section h2 {
  text-align: center;
  color: #1E3D59;
  font-size: 2.5rem;
  margin-bottom: 30px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}
.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #1E3D59;
  position: relative;
}
.faq-question::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #444;
  background: #fefefe;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  padding: 15px 20px;
  max-height: 400px;
}
/* === Blog Styles === */
.read-more-btn {
  display: inline-block;
  background: #1E3D59;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 10px;
}
.read-more-btn:hover {
  background: #0d6efd;
  color: #fff !important;
  text-decoration: none;
}

/* === Footer === */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 1rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}
.footer a {
  color: var(--accent-color);
  text-decoration: none;
}
.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ffffff33;
  margin-top: 30px;
  font-size: 0.9em;
}
.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
/*
html, body{
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main{
  flex: 1 0 auto;
}
footer{
  flex-shrink: 0;
}
  */