/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* General Styles 0b5ed7 #313990*/
body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
}
@media (max-width: 768px) {
    body {
        font-size: 0.7rem;
    }
}

/* Navbar */
.navbar-expand-lg .navbar-nav {
    margin-left: 10px!important;
    margin-right: auto!important;

}

/* Hero Section */
.hero-section {
    background: linear-gradient(
        rgba(0, 32, 96, 0.15), /* Navy blue overlay */
        rgba(0, 32, 96, 0.65)
    ),
    url('./images/hero.jpg') center/cover no-repeat; /* Changed to cover */
    /* */
    width: 100%;
    position: relative;
    background-attachment: fixed; /* Optional, can be removed for better performance on mobile */
    line-height: 2!important;
}
.index-hero{
    min-height: 80vh; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 32, 96, 0.1); /* Additional subtle overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    background-color: #1f2459;
    border-color: #1f2459;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #313990;
    border-color: #1f2459;
    transform: translateY(-2px);
}

/* Responsive adjustments for hero section */
@media (max-width: 1200px) {
    .hero-section {
        min-height: 700px; /* Reduced height for smaller screens */
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px; /* Further reduced height */
    }
    
    .hero-section h1 {
        margin-top: 2rem;
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
}

/* Services Section */
.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    color: #1f2459;
}

/* Services Section Styles */
.services-section {
    background-color: #f8f9fa;
}

.service-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-content {
    height: 100%;
}

.service-image {
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.service-image img {
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.service-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: #1f2459;
}

.btn-outline-primary {
    border-width: 2px;
    padding: 0.5rem 2rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .service-item {
        margin-bottom: 3rem;
    }
    
    .service-content {
        padding: 2rem !important;
    }
    
    .service-image {
        margin-bottom: 1rem;
    }
}
/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
}

.contact-card {
    border: 1px solid rgba(0,0,0,0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: #1f2459;
}

.contact-item h5 {
    color: #333;
    font-weight: 600;
}

.contact-item a {
    color: #1f2459;
}

.contact-item a:hover {
    color: #313990;
}

/*floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 3rem;
    color: #25d366!important;
}




/* Responsive Adjustments */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr!important;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

/* Social Links */
.social-links a {
    transition: opacity 0.3s ease;
   i{
        color: #ffffff!important;
        /* contrast */
   }
}

.social-links a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
}

/* About Page Styles */
.about-content {
    border-radius: 15px;
}

.vision-card,
.mission-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
}

.about-content .lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* icons color */
i {
    color: #1f2459;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        /* min-height: 40vh; */
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 1rem !important;
    }
}

/* Slider Container */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .slider {
    position: relative;
    height: 450px;
  }
  
  /* Slides */
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }
  
  /* Navigation Buttons */
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    z-index: 10;
  }
  
  .slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .prev-btn {
    left: 1rem;
  }
  
  .next-btn {
    right: 1rem;
  }
  
  /* Dots Navigation */
  .slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .dot.active {
    background: #1f2459;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .slider {
      height: 300px;
    }
    
    .slider-btn {
      padding: 0.5rem;
      font-size: 1rem;
    }
  }

  .secondary{
    color: #57bf9a!important;
  }
  .secondary-list::before{
    color: #57bf9a!important;
  }

  .primary{
    color: #1f2459!important;
  }

  .logo-container{
    display: flex;
    justify-content: center;
    align-items: center;
    img{
        /* width: 200px; */
        height: 100px;
    }
  }

  @media (max-width: 768px) {
    .logo-container{
        display: flex;
        justify-content: center;
        align-items: center;
       
        img{
            /* width: 200px; */
            height: 50px;
        }
      }
  }

  .navbar-brand{
    margin-right: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2459;
  }
  .slogan{
    font-size: 0.9rem;
    font-weight: 500;
  }
  @media (max-width: 768px) {
    .navbar-brand{
        margin-right: 1rem;
        font-size: 0.9rem;
    }
    .slogan{
        font-size: 0.7rem;
    }
  }
  .service-header-card{
    height: 200px;
  }