/* ===============================
   GLOBAL STYLES
================================= */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
}

section {
  scroll-margin-top: 90px;
}

html {
  scroll-behavior: smooth;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===============================
   HEADER
================================= */

header {
  background: #ffffff;
  padding: 8px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo img {
  height: 55px;
  width: auto;
}

nav a {
  margin-left: 25px;
  font-size: 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
}

nav a:hover {
  color: #1E3A8A;
}

/* ===============================
   HERO SECTION (LIGHT PREMIUM)
================================= */

.hero-ai {
  background: transparent;
  padding: 60px 8% 80px 8%;
}

.hero-ai-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-ai-left {
  flex: 1;
  min-width: 320px;
}

.ai-tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: #1E3A8A;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-ai-left h1 {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* LEFT */
.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 17px;
  color: #555;
  margin-bottom: 30px;
}

/* RIGHT */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-right img {
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 36px;
  }
}

.gradient-text {
  background: linear-gradient(90deg, #1E3A8A, #D32F2F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-ai-left p {
  font-size: 17px;
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-ai-right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ===============================
   BUTTONS
================================= */

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 30px;
  background: #1E3A8A;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #D32F2F;
}

.btn-outline {
  padding: 14px 30px;
  border: 2px solid #1E3A8A;
  color: #1E3A8A;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: #1E3A8A;
  color: white;
}

/* ===============================
   GENERAL SECTIONS
================================= */

.section {
  padding: 50px 8%;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

/* .section-header h2 {
  position: relative;
  display: inline-block;
} */

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 38px;
  margin: 0;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1E3A8A, #D32F2F);
  margin: 12px auto 0;
  border-radius: 2px;
}
/* ===============================
   UNIFIED PAGE BACKGROUNDS
================================= */

.page-section {
  background: transparent;
  padding: 50px 8% 100px 8%;
}

.page-section-alt {
  padding: 50px 8%;
  background: transparent;
}

.page-section-white {
  padding: 50px 8%;
  background: transparent;
}

.section-decor {
  /* background: #ffffff; */
  background: transparent;
}
/* ===============================
   GRID & CARDS
================================= */

.grid,
.about-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.card,
.about-card {
  flex: 1;
  min-width: 260px;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.about-card-alt {
  flex: 1;
  min-width: 260px;
  background: linear-gradient(135deg, #e8ecff, #d6e0ff);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.card:hover,
.about-card:hover {
  transform: translateY(-5px);
}

.about-card h3 {
  margin-bottom: 10px;
}

/* ===============================
   ABOUT PAGE
================================= */

.about-section {
  padding: 50px 8%;
}

.about-section h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.impact-list {
  margin-top: 20px;
  line-height: 1.8;
}

.impact-list li {
  margin-bottom: 10px;
}

/* ===============================
   CONTACT FORM
================================= */

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
}

/* ===============================
   FOOTER
================================= */

footer {
  background: #1E3A8A;
  color: #ffffff;
  text-align: center;
  padding: 25px 8%;
  font-size: 14px;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
  .hero-ai-left h1 {
    font-size: 34px;
  }

  .hero-ai-container {
    flex-direction: column;
    text-align: center;
  }

  nav {
    display: none; /* Optional: hide nav on mobile */
  }
}

/* Restore Button Styles */

.btn-glow {
  padding: 14px 30px;
  background: linear-gradient(90deg, #1E3A8A, #D32F2F);
  border-radius: 6px;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.btn-outline-light {
  padding: 14px 30px;
  border: 2px solid #1E3A8A;
  color: #1E3A8A;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-outline-light:hover {
  background: #1E3A8A;
  color: white;
}

/* ===============================
   UNIVERSAL BUTTON
================================= */

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(90deg, #1E3A8A, #D32F2F);
  color: white;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===============================
   CONTACT PAGE
================================= */

.contact-wrapper {
  background: #f4f7fc;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-left h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.contact-left p {
  color: #555;
  margin-bottom: 25px;
}

.contact-details p {
  margin-bottom: 10px;
  color: #1E3A8A;
}

.contact-right {
  flex: 1;
  min-width: 320px;
}

/* Form Card */
.contact-form {
  background: #ffffff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 14px;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1E3A8A;
  box-shadow: 0 0 0 2px rgba(30,58,138,0.1);
}

/* Button already defined globally */

.success-message {
  background: #e6f9ed;
  color: #1a7f37;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 500;
  border: 1px solid #b6f0c6;
}

/* ===============================
   FOOTER
================================= */

.footer {
  background: #e8ecff;
  padding: 60px 8% 30px 8%;
  color: #1a1a1a;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(90deg, #1E3A8A, #D32F2F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #444;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #1E3A8A;
}

/* Newsletter */

.newsletter-box {
  display: flex;
  margin-top: 15px;
}

.newsletter-box input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 25px 0 0 25px;
  outline: none;
}

.newsletter-box button {
  padding: 12px 18px;
  border: none;
  background: linear-gradient(90deg, #1E3A8A, #D32F2F);
  color: white;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}

.newsletter small {
  display: block;
  margin-top: 10px;
  color: #555;
}

/* Footer Bottom */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  border-top: 1px solid #d5dbff;
  padding-top: 20px;
}

.social-icons a {
  margin-left: 15px;
  text-decoration: none;
  color: white;
  background: #1E3A8A;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #D32F2F;
}

/* Responsive */

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Reveal Animation */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Gradient Blobs */

.section-services {
  position: relative;
  /* background: #f5f7fb; */
  background: #ffffff;
  overflow: hidden;
}

.section-services::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #dfe7ff 0%, transparent 70%);
  top: -300px;
  left: -200px;
  z-index: 0;
}

.section-services::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #e8ecff 0%, transparent 70%);
  bottom: -300px;
  right: -200px;
  z-index: 0;
}

.section-services > * {
  position: relative;
  z-index: 1;
}

.dots-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(#1E3A8A 2.5px, transparent 2.5px);
  background-size: 22px 22px;
  opacity: 0.25;
  z-index: 0;
}

.section-services .container {
  position: relative;
  z-index: 1;
}

/* ===============================
   SECTION DECOR BACKGROUND
================================= */

.section-decor {
  position: relative;
  overflow: hidden;
  /* background: #f5f7fb; */
  background: #ffffff;
}

/* Keep content above background */
.section-decor .hero-ai-container {
  position: relative;
  z-index: 2;
}

/* Blob Background */
.blob-bg {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #e8ecff 0%, transparent 70%);
  top: -300px;
  left: -250px;
  z-index: 0;
}

/* Dots */
.dots-left,
.dots-right {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(#1E3A8A 2.5px, transparent 2.5px);
  background-size: 22px 22px;
  opacity: 0.25;
  z-index: 1;
}

/* Bottom Left */
.dots-left {
  bottom: 80px;
  left: 40px;
}

/* Top Right */
.dots-right {
  top: 80px;
  right: 40px;
}

/* ===============================
   LARGE CORNER WAVE SYSTEM
================================= */

.wave-corner {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.page-section {
  position: relative;
  overflow: hidden;
}

/* Blue Variant */
.wave-blue {
  background: radial-gradient(
    circle,
    rgba(30,58,138,0.10) 0%,
    rgba(30,58,138,0.06) 40%,
    transparent 70%
  );
}

/* Red Variant */
.wave-red {
  background: radial-gradient(
    circle,
    rgba(211,47,47,0.10) 0%,
    rgba(211,47,47,0.05) 40%,
    transparent 70%
  );
}

/* Positions */
.wave-top-left {
  top: -400px;
  left: -400px;
}

.wave-top-right {
  top: -400px;
  right: -400px;
}

.wave-bottom-left {
  bottom: -400px;
  left: -400px;
}

.wave-bottom-right {
  bottom: -400px;
  right: -400px;
}

/* Keep content above */
.page-section .container,
.page-section .hero-ai-container,
.page-section .grid {
  position: relative;
  z-index: 2;
}

.wave-corner {
  animation: floatWave 12s ease-in-out infinite alternate;
}

@keyframes floatWave {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
