/* home page group style */

/* home page group style */

/* Section Background */
.program-section {
  background-color: rgb(8, 8, 59);
  padding: 60px 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
}

.program-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
  max-width: 1200px;
}

/* Left Text Section */
.program-text {
  width: 40%;
  padding: 20px;
}

.program-text h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.program-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #ddd;
}

/* Right Side Slider */
.slider-container {
  width: 55%;
  overflow: hidden;
}

/* Card Styling */
.card {
  background: #ffffff;
  color: #333;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  width: 270px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Full Image without spacing */
.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 15px;
}

.grp-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: #007bff;
  margin-bottom: 8px;
}

.subject-list {
  list-style-type: none;
  padding: 0;
  font-size: 1rem;
  color: #0f0f0f;
  text-align: center;
}

/* Swiper Adjustments */
.swiper {
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navigation Buttons */
.swiper-nav {
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
}

.swiper-nav button {
  background: rgb(246, 248, 248);
  border: none;
  color: rgb(7, 7, 7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

.swiper-nav button:hover {
  background: rgba(255, 255, 255, 0.3);
}

 
/* 📱 Responsive Design for Small Screens */
@media (max-width: 768px) {
  .program-container {
    flex-direction: column;
    text-align: center;
  }
  .program-text h1 {
    font-size: 26px; 
  }
  
  .program-text p {
    font-size: 16px; 
  }
  /* Text Section on Top */
  .program-text {
    width: 90%;
    margin-bottom: 20px;
  }

  /* Cards Below */
  .slider-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Keep Cards Same Size */
  .swiper-slide {
    flex: 0 0 auto; /* Ensures full card is visible */
    width: 100%; /* Full width */
    display: flex;
    justify-content: center;
  }
  .swiper-nav { 
    display: flex;
    justify-content: center;
  }
  .card {
    width: 270px; /* Fixed Width */
    height: 350px; /* Fixed Height */
  }
}










/*  
.col {
 
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

 .group-h-heading{
  font-size: 32px;
  font-weight: 600;
  text-align: center;
	width: fit-content;
	margin: 5rem auto  ;
	position: relative;
 }
 .group-h-heading:before {
	content: "";
	position: absolute;
	bottom: -15%;
	left: -10%;
	width: 120%;
	height: 5px;
	border-radius: 10px;
   }
.group-heading{
  padding-top: 50px;
  
}

.container-group {
display: grid;
grid-template-columns: repeat(4, 1fr);
 
margin: 100px ;
justify-content: space-evenly;
}
.container-group .col {
height:450px;
}
.container-group .col .card {
max-width: 250px;
height: 350px;
position: relative;
border: 10px solid #ffffff;
  box-shadow: 1px 1px 10px rgba(34, 34, 34, 0.2),
  inset 1px 1px 5px rgba(34, 34, 34, 0.2);  
  border-radius: 20px;
 
 
perspective: 1000px;
}
.container-group .col .card__side {
border-radius: 2px;
height: 100%;
width: 100%;
padding: 20px;
box-shadow: 2px 2px 5px rgba(34, 34, 34, 0.5);
position: absolute;
top: 0;
left: 0;
backface-visibility: hidden;

transition: all 0.8s ease-in-out;
}
.container-group .col .card__side .frame {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
font-size: 14px;

}

.container-group .col .card__side .frame ul{
  padding-left: 20px;
}
.container-group .col .card__side .frame ul li{
list-style: none;
line-height: 1.5em;
color: black;
list-style:disc;
}

 
.container-group .col .card__side--front {
filter: contrast(80%);
background-size: cover;
background-position: center;
 
 
}
.container-group .col .card__side--front-1 {
  background-color:#093c5b; 
  border-radius: 15px;
}
.container-group .col .card__side--front-2 {
  background-color: #ffde00;
  border-radius: 15px;
}
.container-group .col .card__side--front-3 {
  background-color:#f01d2c;
  border-radius: 15px;

}
.container-group .col .card__side--front-4 {
  background-color: #324e9e;
  border-radius: 15px;
}
 
.container-group .col .card__side--front .frame .grp-name {
color: rgb(202, 31, 31);
 
font-weight: 500;
font-size: 22px;
background-color: #fff;
padding: 10px;
 border-radius: 10px;
}

 
.container-group .col .card__side--back {
background-color: white;
 
transform: rotateY(180deg);
}
.container-group .col .card__side--back .frame {
 
position: relative;
padding-top: 50px;
 
}
.container-group .col .card__side--back .frame p {
width: 70%;
text-align: justify;
line-height: 1.5;
 
 
}
.container-group .col .card__side--back .frame small {
position: absolute;
bottom: 20px;
}

.card:hover .card__side--front {
transform: rotateY(-180deg);
}

.card:hover .card__side--back {
transform: rotateY(0);
}





@media (max-width: 1200px) {
.container-group {
  grid-template-columns: repeat(2, 1fr);
}
.container-group .col {
  height: 370px;
}
}

@media (max-width: 850px) {
.container-group {
  grid-template-columns: 1fr;
}
}

@media (max-width: 600px) {
.container-group .col {
  width: 350px;
}
.frame ul  {
  padding-left: 35px;
}

.container-group .col .card__side--back .frame {
  background-color: white;
 
  box-shadow: inset 1px 1px 1px #22222220;
}
}

 
.col:nth-child(1) { transform: translateX(-100px); }
.col:nth-child(2) { transform: translateY(-100px); }
.col:nth-child(3) { transform: translateY(100px); }
.col:nth-child(4) { transform: translateX(100px); }
 
.col.show {
 
  transform: translateX(0) translateY(0);
}
 .group-img{
  border-radius: 50%;
  width: 180px ;
  height: 170px ;
 }
 
 .card__side--front .frame{
  display: flex;
  justify-content: space-between;
  gap: 40px;
 }

 .group-name-back{
  color: rgb(202, 31, 31);
  margin-bottom: 30px; 
  font-size: 22px;
  
 } */