/* ===== General ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #f8f9fa;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== Header ===== */



/* ===== Header Section ===== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Logo ===== */
.logo img {
  height: 120px;
  width: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* ===== Navigation ===== */
.nav-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #007bff;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ===== Header Button ===== */
.btn-header {
  background: linear-gradient(135deg, #007bff, #00bfff);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-header:hover {
  background: linear-gradient(135deg, #0062cc, #0099cc);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* ===== Hamburger Menu (Mobile) ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #007bff;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* ===== Responsive Navigation ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 100%;
    max-width: 300px;
    padding: 30px 20px;
    box-shadow: -2px 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }

  .btn-header {
    width: 100%;
    text-align: center;
  }
}




/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #0073e6;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #005bb5;
  color: #fff;
}



/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== Services Section ===== */
/* ===== Services Section ===== */
.services {
  padding: 80px 20px;
  background: #f8f9fc;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.services h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.services h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #007bff;
  margin: 12px auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: center;
}

/* ===== Service Card ===== */
.service-card {
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
}

/* ===== Front Face ===== */
.card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.card-front img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-front h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

/* ===== Back Face ===== */
.card-back {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

/* ===== Hover Glow Effect ===== */
.service-card:hover .card-front {
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
  transform: translateY(-5px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .services h2 {
    font-size: 2rem;
  }
  .card-inner {
    height: 280px;
  }
}


/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form button {
  background: #0073e6;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #005bb5;
}

/* ===== Footer ===== */
.site-footer {
  background: #002147;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Mobile Nav */
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s ease;
    flex-direction: column;
    text-align: center;
    padding: 25px 0;
    z-index: 99;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
  }

  .nav-menu ul li a {
    font-size: 18px;
    font-weight: 600;
    color: #002147;
    transition: color 0.3s ease;
  }

  .nav-menu ul li a:hover {
    color: #0073e6;
  }

  .btn-header {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    border-radius: 8px;
    background: #0073e6;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .btn-header:hover {
    background: #005bb5;
    transform: translateY(-2px);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #002147;
    transition: transform 0.3s ease;
  }

  .menu-toggle:hover {
    transform: scale(1.1);
  }
}
