/* Base Styles */
:root {
  --primary: #4285f4;
  --secondary: #ff7eb9;
  --accent: #00d4ff;
  --light: #ffffff;
  --dark: #2d3748;
  --gray: #f8f9fa;
  --shadow: 0 10px 20px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

.icon {
  background-color: #4285f4;
  color: white;
  border-radius: 50%;
  padding: 10px;
  display: inline-block;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon {
  margin-right: 10px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  margin: 15px auto;
  border-radius: 2px;
}

/* Header Styles */
.header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.scrolling-text {
  background: rgba(255,255,255,0.8);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
}

/*about*/
/* Base state - before animation */
.section-box {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
}

/* Animation classes */
.cross-in-left.animate {
  transform: translate(-50px, -50px) scale(1);
  opacity: 1;
}

.cross-in-right.animate {
  transform: translate(50px, -50px) scale(1);
  opacity: 1;
}

.about-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.section-box {
  flex: 1 1 45%;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .section-box {
    flex: 1 1 100%;
  }
}


/* Section Boxes */
.section-box {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: var(--transition);
}

.section-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Services Section */
.services-section {
  background-color: var(--gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, var(--light) 0%, #f0f8ff 100%);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.stat-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1.1rem;
}

.stats-conclusion {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Benefits Section */
.benefits-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.benefits-image {
  flex: 1;
}

.benefits-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.benefits-list {
  flex: 1;
}

.benefit-item {
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 15px;
  background: rgba(66, 133, 244, 0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.benefit-item:hover {
  background: rgba(66, 133, 244, 0.2);
  transform: translateX(10px);
}

.benefit-icon {
  font-size: 1.5rem;
  margin-right: 20px;
  color: var(--primary);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}
/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #ff9a9e 100%);
  color: var(--light);
}

.newsletter-box {
  background: var(--light);
  color: var(--dark);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 20px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 50px 0 0 50px;
  font-family: 'Poppins', sans-serif;
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--light);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #bbb;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--light);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--light);
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--secondary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #bbb;
}

/* Animations */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
  }
}

.slide-in-from-left {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.slide-in-from-right {
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.slide-in-from-bottom {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.slide-up {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.pop-in {
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate {
  transform: translateX(0) translateY(0) scale(1);
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .benefits-container,
  .contact-container {
    flex-direction: column;
  }
  
  .benefits-image,
  .benefits-list,
  .contact-info,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--light);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 50px;
    margin-bottom: 10px;
  }
  
  .newsletter-form .btn {
    border-radius: 50px;
  }
}

/* === Animated Background Gradient Pulse === */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--primary), var(--secondary), var(--accent));
  animation: backgroundPulse 15s ease-in-out infinite;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
}

@keyframes backgroundPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.04;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.08;
  }
}

/* === Icon Hover Spin and Glow === */
.icon:hover {
  animation: spin 0.8s linear;
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
  background-color: var(--accent);
  transform: rotate(360deg);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* === Section Title Pulse Underline === */
.section-title::after {
  animation: pulseUnderline 3s infinite ease-in-out;
}

@keyframes pulseUnderline {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(1.5);
    opacity: 0.6;
  }
}

/* === Optional: Add subtle overlay texture === */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Base Styles */
:root {
  --primary: #3f51b5;
  --secondary: #ff4081;
  --accent: #00e5ff;
  --light: #ffffff;
  --dark: #1c1c1c;
  --gray: #f2f4f8;
  --shadow: 0 10px 20px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

body {
  background-color: var(--light);
  color: #212121;
}

h1, h2, h3, h4 {
  color: #111;
}

p, a, .stat-text, .section-title, .btn {
  color: #222;
}

.section-title::after {
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.hero {
  background: linear-gradient(135deg, #e3f2fd 0%, #e0f7fa 100%);
}

.hero-content h2 {
  color: #1a237e;
}

.hero-content p {
  color: #333;
}

.section-box, .feature-card, .service-card, .stat-box, .contact-form, .newsletter-box {
  background: #fff;
  color: #222;
}

.contact-info {
  background: #f0f4ff;
  color: #222;
}

.benefit-item {
  background: rgba(63, 81, 181, 0.08);
  color: #222;
}

.benefit-item:hover {
  background: rgba(63, 81, 181, 0.16);
}

.card-icon, .feature-icon, .benefit-icon {
  color: var(--primary);
}

.btn {
  background: var(--primary);
  color: var(--light);
}

.btn:hover {
  background: var(--secondary);
}

.footer {
  background: #111;
  color: #eee;
}

.footer-column ul li a {
  color: #ccc;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-bottom {
  color: #bbb;
}

body::before {
  background: radial-gradient(circle at center, var(--primary), var(--secondary), var(--accent));
  opacity: 0.08;
}

body::after {
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
}
/* Root Font & Utility */
:root {
  --primary: #4285f4;
  --light: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --font: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Section Title */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font);
  color: #1e293b;
}

/* Layout */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* Info & Form Containers */
.contact-info,
.contact-form-wrapper {
  flex: 1 1 48%;
  min-width: 300px;
}

/* Contact Info Styling */
.contact-info {
  background: rgba(66, 133, 244, 0.05);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-family: var(--font);
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #1e293b;
}

.contact-info p {
  margin-bottom: 20px;
  color: #475569;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #374151;
}

/* Social Links */
.social-links {
  margin-top: 30px;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
  color: #0b66c3;
}

/* Form Section */
.contact-form-wrapper {
  background: var(--light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-family: var(--font);
}

/* Form Styling */
.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-family: var(--font);
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

/* Submit Button */
button.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-family: var(--font);
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.btn:hover {
  background-color: #0b66c3;
}

/* Thank You Message Styles */
#thank-you-section {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1504384764586-bb4cdc1707b0') no-repeat center center/cover;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
}

.thank-you-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.6s ease-in-out;
  max-width: 500px;
  width: 100%;
  z-index: 2;
}

#thank-you-section svg.tick-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  animation: tick-pop 0.5s ease-out;
}

.thank-you-container h1 {
  font-size: 28px;
  color: #1e293b;
  margin-bottom: 10px;
}

.thank-you-container p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 30px;
}

.thank-you-container .btn {
  padding: 12px 24px;
  background-color: #22C55E;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.thank-you-container .btn:hover {
  background-color: #16a34a;
}

/* Confetti */
#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tick-pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
  75% { transform: translateX(-8px); }
  100% { transform: translateX(0); }
}

.shake-error {
  animation: shake 0.5s ease-in-out;
  border: 2px solid red;
}

/* Responsive Support */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-wrapper {
    flex: 1 1 100%;
    padding: 25px;
  }
}
