/* service.css */

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
}

/* Global Heading Alignment */
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

/* Main Container */
.vidya-service-page {
  max-width: 1200px;
  margin: 0 auto; /* Centers the container on the page */
  padding: 40px 20px; /* Adjusted left/right padding for margins */
}

/* Header Section */
.vidya-service-header {
  padding: 40px 0;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  border-radius: 8px;
}

.vidya-service-header h1 {
  margin: 0;
  font-size: 3em;
}

.vidya-service-header p {
  font-size: 1.2em;
  margin-top: 10px;
}

/* Intro Section */
.vidya-intro {
  margin: 40px auto;       /* Centers the section horizontally */
  max-width: 800px;        /* Limits text width for better readability */
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  padding: 0 20px;         /* Ensures left/right margins inside the section */
}

/* Services Cards Section */
.vidya-services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
  justify-content: center;
}

.vidya-service-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(30% - 20px);
  padding: 20px;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

.vidya-service-card:hover {
  transform: translateY(-5px);
}

.vidya-service-card h2 {
  margin-top: 0;
  color: #2575fc;
}

/* Why Choose Section */
.vidya-why-choose {
  margin: 40px auto;       /* Centers the section */
  max-width: 800px;        /* Creates side margins */
  text-align: center;
  padding: 0 20px;
}

.vidya-why-choose h2 {
  margin-bottom: 20px;
}

.vidya-why-choose ul {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.vidya-why-choose li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.vidya-why-choose li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2575fc;
}

/* Process Section */
.vidya-process {
  margin: 40px auto;       /* Centers the section */
  max-width: 800px;        /* Creates side margins */
  text-align: center;
  padding: 0 20px;
}

.vidya-process h2 {
  margin-bottom: 20px;
}

.vidya-process ol {
  padding-left: 40px;
  text-align: left;
  display: inline-block;
}

/* Contact Section */
.vidya-contact {
  background-color: #2575fc;
  color: #fff;
  padding: 40px 20px;
  border-radius: 8px;
  text-align: center;
  margin: 40px auto;       /* Centers the section */
  max-width: 800px;        /* Limits width so text doesn't span too wide */
}

.vidya-contact h2 {
  margin-top: 0;
  font-size: 2em;
}

.vidya-contact p {
  font-size: 1.2em;
}

/* Contact Button */
.vidya-contact-button {
  display: inline-block;
  margin-top: 20px;
  background-color: #fff;
  color: #2575fc;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.vidya-contact-button:hover {
  background-color: #f7f7f7;
}