/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f7f9fc;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #003366;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #0078ff;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: #003366;
}


/* Particle Canvas Styling */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Make hero content appear above particles */
.hero-text, .hero-image {
  position: relative;
  z-index: 2;
}


/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10%;
  flex-wrap: wrap;
  min-height: 100vh;
  background: linear-gradient(120deg, #eef4ff 0%, #ffffff 100%);
}

.hero-text {
  flex: 1;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: #0078ff;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #005ecc;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  width: 90%;
  max-width: 500px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


@media (min-width: 901px) {
  .mobile-header {
    display: none !important;
  }

  .close-btn {
    display: none !important;
  }

  .hamburger {
    display: none;
  }
}

/* Mobile Styles */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 100px 5%;
  }

  .hero-image {
    text-align: center;
    margin-bottom: 30px;
  }

  .hero-image img {
    width: 80%;
  }

  /* Hamburger Visible */
  .hamburger {
    display: block;
    z-index: 1100;
    cursor: pointer;
  }

  /* Mobile Menu (Slide from Right) */
  .nav-links {
    position: fixed;
    top: 0;
    right: 100%;
    height: 100vh;
    width: 100%;
    background: linear-gradient(120deg, #eef4ff 0%, #ffffff 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 80px;
    gap: 25px;
    transition: right 0.4s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  /* Mobile Header (only inside menu) */
  .mobile-header {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 90%;
    display: none; /* hidden until menu opens */
    justify-content: space-between;
    align-items: center;
  }

  /* Show header only when menu is open */
  .nav-links.active .mobile-header {
    display: flex;
  }

  .mobile-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003366;
  }

  .close-btn {
    font-size: 1.8rem;
    color: #003366;
    cursor: pointer;
  }

  /* Hide hamburger when menu open */
  .nav-links.active ~ .hamburger {
    display: none;
  }

  .nav-links a {
    padding-left: 20px;
    font-size: 1.1rem;
    color: rgb(17, 3, 3);
  }
}

@media (min-width: 901px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    justify-content: flex-end;
    margin-right: 0;
  }
}


/* ============================= */
/* AI FULL BACKGROUND SECTION */
/* ============================= */

.ai-full {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("../images/ai.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
}

/* Optional gradient overlay for better text visibility */
.ai-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent 40%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8%;
}

.ai-content {
  max-width: 500px;
  text-align: left;
  animation: fadeSlideUp 1.3s ease forwards;
}



.ai-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.ai-subtitle {
  font-size: 1.1rem;
  color: #00aaff;
  margin-bottom: 25px;
  font-style: italic;
}

.ai-desc {
  font-size: 1.05rem;
  color: #e5e5e5;
  line-height: 1.7;
  margin-bottom: 35px;
}

.ai-btn {
  display: inline-block;
  border: 2px solid #00aaff;
  color: #00aaff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.ai-btn:hover {
  background: #00aaff;
  color: #fff;
}

/* Animation */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation (fade-in on scroll) */
.ai-full {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.2s ease;
}
.ai-full.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .ai-overlay {
    justify-content: center;
    padding: 0 10%;
    text-align: center;
  }

  .ai-content {
    text-align: center;
  }

  .ai-content h2 {
    font-size: 2rem;
  }

  .ai-desc {
    font-size: 1rem;
  }
}












/* ---------------- FOOTER ---------------- */
.footer {
  background: #0d1b2a;
  color: #fff;
  padding: 60px 10%;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  border-bottom: 2px solid #007bff;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #007bff;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 1.3rem;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom span {
  color: #007bff;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}





/* Why Choose Us Section */
.why-choose {
  background: #f8f9ff;
  padding: 100px 50px;
  text-align: center;
  overflow: hidden;
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose h2 {
  font-size: 2.5rem;
  color: #0b2b6b;
  margin-bottom: 10px;
  font-weight: 700;
}

.why-subtitle {
  color: #555;
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border-top: 4px solid transparent;
  opacity: 0;
  transform: translateY(40px);
}

.why-card i {
  font-size: 2.2rem;
  color: #007bff;
  margin-bottom: 20px;
}

.why-card h3 {
  color: #0b2b6b;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.why-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-card:hover {
  transform: translateY(-8px);
  border-top-color: #007bff;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}




/* OUR PROCESS SECTION */
.process-section {
  background: url('../images/d.png') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
}

.process-overlay {
  background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
  width: 100%;
  padding: 80px 10%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.process-text {
  max-width: 550px;
}

.process-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.process-subtitle {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 40px;
  line-height: 1.6;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.step-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.3rem;
  margin: 0;
  color: #fff;
}

.step p {
  color: #ccc;
  line-height: 1.5;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .process-text {
    max-width: 100%;
    text-align: left;
  }
  .process-overlay {
    padding: 60px 6%;
  }
  .process-text h2 {
    font-size: 2rem;
  }
}







/* ========== PAGE HEADER ========== */
.page-header {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, #c3d0f3, #5185ec);
  color: white;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ========== SERVICE SECTIONS ========== */
.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 60px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service.reverse {
  flex-direction: row-reverse;
}

.service img {
  width: 380px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service.show {
  opacity: 1;
  transform: translateY(0);
}

/* Text */
.service .text h2 {
  font-size: 28px;
  color: #0b2347;
  margin-bottom: 12px;
}

.service .text p {
  color: #555;
  line-height: 1.6;
  font-size: 16px;
}

.service:hover img {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* ========== FLOATING BUTTON ========== */
.floating-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1200;
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* ========== POPUP MENU ========== */
.services-popup {
  position: fixed;
  bottom: 100px;
  left: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  width: 260px;
  padding: 20px;
  display: grid;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transform-origin: bottom right;
  transition: all 0.3s ease;
  z-index: 1199;
}

.services-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.services-popup h3 {
  margin-top: 0;
  color: #0b2347;
  font-size: 20px;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 8px;
}

.services-popup ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-popup li {
  margin: 8px 0;
}

.services-popup a {
  text-decoration: none;
  color: #0b2347;
  font-weight: 500;
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.services-popup a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* ========== OVERLAY ========== */
.services-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 40, 0.15);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.services-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 900px) {
  .service {
    flex-direction: column;
    text-align: center;
    padding: 60px 8%;
  }

  .service.reverse {
    flex-direction: column;
  }

  .service img {
    width: 100%;
    max-width: 600px;
  }

  .services-popup {
    right: 15px;
    left: 15px;
    width: auto;
  }

   .floating-btn {
    bottom: 20px;
    left: 20px;
  }
}


/* === OUR PHILOSOPHY SECTION === */
.philosophy-section {
  text-align: center;
  padding: 100px 50px;
  background: linear-gradient(120deg, #e8f0ff, #f8fbff);
  position: relative;
  overflow: hidden;
}

.philosophy-section h2 {
  font-size: 2.5rem;
  color: #0a3d91;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.philosophy-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(173,216,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float1 10s ease-in-out infinite alternate;
}

.philosophy-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(120,170,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float2 12s ease-in-out infinite alternate;
}

@keyframes float1 {
  from { transform: translateY(0); }
  to { transform: translateY(20px); }
}

@keyframes float2 {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}

.philosophy-subtitle {
  color: #2d4a7a;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 60px;
  font-weight: 400;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  z-index: 1;
  position: relative;
}

.philosophy-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 8px 25px rgba(0, 68, 255, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.philosophy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 68, 255, 0.15);
}

.icon-box {
  font-size: 2.5rem;
  color: #007bff;
  background: linear-gradient(135deg, #b3d4ff, #e3f0ff);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.philosophy-card:hover .icon-box {
  transform: rotate(10deg) scale(1.1);
}

.philosophy-card h3 {
  color: #0a3d91;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.philosophy-card p {
  color: #455a7d;
  font-size: 1rem;
  line-height: 1.6;
}

