:root {
  --primary: #0a2e75;
  --secondary: #2563eb;
  --accent: #4a6fc5;
  --light: #f0f6ff;
  --dark: #333;
  --white: #fff;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #f8fbff, #e6f0ff);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  background: rgb(255 255 255 / 95%);
  color: var(--dark);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 5%;
  background: rgb(255 255 255 / 95%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(to right, var(--secondary), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  font-size: 24px;
  color: var(--secondary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #0a2e75;
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: #0a2e75;
  font-weight: 800;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.nav-btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.nav-btn:hover {
  background: white;
  color: var(--secondary);
  transform: translateY(-2px);
  border: 1px solid var(--secondary);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 180px 20px 100px;
  background: linear-gradient(rgba(10, 46, 117, 0.8), rgba(10, 46, 117, 0.9)), 
              url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1911&q=80') no-repeat center/cover;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  border: 2px solid var(--secondary);
  cursor: pointer;
}

.btn:hover {
  background: #1d4ed8;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  border: 1px solid white;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 15px;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #083a8f;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* About Section */
.about {
  padding: 100px 5%;
  background: var(--white);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  bottom: -10px;
  left: 0;
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-icon {
  color: var(--secondary);
  font-size: 20px;
  margin-top: 5px;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 100px 5%;
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 32px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 22px;
}

.service-card p {
  color: #666;
}

/* Stats Section */
.stats {
  padding: 80px 5%;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.stat-item p {
  font-size: 18px;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 100px 5%;
  background: var(--white);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary);
}

.contact-form {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(10, 46, 117, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: rgb(255 255 255 / 95%);
  color: #000;
  padding: 60px 5% 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: #000;
  font-weight: 700;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #000;
  bottom: 0;
  left: 0;
}

.footer-column p {
  color: #000;
  font-weight: 500;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}

.footer-links a:hover {
  color: #000;
  padding-left: 5px;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.1);
  border-radius: 50%;
  color: #000;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background: rgba(0,0,0,0.2);
  color: #000;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.1);
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
}

/* Page Content */
.page-content {
  margin-top: 80px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content, .contact-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .hero h2 {
    font-size: 36px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: rgb(255 255 255 / 95%);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .nav-btn {
    display: inline-block;
    margin-top: 10px;
  }
  
  .hero {
    padding: 150px 20px 80px;
  }
  
  .hero h2 {
    font-size: 32px;
  }
  
  .btn-outline {
    margin-left: 0;
    margin-top: 15px;
    display: block;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .section-title h2, .about-text h2 {
    font-size: 28px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stat-item h3 {
    font-size: 36px;
  }
}

