/* Default styles for large screens */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.coursecard{
  margin-top: 5px;
  margin-bottom: 15px;
}
.coursecard a {
  text-decoration: none;
  font-size: larger;
  font-weight: 500;
}
.card-body {
  text-decoration: none;
  background-color: rgb(238, 244, 241);
  color: rgb(25, 24, 24);
  margin: 3px, 10px;
  border-radius: 10px;
}
.body-image {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: url('../images/laptop.jpg') no-repeat center center;
  background-size: cover;
}
.card-image {
  width: 400px;
  padding: 20px;
  margin-left: 80px;
  background-color: rgb(229, 223, 223);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-top: 40px;
  height: 100px;
}
.carousel-inner img {
  height: 200px;
  object-fit: cover; /* Ensures images cover the container without distortion */
}
/* Add left and right margins */
#carouselExampleDark {
  margin-left: 30px;
  margin-right: 30px;
}
.background-image {
  background: url('../images/index.png') no-repeat;
  background-size: cover;
  border-radius: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 30px;
  margin-right: 30px;
}
.otp-verify{
  background: url('../images/index.png') no-repeat center center fixed;
  background-size: cover;
  border-radius: 30px;
  height: 600px;
}
/* Centering the form without a container */
.center-form {
  width: 300px;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Styling form groups and reducing space between them */
.form-group {
  margin-bottom: 2px;
}

/* Styling the input fields */
.form-control {
  width: 100%;
  padding: 3px;
  margin-top: 3px;
  margin-bottom: 3px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Styling the submit button */
.btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* contact-us page css */
.core-values {
display: flex;
justify-content: center;
align-items: center;
color: white;
flex-direction: column;
align-items: flex-start;
font-size: xx-large;
padding-left: 100px;
}
.core-values h4{
padding-left: 100px;
text-decoration: underline;
}
.core-values ul {
list-style-type: none;
padding-left: 100px;
}

.core-values li {
margin-bottom: 10px;
font-size: 16px;
font-weight: bold;
}
.service-img {
width: 100%;
height: auto;
border-radius: 10px;
}
.services-details{
color: white;
margin-top: 70px;
}
.form-container {
overflow-y: auto;
}

form {
display: flex;
flex-direction: column;
width: 300px;
padding: 15px;
border: 1px solid #ccc;
border-radius: 10px;
background-color: #f9f9f9;
}
label {
margin-top: 8px;
font-weight: bold;
}

input, textarea {
margin-top: 5px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
width: 100%;
box-sizing: border-box;
}

.subbutton {
margin-top: 15px;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #007BFF;
color: white;
font-size: 16px;
cursor: pointer;
}

.subbutton:hover {
background-color: #0056b3;
}

/* abt us page css */

.abt-section {
position: relative;
width: 100%;
height: 100vh; /* Full viewport height */
display: flex;
justify-content: center;
align-items: center;
overflow: hidden; /* Ensures no overflow from the image */
margin: 0;
padding: 0;
background: url('../images/index.png') no-repeat center center fixed;
background-size: cover;
border-radius: 40px;
transition: background-position 0.2s ease; /* Smooth scroll effect */
}

.overlay {
color: white;
text-align: center;
padding: 20px;
margin-left: 420px;
width: 70%; /* Adjust as needed */
}

.overlay h4 {
margin-bottom: 20px;
font-size: 2em; /* Adjust as needed */
color: rgb(236, 176, 49);
}

.overlay p {
font-size: 1.2em; /* Adjust as needed */
}

.image-card {
width: 45%;
}

.image-card img {
width: 100%;
border-radius: 10px;
}

.abt-card {
background: rgba(0, 0, 0, 0.5);
padding: 20px;
border-radius: 10px;
width: 45%;
text-align: left;
}

.abt-card h2 {
font-size: 1.8em;
margin-bottom: 10px;
}

.abt-card p {
font-size: 1em;
line-height: 1.6;
}

.cards-section {
display: flex;
justify-content: space-around;
align-items: stretch;
padding: 50px 20px;
flex-wrap: wrap;
}

.abtcard {
background: #fff;
border: 1px solid #ddd;
border-radius: 10px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
flex: 1;
margin: 10px;
max-width: 300px;
text-align: center;
}

.abtcard h4 {
font-size: 2em;
margin-bottom: 20px;
color: #333;
}

.abtcard p, .abtcard ul {
font-size: 1.2em;
line-height: 1.6;
color: #666;
}

.abtcard ul {
list-style-type: none;
padding: 0;
}

.abtcard li {
margin: 10px 0;
}

/* what we do page css */
header {
margin-bottom: 20px;
color: #007bff;
}

h1, h2 {
margin: 0;
padding: 20px 0;
}

.grid-section {
padding: 30px;
}

.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.grid-item {
background-color: white;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}

.grid-item img {
width: 40%;
border-radius: 15px;
margin-bottom: 10px;
}

.grid-item h5 {
font-size: 1.5em;
line-height: 1.6;
color: rgb(246, 88, 88);
}

.services-section {
padding: 40px 20px;
text-align: center;
}

.services-section h2 {
margin-bottom: 20px;
color: #007bff;
}

.services-container {
display: flex;
flex-direction: column;
align-items: center;
}

.service-item {
background-color: #f8f9fa;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
width: 80%;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
font-size: 1.8em;
margin-bottom: 10px;
}

.service-item p {
font-size: 1.2em;
color: #555;
}

/* For smaller devices (tablets and phones) */
@media (max-width: 768px) {
.abt-section {
  background-position: center top; /* Ensures the image stays fixed during scroll */
}
.overlay {
  margin-left: 0;
  width: 90%;
}
.image-card {
  width: 100%;
}
.abt-card {
  width: 100%;
  margin-bottom: 10px;
}
.cards-section {
  flex-direction: column;
}
.coursecard {
  margin-bottom: 10px;
}
}
