/* Services Page Specific Styles - Only for content sections */

/* Main Content Styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.section {
    margin-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* responsive grid */
  gap: 20px;
}

.service-card {
  display: block;
  width: 100%;                /* take full grid cell width */
  max-width: 350px;           /* optional max width */
  height: 250px;              /* fixed height */
  text-decoration: none;
  color: inherit;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
}
/* Section spacing */
.section {
  margin-bottom: 80px;
  padding: 20px 0;
}

/* Section title & subtitle styling */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
}

/* Grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* Card style */
.service-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 15px 0 10px;
  color: #222;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.service-icon {
  font-size: 2rem;
  color: #6A00FF;
}

/* List inside card */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #333;
}

.service-features li::before {
  content: "✔";
  color: #3b82f6;
  margin-right: 8px;
}

/* CTA section */
.cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9ff;
  border-top: 1px solid #e0e0e0;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-description {
  font-size: 1.1rem;
  color:white;
  margin-bottom: 20px;
}

.cta-button {
  padding: 12px 28px;
  background-color: #6A00FF;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #5200cc;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.4;
}


.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #f59e0b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e1e2f 0%, #2d3748 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin: 4rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
    /* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Navbar */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Slider Container */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Slides Wrapper */
.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Individual Slide */
.hero-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 10%;
  color: #fff;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Hero Content */
.hero-text {
  max-width: 600px;
}
.hero-tag-btn {
  background: #fff;
  color: #000;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}
.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}
.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
}
.hero-btn {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
}
.hero-learn {
  background: #263859;
  color: #fff;
}
.hero-contact {
  background: #f5b400;
  color: #000;
}

/* Dots Navigation */
.hero-dots {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #c4c4c4;
  cursor: pointer;
}
.hero-dot.active {
  background: #f5b400;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .nav-menu-toggle {
    display: block;
  }

  .hero-title { font-size: 50px; }
  .hero-desc { font-size: 40px; }

  /* Keep buttons side by side */
  .hero-buttons {
    flex-direction: row;
    justify-content: left;
    gap: 15px;
  }

  /* Move dots below buttons on mobile */
  .hero-dots {
    position: static;
    flex-direction: row;
    justify-content:center;
    margin-top: 5px;
    transform: none;
  }
}

@media (max-width: 600px) {
  .hero-slide{
    margin-top: 20px;
  }
  .hero-slide.active{
    margin-top: 20px;
  }
  .hero-text{
    margin-top: 100px;
  }
  .hero-title{font-size: 24px;}
  .hero-desc{font-size: 14px;}
}

  /* cards allignment */
  