/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #300a6e;
  color: #e0f1ff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ========== NAVBAR ========== */
.navbar {
  background: #300a6e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  color: #e0f1ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.logo img {
  height: 80px;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 1.5rem;
}
.nav-links a {
  color: #e0f1ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #00c6ff;
}

/* ========== 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;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  background: #1f0746;
}
.hero h1 {
  font-size: 3rem;
  color: #ffffff;
}
.hero p {
  font-size: 1.2rem;
  color: #a8d2ff;
}

/* ========== SECTIONS ========== */
.section {
  padding: 6rem 2rem 4rem;
  max-width: 1100px;
  margin: auto;
}
.section h2 {
  font-size: 2rem;
  color: #00c6ff;
  margin-bottom: 1rem;
}

/* ========== ABOUT ========== */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
  }
  .about-text, .about-image {
    flex: 1;
  }
}

/* ========== SERVICES ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 12px;
  background: #072e5bdc;
  color: #ffe0e0;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(130deg, #300a6e, #634e85a8, blue);
  z-index: -1;
  border-radius: 14px;
  background-size: 200% 200%;
  animation: glowBorder 4s linear infinite;
}

@keyframes glowBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}
.service-card h3 {
  color: #00c6ff;
}
.service-card p {
  color: #c5e4ff;
}
.service-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ========== CONTACT ========== */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact input,
.contact textarea {
  padding: 0.75rem;
  border: 1px solid #345;
  background: #5317b4;
  color: #e0f1ff;
  border-radius: 8px;
  font-size: 1rem;
}
.contact button {
  padding: 0.75rem;
  background: linear-gradient(to right, #5317b4, #00c6ff);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact button:hover {
  opacity: 0.85;
}

/* ========== FOOTER ========== */
footer {
  background: #1b063d;
  color: #99b9d9;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}
.footer-logo {
  height: 80px;
  margin-bottom: 1rem;
}
.footer-links a {
  color: #66bfff;
  margin: 0 1rem;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #00c6ff;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: #00c6ff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.footer-column p,
.footer-column a {
  color: #cce5ff;
  text-decoration: none;
  font-size: 0.95rem;
  text-align: center;
}

.footer-column a:hover {
  color: #00c6ff;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #667f99;
}

@media (min-width: 768px) {
  .footer-info {
    flex-direction: row;
    justify-content: space-around;
    text-align: left;
  }
}
html {
  scroll-behavior: smooth;
}

/* HEADER TRANSPARENT STYLE */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 20px 40px;
  background: transparent;
  transition: all 0.4s ease;
}

/* HEADER WHEN SCROLLED */
#main-header.scrolled {
  background: #e4f1fc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.projects-section {
  background-color: #0f1b2b;
  color: #fff;
  padding: 60px 0;
}

.swiper {
  width: 100%;
  height: 80vh;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background: rgba(15, 27, 43, 0.75);
  padding: 40px;
  max-width: 600px;
  text-align: center;
  border-radius: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.overlay h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00bcd4;
}

.overlay p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.read-more {
  background-color: #00bcd4;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.read-more:hover {
  background-color: #0097a7;

}.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* Darken background for text contrast */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.btn-primary {
  background: #4b189d;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #0097a7;
}

.hero-decor {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.3) 0%, transparent 70%);
  top: 10%;
  left: 5%;
  z-index: 1;
}
.hero-decor {
  transition: transform 0.2s ease-out;
}

.scroll-down {
  margin-top: 2rem;
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  color: #00bcd4;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 80%);
  bottom: 10%;
  right: 5%;
  z-index: 1;
  animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.4;
  }
}

.partners-section {
  background: #300a6e;
  padding: 4rem 2rem;
  text-align: center;
}

.partners-section h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partners-logos img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partners-logos img:hover {
  transform: scale(1.05);
}

/* Mobile-specific tweak */
@media (max-width: 600px) {
  .partners-section h2 {
    font-size: 1.8rem;
  }

  .partners-logos {
    gap: 1rem;
  }

  .partners-logos img {
    max-width: 100px;
    max-height: 40px;
  }
}


/* Basic styling */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 15, 25, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.8);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  color: #00d9ff;
  font-weight: bold;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav a {
  color: #ffffffcc;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #00d9ff;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #00d9ff;
}

.nav a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0b1d2d;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(10, 15, 25, 0.98);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 1.2rem;
  }

  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
  }
}

/* Hide toggle on desktop */
.menu-toggle {
  display: none;
}

/* Round the swiper container itself */
.swiper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25); /* Optional for nice depth */
}

/* Round each slide (optional, for extra smoothness) */
.swiper-slide {
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Optional: Round the overlay box inside the slides */
.overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black */
    padding: 20px;
    border-radius: 15px;
    color: white;
    text-align: center;
    backdrop-filter: blur(5px); /* Cool blur effect */
}

