
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* ===== Top Bar ===== */
.top-bar {
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 0.9rem;
}
.top-bar a {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.top-bar a:hover {
  color: #ff9800;
}

/* ===== Header ===== */
.main-header {
  background: #fff;
  border-bottom: 2px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.logo img {
  max-height: 55px;
}

/* ===== Base Navigation ===== */
.main-nav ul {
  list-style: none;
  display: flex;              /* always visible on desktop */
  gap: 25px;
}
.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}
.main-nav a:hover {
  color: #ff9800;
}

/* ===== Hamburger Icon ===== */
.menu-toggle {
  display: none;              /* hidden on desktop */
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}



/* ===== Mobile Menu ===== */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;            /* hidden by default on mobile */
  }
  .main-nav ul.active {
    display: flex;            /* shown when toggled */
  }
  .menu-toggle {
    display: block;           /* hamburger visible on mobile */
  }
}


/* ===== Hamburger Icon ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  transition: transform 0.3s ease;
}
.menu-toggle.active i {
  transform: rotate(90deg); /* subtle rotation when active */
}

/* ===== Animated Hamburger to X ===== */
.menu-toggle i {
  transition: transform 0.4s ease, color 0.3s ease;
}
.menu-toggle.active i:before {
  content: "\f00d"; /* Font Awesome 'X' icon */
  color: #ff9800;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}



/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('targetpdf.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.cta-button {
  background: #ff9800;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background: #e68900;
}

/* Features Section */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 50px 20px;
}

.feature {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* ensures equal height in grid */
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.feature h3 {
  margin: 15px 0;
  color: #222;
}
.feature h4 {
  color: #ff9800;
  font-weight: bold;
}
.feature p a {
  display: inline-block;
  margin-top: 10px;
  color: #ff9800;
  text-decoration: none;
  font-weight: bold;
}
.feature p a:hover {
  text-decoration: underline;
}




/* Responsive */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }
  .hero-section h2 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
}

