/* =============================================================================
   Core
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 1.6rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #2c3e50;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

/* =============================================================================
   Navigation Styles
   ========================================================================== */

.navbar-custom {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar-toggler {
  border: none;
  padding: 0.75rem 1rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Desktop Navigation */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    padding: 1rem 1.5rem;
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #28a745;
  }

  .navbar-custom .d-flex.align-items-center.ms-auto a {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 150px; /* Reduced width */
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    padding-top: 60px; /* Reduced padding */
  }

  .navbar-collapse.show {
    left: 0;
  }

  .nav-link {
    display: block;
    padding: 1.5rem;
    font-size: 2.2rem; /* Increased font size */
    font-weight: 500; /* Added boldness */
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
  }

  .nav-link:hover {
    background: #f8f9fa;
  }

  .nav-item:last-child .nav-link {
    border-bottom: none;
    color: #dc3545;
    font-weight: 600;
  }
}

/* =============================================================================
   Hero Section
   ========================================================================== */

.bg-hero-overlay {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

#home {
  padding: 10rem 0 8rem 0;
}

#home .display-4 {
  color: #2c3e50;
}

#home .lead {
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.8rem;
  border-radius: 50px;
}

/* =============================================================================
   Footer
   ========================================================================== */

footer.bg-dark {
  color: white;
  padding: 5rem 0;
}

footer .nav-link {
  color: #666;
  transition: color 0.3s ease;
}

footer .nav-link:hover {
  color: white;
}

footer .social-links a {
  color: #666;
  margin-right: 15px;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: var(--primary-color);
}

/* =============================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.8rem; }
  .btn-lg {
    padding: 10px 20px;
    font-size: 1.6rem;
  }
}


.card-img-top {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
}

.navbar-custom .ms-auto .btn:first-child {
    display: block;
}



