/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Navbar Styles */
header {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2a3d66;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #2a3d66;
}

.btn {
  background: #2a3d66;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #1d2a48;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #2a3d66;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

.hero-content .btn {
  background: #2a3d66;
  padding: 12px 25px;
  font-size: 1rem;
}

/* About Section */
.about {
  padding: 60px 20px;
  background: #f9f9f9;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  color: #2a3d66;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  color: #444;
  text-align: justify;
}

.about-image {
  flex: 0.4;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* shadow effect */
  margin: 20px 0;
}

/* Responsive About Section */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    flex: 1;
  }
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #000;
  line-height: 1.6;
  background-color: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2a3d66;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Service Card */
.service-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000;
}

.service-card p {
  font-size: 0.95rem;
  color: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* why us section */

/* Why Us Section */
.why-us {
  background: #e6ecf5;
  padding: 10px 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.whyus-header {
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
}

.whyus-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2a3d66;
  opacity: 0;
  transform: translateX(-100%);
  animation: slideInLeft 1.2s forwards;
}

.whyus-underline {
  width: 120px;
  height: 4px;
  background: #2a3d66;
  margin: 10px auto 0;
  opacity: 0;
  transform: translateX(100%);
  animation: slideInRight 1.2s forwards;
  animation-delay: 0.4s;
}

/* Cards Grid */
.whyus-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.whyus-card {
  position: relative;
  width: 220px;
  height: 300px;
  background: #2a3d66;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  color: #fff;
  overflow: hidden;

  /* Hidden state before animation */
  transform: translateY(60px);
  opacity: 0;
  transition: all 0.8s ease;
}

.whyus-card.active {
  transform: translateY(0);
  opacity: 1;
}

.whyus-card:nth-child(1) { animation-delay: 0.4s; }
.whyus-card:nth-child(2) { animation-delay: 0.6s; }
.whyus-card:nth-child(3) { animation-delay: 0.8s; }
.whyus-card:nth-child(4) { animation-delay: 1s; }

.whyus-card h3 {
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: #2a3d66;
  padding: 8px 12px;
  border-radius: 6px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .whyus-grid {
    gap: 30px;
  }
  .whyus-card {
    width: 200px;
    height: 260px;
  }
}

@media (max-width: 600px) {
  .whyus-grid {
    flex-direction: column;
    align-items: center;
  }
  .whyus-card {
    width: 80%;
    height: 240px;
  }
  .whyus-card h3 {
    font-size: 0.9rem;
  }
}

/* YouTube Section */
.youtube-section {
  padding: 10px 20px;
  background: #cce5e1; /* Light background for contrast */
  text-align: center;
}

.youtube-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2a3d66;
  margin-bottom: 40px;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.youtube-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 992px) {
  .youtube-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}


/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #fff;
  padding: 60px 20px 30px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left h3 {
  font-size: 1.8rem;
  color: #f9f9fb;
  margin-bottom: 12px;
}

.footer-left p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.footer-center h4,
.footer-right h4 {
  font-size: 1.2rem;
  color: #f9f9fb;
  margin-bottom: 12px;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin-bottom: 8px;
}

.footer-center ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-center ul li a:hover {
  color: #2a3d66;
}

.footer-right p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 6px;
}

.footer-right .socials a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2rem;
  color: #ccc;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-right .socials a:hover {
  color: #2a3d66;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #999;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .footer-right .socials a { margin-right: 8px; }
}
