/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #fff;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  filter: brightness(0.6); /* dark overlay for text contrast */
}

/* Text Overlay */
.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
}

.slide.active .text {
  opacity: 1;
  animation: slideText 1.5s ease forwards;
}

.text h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}

.text p {
  font-size: 20px;
  background: rgba(0, 102, 204, 0.6);
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  color: #ffffff;
  font-weight: 500;
}

/* Text Animation */
@keyframes slideText {
  0% {
    transform: translate(-50%, -60%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .text h2 {
    font-size: 36px;
  }
  .text p {
    font-size: 16px;
    padding: 8px 20px;
  }
}

@media (max-width: 768px) {
  .banner {
    height: 400px;
  }
  .slide img {
    height: 400px;
  }
  .text h2 {
    font-size: 24px;
  }
  .text p {
    font-size: 14px;
  }
}


/* Subjects Section */
.subjects {
  padding: 100px 0;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}

.section-title {
  font-size: 42px;
  color: #004aad;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  animation: fadeInDown 1.2s ease;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #004aad;
  border-radius: 2px;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.subject-box {
  background: #f8f9ff;
  color: #004aad;
  padding: 30px 20px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.subject-box i {
  display: block;
  font-size: 35px;
  margin-bottom: 12px;
  color: #004aad;
  transition: all 0.3s ease;
}

/* Hover Effect */
.subject-box:hover {
  background: #004aad;
  color: #ffffff;
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 74, 173, 0.4);
}

.subject-box:hover i {
  color: #ffffff;
  transform: rotate(10deg) scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
  .subject-box {
    font-size: 16px;
    padding: 20px;
  }
  .subject-box i {
    font-size: 28px;
  }
}

/* AI Education Section */
.ai-education {
  padding: 100px 0;
  background: #f9fbff;
  color: #333;
}

.ai-education .section-title {
  text-align: center;
  font-size: 42px;
  color: #004aad;
  margin-bottom: 20px;
  animation: fadeInDown 1.2s ease;
}

.ai-education .section-desc {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
  font-size: 17px;
  line-height: 1.8;
}

/* Pros Section */
.ai-pros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.ai-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 74, 173, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.ai-card i {
  font-size: 40px;
  color: #004aad;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.ai-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
}

.ai-card:hover i {
  color: #ffffff;
  background: #004aad;
  padding: 12px;
  border-radius: 50%;
}

/* Cons Section */
.ai-cons {
  background: #ffffff;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 74, 173, 0.1);
  margin-bottom: 60px;
}

.ai-cons h3 {
  color: #004aad;
  margin-bottom: 20px;
  font-size: 28px;
}

.ai-cons blockquote {
  font-style: italic;
  background: #eaf0ff;
  padding: 20px;
  border-left: 6px solid #004aad;
  margin-bottom: 30px;
  color: #333;
}

.ai-cons blockquote span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.ai-list {
  list-style: none;
  padding: 0;
}

.ai-list li {
  margin-bottom: 12px;
  font-size: 17px;
  color: #444;
}

.ai-list i {
  color: #d9534f;
  margin-right: 10px;
}

/* Expert Section */
.ai-expert h3 {
  color: #004aad;
  margin-bottom: 20px;
  font-size: 28px;
  text-align: center;
}

.ai-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit {
  background: #eaf0ff;
  padding: 20px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit i {
  color: #004aad;
  font-size: 22px;
}

.benefit:hover {
  background: #004aad;
  color: #fff;
  transform: translateY(-8px);
}

.benefit:hover i {
  color: #fff;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .ai-education .section-title {
    font-size: 30px;
  }
  .ai-cons, .ai-expert {
    padding: 30px;
  }
}

/* ==============================
   Experienced Consultants Section
============================== */
.experienced-section {
  background-color: #fff7f0; /* Light orange background */
  padding: 100px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.experienced-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Left Text Section */
.text-section {
  flex: 1 1 500px;
  animation: fadeInLeft 1.2s ease;
  padding-left: 20px;
}

/* Right Image Section */
.image-section {
  flex: 1 1 450px;
  text-align: center;
  animation: fadeInRight 1.2s ease;
}

@media (max-width: 600px){
    
    .image-section {
  flex: 1 1 0px;
  text-align: center;
  animation: fadeInRight 1.2s ease;
}
 
}

.image-section img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(255, 106, 0, 0.2);
}

/* Headings & Paragraphs */
.section-heading {
  font-size: 38px;
  color: #ff6a00; /* Orange theme */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.sub-heading {
  font-size: 20px;
  color: #ffa040; /* lighter orange */
  margin-bottom: 20px;
}

.intro-text {
  font-size: 17px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.feature-box {
  background: #fff2e6;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 106, 0, 0.1);
}

.feature-box i {
  color: #ff6a00;
  font-size: 24px;
}

.feature-box:hover {
  background: #ff6a00;
  color: #fff;
  transform: translateY(-6px);
}

.feature-box:hover i {
  color: #fff;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  margin-top: 30px;
  background: #ff6a00;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

.cta-btn:hover {
  background: #ffa040;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .experienced-content {
    flex-direction: column;
    text-align: center;
  }
  .text-section { padding-left: 0; }
  .section-heading { font-size: 32px; }
}


/* Tips Section */
.tips-section {
  background: #fff7f0; /* light orange background */
  padding: 100px 0;
  text-align: center;
}

.tips-section .section-title {
  font-size: 42px;
  font-weight: 700;
  color: #ff6a00; /* Orange theme */
  margin-bottom: 60px;
  position: relative;
}

.tips-section .section-title::after {
  content: "";
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ff6a00, #ffa040);
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.tip-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(255, 106, 0, 0.1);
  padding: 40px 30px;
  transition: all 0.5s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.tip-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,106,0,0.05), rgba(255,106,0,0.15));
  transition: all 0.5s ease;
}

.tip-box:hover::before {
  left: 0;
}

.tip-box .icon {
  background: linear-gradient(135deg, #ff6a00, #ffa040);
  color: #fff;
  font-size: 28px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.5s ease;
}

.tip-box:hover .icon {
  transform: rotate(10deg) scale(1.15);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.4);
}

.tip-box h3 {
  font-size: 22px;
  color: #ff6a00;
  font-weight: 700;
  margin-bottom: 12px;
}

.tip-box p {
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.tip-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(255, 106, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .tip-box {
    text-align: center;
    padding: 30px 20px;
  }
  .tip-box .icon {
    margin: 0 auto 20px;
  }
  
  .tips-section {
  background: #fff7f0; /* light orange background */
  padding: 0px 0;
  text-align: center;
}

}

@media (max-width: 600px){ 
    .tips-section {
  background: #fff7f0; /* light orange background */
  padding: 0px 0;
  text-align: center;
}
    
}

/* FUN FACTS SECTION (Blue Theme) */
/* ==============================
   Fun Facts Section (Orange Theme)
============================== */
.funfacts-section {
  background: linear-gradient(120deg, #fff7f0 0%, #ffe6cc 100%);
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.funfacts-title {
  font-size: 42px;
  font-weight: 800;
  color: #ff6a00;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.funfacts-title span {
  color: #ffa040;
}

.funfacts-title small {
  font-size: 20px;
  color: #ff6a00;
  font-weight: 600;
  letter-spacing: 2px;
}

.funfacts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Fun Fact Card */
.funfact-card {
  background: #fff3e6;
  border-radius: 25px;
  padding: 50px 30px;
  width: 300px;
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.funfact-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 106, 0, 0.25);
}

.funfact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,0.1), transparent);
  transition: 0.8s;
}

.funfact-card:hover::before {
  left: 100%;
}

/* Icon */
.icon-wrapper {
  background: linear-gradient(135deg, #ff6a00, #ffa040);
  color: #fff;
  font-size: 38px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
  animation: pulseOrange 2.5s infinite;
}

@keyframes pulseOrange {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 106, 0, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(255, 160, 64, 0.4); }
}

/* Count */
.funfact-card h3 {
  font-size: 48px;
  color: #ff6a00;
  margin: 10px 0;
  font-weight: 800;
}

/* Text */
.funfact-card p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.funfact-card p span {
  color: #ffa040;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .funfacts-grid {
    flex-direction: column;
    align-items: center;
  }
  .funfact-card {
    width: 85%;
  }
}

/* ======= Trusted Section (Modern Blue Theme) ======= */
.trusted-modern {
  padding: 100px 0;
  background: #f9fafc;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

.trusted-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

/* Left Image */
.image-side {
  flex: 1 1 45%;
  animation: fadeInLeft 1s ease forwards;
}

.image-side img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.image-side img:hover {
  transform: scale(1.05);
}

/* Right Text */
.text-side {
  flex: 1 1 50%;
  animation: fadeInRight 1s ease forwards;
}

.main-heading {
  font-size: 34px;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 10px;
}

.sub-heading {
  font-size: 20px;
  color: #007bff;
  margin-bottom: 20px;
}

.text-side p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.feature i {
  font-size: 24px;
  color: #007bff;
}

.feature span {
  font-weight: 600;
  color: #002b5b;
}

.feature:hover {
  transform: translateY(-6px);
  background: #007bff;
  color: #fff;
}

.feature:hover i,
.feature:hover span {
  color: #fff;
}

/* Button */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #0056b3, #007bff);
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .trusted-content {
    flex-direction: column;
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .main-heading {
    font-size: 28px;
  }

  .sub-heading {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ========== Trusted Services Section ========== */
.trusted-services {
  background: #f7faff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trusted-services .section-title {
  font-size: 2.4rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.trusted-services .section-subtitle {
  color: #666;
  margin-bottom: 60px;
  font-size: 1.05rem;
}

/* Grid layout (3 per row on desktop) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Card */
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 45px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Gradient border hover effect */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #007bff, #00aaff) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

.service-card:hover::before {
  opacity: 1;
}

/* Icon Box */
.icon-box {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, #007bff, #00aaff);
  color: #fff;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin: 0 auto 25px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.service-card:hover .icon-box {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

/* Titles & Text */
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 12px;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Reveal Animation */
.service-card {
  opacity: 0;
  transform: translateY(40px);
}

.service-card.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
  .trusted-services .section-title {
    font-size: 2rem;
  }
  .service-card {
    padding: 35px 25px;
  }
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials-slider {
  background: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.testimonials-slider .section-subtitle {
  color: #ff6a00;
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonials-slider .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 60px;
}

.testimonials-slider .section-title span {
  color: #ff6a00;
}

/* Slider wrapper */
.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  animation: scrollLoop 25s linear infinite;
}

/* Card styles */
.testimonial-card {
  flex: 0 0 300px;
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 20px;
  border: 2px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  text-align: center;
  cursor: pointer;
}

.testimonial-card.active {
  border-color: #ff6a00;
}

.testimonial-card.active .quote,
.testimonial-card.active .client-name,
.testimonial-card.active .client-role,
.testimonial-card.active .stars {
  color: #ff6a00;
}

.quote {
  font-style: italic;
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

.stars {
  color: #ff6a00;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.client-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
}

.client-role {
  font-size: 0.9rem;
  color: #777;
}

/* Scroll Animation */
@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hover to highlight card */
.testimonial-card:hover {
  border-color: #ff6a00;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-track {
    gap: 20px;
  }
  .testimonial-card {
    flex: 0 0 80%;
  }
}


/* services.css - styles for the Academic Services section */
:root {
  --main-blue: #004aad;
  --soft-blue: #eaf3ff;
  --card-radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --accent: #005ce6;
  --muted: #4b5563;
}

.services-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
  color: #0f1724;
  font-family: 'Poppins', system-ui, sans-serif;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.services-title {
  color: var(--main-blue);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.services-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
  color: var(--muted);
  line-height: 1.6;
}

/* grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* card */
.service-card {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  align-items: flex-start;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2,.9,.3,1), opacity .55s ease;
  border: 1px solid rgba(0,74,173,0.04);
}

.service-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* icon */
.card-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--soft-blue), #ffffff);
  box-shadow: 0 6px 18px rgba(0,74,173,0.06);
  border: 1px solid rgba(0,74,173,0.08);
}

/* body */
.card-body {
  flex: 1 1 auto;
}

.card-title {
  font-size: 1.05rem;
  color: var(--main-blue);
  margin: 0 0 8px;
  font-weight: 700;
}

.card-desc {
  margin: 0 0 12px;
  color: #374151;
  line-height: 1.55;
  font-size: 0.955rem;
}

/* tags chips */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  background: rgba(0,74,173,0.06);
  color: var(--main-blue);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(0,74,173,0.08);
}

/* hover lift for each card */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,74,173,0.08);
}

/* responsive */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 14px; }
  .card-icon { width: 56px; height: 56px; flex-basis: 56px; }
}
