/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
  --primary: #1E3A8A;
  /* Deep Blue */
  --primary-dark: #312E81;
  --secondary: #3B82F6;
  /* Bright Blue */
  --accent: #A855F7;
  /* Purple */
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --white: #ffffff;
  --bg-light: #F9FAFB;
  --transition: all 0.3s ease;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  backdrop-filter: blur(10px);
}

.navbar .logo {
  font-size: 2.2rem;
  /* Increased size */
  font-weight: 800;
  /* Bolder */
  color: var(--white);
  letter-spacing: -1px;
}

header.scrolled .logo {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
}

header.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--secondary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--primary);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(49, 46, 129, 0.7));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding: 20px;
  max-width: 800px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

/* Features Sections */
.features {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  margin-top: -50px;
  z-index: 10;
}

.feature-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  background: var(--primary-dark);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Advantage Section */
.advantage {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #111827;
  color: #9CA3AF;
  padding: 60px 0 20px;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.copyright {
  border-top: 1px solid #1F2937;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* Animations using Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}