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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f5faff;
  color: #1a2332;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e0e8f0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 4px 20px rgba(39,125,225,0.1);
}

.header-container {
  max-width: 1400px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.logo-area a:hover {
  transform: scale(1.05);
}

.logo-image {
  width: 40px;
  transition: transform 0.3s ease;
}

.logo-area a:hover .logo-image {
  transform: rotate(5deg);
}

.logo-text-container {
  display: flex;
  align-items: center;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.strat { 
  color: #277de1; 
}

.squad { 
  color: #5fd7eb; 
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: #2b4c7e;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 8px 0;
}

.nav-links a.active {
  color: #5fd7eb;
}

.nav-links a:hover:not(.active) {
  color: #5fd7eb;
  transform: translateY(-2px);
}

/* ================= HAMBURGER MENU ================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #277de1;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("new-images/Home page image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 96, 203, 0.75) 0%, rgba(29, 98, 176, 0.65) 50%, rgba(13, 58, 79, 0.55) 100%);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  padding: 0;
  animation: fadeInUp 0.8s ease-out;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  color: #ffffff;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 28px;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-weight: 600;
  letter-spacing: -0.5px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 span {
  color: #8ee3f2;
  text-shadow: 0 2px 20px rgba(95,215,235,0.6), 0 0 30px rgba(95,215,235,0.4);
  animation: glowText 3s ease infinite;
  display: block;
  margin-top: 8px;
}

@keyframes glowText {
  0%, 100% {
    text-shadow: 0 2px 20px rgba(95,215,235,0.6), 0 0 30px rgba(95,215,235,0.4);
  }
  50% {
    text-shadow: 0 2px 30px rgba(95,215,235,0.9), 0 0 50px rgba(95,215,235,0.6);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtext {
  font-size: 19px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 40px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5), 0 1px 5px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  line-height: 1.8;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-btn {
  padding: 18px 48px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btn.primary {
  background: #ffffff;
  color: #277de1;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 4px 10px rgba(0,0,0,0.2);
  font-weight: 500;
}

.hero-btn.primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 6px 15px rgba(0,0,0,0.3);
  background: #f8f9fa;
  font-weight: 600;
}

.hero-btn.secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2), 0 4px 10px rgba(0,0,0,0.15);
  font-weight: 500;
}

.hero-btn.secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3), 0 6px 15px rgba(0,0,0,0.2);
  font-weight: 600;
}


@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% { 
    transform: translateY(-20px) rotate(0deg); 
  }
  75% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 40px 100px rgba(0,0,0,0.4), 0 0 40px rgba(95,215,235,0.3);
  }
  50% {
    box-shadow: 0 40px 100px rgba(0,0,0,0.4), 0 0 60px rgba(95,215,235,0.6);
  }
}

/* ================= FLOATING PARTICLES ================= */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particles span {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(
    to top,
    rgba(95,215,235,0),
    rgba(95,215,235,0.9)
  );
  animation-name: drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  box-shadow: 0 0 6px rgba(95,215,235,0.8);
}

/* ADD THE MISSING DRIFT KEYFRAME */
@keyframes drift {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

/* Enhanced particle variations */
.particles span:nth-child(odd) {
  animation-name: drift, twinkle;
  animation-duration: var(--duration, 20s), 2s;
  animation-timing-function: linear, ease-in-out;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* ================= CLARITY SECTION ================= */
.clarity {
  padding: 120px 40px;
  background: linear-gradient(135deg, #f0f9fc, #ffffff);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.clarity::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(95,215,235,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.clarity-container {
  max-width: 900px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.clarity h2 {
  font-size: 42px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #277de1, #5fd7eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.clarity p {
  font-size: 18px;
  color: #3a5a7e;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ================= SERVICES ================= */
.services {
  padding: 120px 40px;
  background:
    radial-gradient(circle at top right, rgba(95,215,235,0.25), transparent 60%),
    linear-gradient(135deg, #eaf4ff, #f3fbff);
  position: relative;
}

.services-container {
  max-width: 1400px;
  margin: auto;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-header h2 {
  font-size: 42px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #277de1, #5fd7eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.services-header p {
  font-size: 17px;
  color: #3a5a7e;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: #ffffff;
  padding: 50px 42px;
  border-radius: 20px;
  border: 1px solid #c0dce8;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(95,215,235,0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(39,125,225,0.28);
  border-color: #5fd7eb;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-number {
  font-size: 13px;
  font-weight: 700;
  color: #277de1;
  letter-spacing: 1px;
  display: inline-block;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.service-card:hover .service-number {
  transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
  font-size: 22px;
  margin: 0;
  transition: color 0.3s ease;
  flex: 1;
}

.service-card:hover h3 {
  color: #277de1;
}

.service-card p {
  font-size: 16px;
  color: #3a5a7e;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.service-link {
  font-size: 15px;
  font-weight: 600;
  color: #277de1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.service-link:hover {
  color: #5fd7eb;
  transform: translateX(4px);
}

/* ================= FOOTER ================= */
.site-footer {
  background: #fff;
  padding: 100px 40px 40px;
  border-top: 1px solid #e0e8f0;
}

.footer-container {
  max-width: 1400px;
  margin: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 55px;
}

.footer-main > div {
  padding-right: 10px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-logo-container:hover {
  transform: translateX(5px);
}

.footer-logo-image {
  width: 36px;
  transition: transform 0.3s ease;
}

.footer-logo-container:hover .footer-logo-image {
  transform: rotate(5deg) scale(1.1);
}

.footer-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.footer-logo .strat {
  color: #277de1;
}

.footer-logo .squad {
  color: #5fd7eb;
}

.footer-about p {
  font-size: 15px;
  color: #4a6a8a;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1a3a5c;
  letter-spacing: 0.3px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 8px;
}

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

.footer-links a {
  font-size: 14px;
  color: #4a6a8a;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #277de1;
  transform: translateX(6px);
}

.footer-contact p {
  font-size: 14px;
  color: #4a6a8a;
  line-height: 1.8;
  margin-bottom: 8px;
  margin-top: 6px;
}

.footer-contact a {
  color: #4a6a8a;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-contact a:hover {
  color: #277de1;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #8aa8c8;
  border-top: 1px solid #e0e8f0;
}

.footer-copy {
  margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid #e0e8f0;
    transform: none;
  }

  .nav-links a:hover:not(.active) {
    transform: translateX(5px);
    color: #5fd7eb;
  }

  .header-container {
    padding: 20px;
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: 90vh;
  }

  .hero-background {
    background-attachment: scroll;
    background-position: center top;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 1.25;
  }

  .hero-subtext {
    font-size: 17px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  .clarity,
  .services {
    padding: 80px 20px;
  }

  .clarity h2,
  .services-header h2 {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer {
    padding: 70px 20px 25px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 15px;
  }

  .nav-links {
    width: 100%;
    right: -100%;
  }

  .hero {
    padding: 100px 15px 50px;
    min-height: 80vh;
  }

  .hero-background {
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .clarity,
  .services {
    padding: 60px 15px;
  }

  .clarity h2,
  .services-header h2 {
    font-size: 28px;
  }

  .clarity p {
    font-size: 16px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 15px;
  }

  .site-footer {
    padding: 60px 15px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-logo-container {
    justify-content: center;
  }

  .footer-about p {
    font-size: 14px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-contact p {
    font-size: 13px;
  }

  .footer-copy {
    font-size: 13px;
    text-align: center;
  }
}
