/* Why Us Page Styling - Aligned with Website Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --hero-gradient: linear-gradient(135deg, #0a1128, #1282a2);
  --accent-color: #00c3ff;
  --text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  --hero-text-color: #ffffff;
  --primary-color: #0066cc;
  --primary-light: #3a8dff;
  --primary-dark: #0052a3;
  --secondary-color: #1a1a2e;
  --text-color: #333333;
  --text-light: #64748b;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: rgba(0, 102, 204, 0.1);
  --border-radius: 12px;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 35px rgba(0, 0, 0, 0.12);
}

/* Base Layout */
.main-container {
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.scroll-container {
  width: 100%;
}

/* Redesigned Hero Section */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 650px;
  overflow: hidden;
  background: var(--hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 2rem;
  max-width: 1000px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--hero-text-color);
  text-shadow: var(--text-shadow);
  position: relative;
  animation: heroTitleAnimation 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  background: linear-gradient(90deg, #ffffff, #00c3ff, #ffffff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 5s infinite alternate;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 400;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: heroSubtitleAnimation 1.2s ease-out 0.4s forwards;
  opacity: 0;
  transform: translateY(20px);
  line-height: 1.6;
}

.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  left: -150px;
  animation: floatAnimation 20s infinite alternate ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
  animation: floatAnimation 25s infinite alternate-reverse ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-shape-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  right: 15%;
  animation: floatAnimation 30s infinite alternate ease-in-out;
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.1), rgba(0, 102, 204, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add a fourth shape for more visual interest */
.hero-shape-4 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 10%;
  animation: floatAnimation 22s infinite alternate-reverse ease-in-out;
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.08), transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40%;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  animation: pulseAnimation 2s infinite alternate;
  transition: all 0.3s ease;
  font-weight: 500;
}

.hero-scroll:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(-5px);
}

.hero-scroll svg {
  margin-top: 10px;
  width: 24px;
  height: 24px;
  animation: bounceAnimation 2s infinite;
}

/* Why Us Hero Section - Updated to match About Us page */
.whyus-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0052a3, #0066cc);
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.whyus-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.8;
}

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

.whyus-hero-content .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whyus-title {
  font-size: 3.5rem;
  margin: 1rem 0;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whyus-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(40px);
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  top: -250px;
  right: -100px;
  border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
  animation: float 15s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 195, 255, 0.15);
  bottom: -100px;
  left: -50px;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  animation: float 20s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 195, 255, 0.1));
  top: 30%;
  left: 20%;
  border-radius: 35% 65% 60% 40% / 50% 45% 55% 50%;
  animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Page Content Container */
.page {
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3.5rem;
  position: relative;
}

.section-badge {
  display: inline-block;
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  position: relative;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Features Heading (when used without a badge) */
.features-heading {
  position: relative;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.features-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Why Us Main Features */
.why-us-section {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 0;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 204, 0.2);
}

.feature-icon {
  color: var(--primary-color);
  background: rgba(0, 102, 204, 0.08);
  min-width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.feature-item:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.feature-description {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Benefits Section */
.benefits-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 1.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 204, 0.2);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.benefit-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.benefit-description {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 204, 0.2);
}

.testimonial-content {
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  color: rgba(0, 102, 204, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content p {
  color: var(--text-light);
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(0, 102, 204, 0.2);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--secondary-color);
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 600;
}

.author-info p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, 20px) scale(1.05);
  }
  100% {
    transform: translate(-10px, -10px) scale(1);
  }
}

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

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

/* Footer Fixes */
#footer-container {
  margin-top: 0;
  padding: 0;
}

.page.footer {
  padding: 0;
  margin: 0;
  min-height: auto;
}

/* Container styling */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Light section background */
.section-light {
  background-color: var(--bg-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title,
  .features-heading {
    font-size: 2.2rem;
  }
  
  .feature-item {
    padding: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-container {
    max-height: 550px;
  }

  .whyus-title {
    font-size: 3rem;
  }
  
  .whyus-subtitle {
    font-size: 1.3rem;
  }
  
  .whyus-hero {
    padding: 7rem 2rem 3rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    max-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .page {
    padding: 3rem 1.5rem;
  }
  
  .section-title,
  .features-heading {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.2rem;
  }
  
  .testimonial-card, .benefit-card {
    padding: 1.8rem;
  }
  
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 200px;
    height: 200px;
  }
  
  .hero-shape-3 {
    width: 150px;
    height: 150px;
  }

  .whyus-hero {
    padding: 6rem 1.5rem 3rem;
    min-height: 35vh;
  }
  
  .whyus-title {
    font-size: 2.5rem;
  }
  
  .whyus-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-container {
    max-height: 450px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-top: 1rem;
  }
  
  .page {
    padding: 2.5rem 1rem;
  }
  
  .section-title,
  .features-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .feature-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .feature-icon {
    margin: 0 auto 0.5rem;
  }
  
  .feature-content {
    text-align: center;
  }
  
  .testimonial-content::before {
    font-size: 3rem;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
  }
  
  .features-list,
  .benefits-grid,
  .testimonials-grid {
    gap: 1.5rem;
  }
  
  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }
  
  .hero-shape-2 {
    width: 150px;
    height: 150px;
  }
  
  .hero-shape-3 {
    width: 120px;
    height: 120px;
    display: none;
  }

  .whyus-hero {
    padding: 5rem 1rem 2.5rem;
    min-height: 30vh;
  }
  
  .whyus-title {
    font-size: 2rem;
  }
  
  .whyus-subtitle {
    font-size: 1rem;
    margin-top: 1rem;
  }
}

/* Add box-sizing globally to fix overflow issues */
* {
  box-sizing: border-box;
}

/* CTA Section Styling - Matching index.html */
.cta-section {
  background: linear-gradient(135deg, #0066cc, #00a3ff);
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 5rem 0;
}

.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.cta-shape-1 {
  width: 500px;
  height: 500px;
  background: white;
  top: -250px;
  right: -100px;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: white;
  bottom: -100px;
  left: -50px;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content .section-title {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.cta-button {
  background: white;
  color: var(--primary-color);
  padding: 0.9rem 2.2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: var(--primary-color);
}

.cta-button-secondary {
  background: transparent;
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
}

.cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  color: white;
}