.navbar{
    background-color: white !important;
  }
  .sch{
    color:#ff6347;
  }
  .navbar a{
    font-size: 18px;
    color: black !important;
    font-family: sans-serif;
    transition: all 0.9s ease;
    margin: 0px 6px;
  }
  .navbar li{
    position: relative;
  }
  .navbar li:before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background: red;
    width: 100%;
    height: 100%;
    margin: 2px 6px;
    width: 0;

  }
  .udosen_text{
background-color: white;
 width: 60%; margin: 0px auto;
 border-radius: 30px; 
 color: rgb(247, 69, 38)
  }
  .benefits-list {
      list-style: none;
      padding-left: 0;
    }

    .benefits-list li {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      background-color: #fafafa;
      padding: 15px;
      border-radius: 6px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: background-color 0.3s ease;
    }

    .benefits-list li:hover {
      background-color: #f0f0f0;
    }

    .benefits-list li::before {
      content: "\2713"; /* Check mark symbol */
      color: tomato;
      font-size: 1.5em;
      font-weight: bold;
      display: inline-block;
      margin-right: 15px;
    }

    .benefits-list li strong {
      color: #555;
      font-size: 18px;
      display: block;
      margin-bottom: 5px;
    }

    .benefits-list li span {
      color: #666;
      font-size: 16px;
      line-height: 1.6;
    }

  .navbar .nav-link:hover{
    background-color: tomato;
    color: white !important;
    border-radius: 20px;
  }
  .crs-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 100000;
    padding: 20px;
    background-color: #ffffff;
}

.crs-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.gallery-text{
  padding: 30px;
    text-align: center;
    font-size: 30px;
    font-family: Butler;
    font-weight: 600;
}

.crs-card:hover {
    transform: scale(1.05);
}

.crs-icon {
    font-size: 50px;
    margin-bottom: 15px;
    color: #ff7043; /* Orange accent for icons */
}

.crs-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}
/* Container for each class section */
.description_section {
position: relative;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  overflow: hidden;
  position: relative;
}
.overlay_description{
  position: absolute;
  content: "";
  width: 100%;
  height: 70%;
  top: 0%;
}
.map-container{
  position: relative;
height: 70vh;
}
.testimony-section {
height:auto;
    color: #000000;
    padding: 0.5em 0;
}
.testimony-section h2{
  padding: 10px;
  font-family: poppins;
  color: #000000e4;
  
}
.slick-dots{
  bottom: 30%;
}

.testimony-slider {
    width: 100%;
    max-width: 500px;
    margin: auto;
   position: relative;
}

.containere{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	overflow: hidden;
}

.testimonial {
	width: 500px;
	max-width: 100%;
	background: rgb(246, 57, 24);
	padding: 4em 3em;
  color: white;
  font-family: poppins;
	display: flex;
	align-items: flex-end;
	position: relative;
	box-shadow: 0 2px 2px hsl(0deg 0% 0%/.075), 0 3px 3px hsl(0deg 0% 0%/.075), 0 5px 5px hsl(0deg 0% 0%/.075), 0 9px 9px hsl(0deg 0% 0%/.075), 0 17px 17px hsl(0deg 0% 0%/.075);
	position: relative;
	&:after {
		content: "";
		border: 8px solid rgb(0, 0, 0);
		border-radius: 50px;
		width: 85%;
		height: 120%;
		position: absolute;
		z-index: -1;
		left: 1.5em;
		top: -2em;
	}
	&:before {
		content: "";
		position: absolute;
		bottom: -6.2em;
		left: 5em;
		z-index: 1;		
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 70px 100px 0 0;
		border-color: rgb(0, 0, 0) transparent transparent transparent;
	}



	.quote {
		position: absolute;
		font-size: 3em;
		width: 40px;
		height: 40px;
		background: rgb(0, 0, 0);
		color: #fff;
		text-align: center;
		line-height: 1.25;
		&.open {
			top: 0;
			left: 0;
		}
		&.close {
			bottom: 0;
			right: 0;
		}
	}
	p {
		width: 60%;
		display: inline-block;
		font-size: 1.2em;
	}
	.source {
		width: 40%;
		height: 100%;
		position: relative;		
		span {			
			display: inline-block;
			font-size: 1.1em;
			position: relative;
			margin-left: 1rem;
			text-align: right;			
			&:before {
				content: "\2014";
				display: inline;
				margin-right: 5px;
			}
		}		
	}
	.image {
		transform: rotate(-5deg);
		position: absolute;
		top: 0.5em;
		right: 1.5em;
		img {
			border: 10px solid #fff;
			margin: 0;
			padding: 0;
		}
		.clip {
			border: 2px solid #222;
			border-right: none;
			height: 75px;
			width: 20px;
			position: absolute;
			right: 30%;
			top: -15%;
			border-radius: 25px;
			&:before {
				content: "";
				position: absolute;
				top: -1px;
				right: 0;
				height: 10px;
				width: 16px;
				border: 2px solid #222;
				border-bottom: none;
				border-top-left-radius: 25px;
				border-top-right-radius: 25px;
				z-index: 99;					
			}
			&:after {
				content: "";
				position: absolute;
				bottom: -1px;
				right: 0;
				height: 40px;
				width: 16px;
				border: 2px solid #222;
				border-top: none;
				border-bottom-left-radius: 25px;
				border-bottom-right-radius: 25px;
				z-index: 99;
			}
		}
	}
}
* Title Styling */
.title-section {
  text-align: center;
}
.title {
  font-size: 36px;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease;
  position: relative;
}

.animated-title:after {
  content: '';
  display: block;
  width: 100px;
  border-radius: 10px;
  height: 5px;
  background-color: tomato;
  margin: 15px auto 0;
  animation: slideIn 1s ease-in-out;
}

.subtitle {
  font-size: 18px;
  color: #ffffff;
  margin-top: 10px;
  position: relative;
  z-index: 10000;

}
/* Animations */


@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .class-card {
    margin-bottom: 20px;
  }
}
/* Card Styling */
.class-card {
  background-color: #fff; /* White background for the card */
  border-radius: 15px;
  border: 3px solid tomato; /* Tomato-colored border */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  overflow: hidden;
  position: relative;
  
}

.class-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2); /* Hover shadow */
}

/* Icon styles */
.icon-container {
  background-color: tomato; /* Tomato color for circular background */
  padding: 25px;
  border-radius: 50%;
  display: inline-block;
}

.icon {
  font-size: 40px;
  color: white;
}
.text-container{
  width: 60%;
  overflow-x: auto;
  height: 60vh;
}
.embedded-container {
            width: 100%; /* Full width */
            height: 600px; /* Set height as needed */
            border: none; /* No border */
            overflow-y: none;
        }

/* Heading */
.class-card h3 {
  font-size: 24px;
  margin-top: 15px;
  color: #333;
}

/* Text styling */
.class-card p {
  font-size: 16px;
  color: #666;
}

/* Hover Icon Rotation */
.animated-icon:hover .icon {
  transform: rotate(360deg); /* Rotating animation for icons */
  transition: transform 0.4s ease-in-out;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .class-card {
    margin-bottom: 20px;
  }
}


.crs-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .crs-container {
        flex-direction: column;
        align-items: center;
    }
}

     .navbar-nav {
            flex-direction: row;
        }
        .nav-link {
            padding-right: 15px;
            transition: color 0.3s ease;
        }
        .nav-link:hover {
            color: #007bff;
        }
        .dropdown-menu {
            transition: all 0.3s ease;
        }
        .social-icons {
            display: flex;
            align-items: center;
        }
        .social-icons a {
       
          padding: 15px 4px;
          margin: 2px 3px;
          border-radius: 50% ;
    
            padding: 0 7px;
            transition: color 0.3s ease;
        }
        .social-icons a i{
          color: #fff;
          border-radius: 50%;
          padding: 10px 12px;
        }
        .social-icons a:hover {
            color: #007bff;
        }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        }

        @keyframes fadeInUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        .header-container {
    padding: 50px;
    background-color:  #ffff0030;
    display: flex;
    margin-top: 5%;
    justify-content: space-between;
    align-items: center;
  }

  /* Left Side: Text and Button */
  .text-side {
    padding: 20px;
    position: relative;
  }

  .school-name {
    color: #ff6b6b; /* Custom color for school name */
  }

  .description {
    font-size: 18px;
    margin: 20px 0;
    line-height: 1.5;
  }

  /* Animated Button */
  .button-container {
    margin-top: 20px;
  }

  .animated-button {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background-color: #ff6b6b;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
  }

  .animated-button span {
    position: relative;
    z-index: 2;
  }

  .animated-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: #ff4b4b;
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1;
  }

  .animated-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
  }

  /* Right Side: Slide-in Image and Info Card */
  .image-side {
    position: relative;
    padding: 20px;
  }

  .image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(100px); /* Initial position off-screen */
    transition: transform 0.8s ease, opacity 0.8s ease;
  }

  .image-wrapper.slide-in {
    opacity: 1;
    transform: translateX(0); /* Slide into view */
  }

  .school-image {
    width: 100%;
    height: 80vh;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .info-card {
    position: absolute;
    bottom: 5px;
    left: -10%;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 80%;
    text-align: center;
  }

  .info-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .info-card p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .learn-more-link {
    display: inline-block;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
  }

  .learn-more-link:hover {
    color: #ff4b4b;
  }

  /* Animated Icons */
  .animated-icons {
    margin-top: 30px;
 
  }
  .animated-icons i{
    position: absolute;
  }

  .animated-icons .icon {
    font-size: 40px;
    margin-right: 15px;
    color: #ff6b6b;
    top: 10%;
    animation: float 2s infinite;
  }

  .animated-icons .book {
  right: 0%;
    animation-delay: 0s;
  }

  .animated-icons .puzzle {
    top: 50%;
    left: -10%;
    animation-delay: 0.3s;
  }

  .cap {
    animation-delay: 0.6s;
  }

  .brain {
    animation-delay: 0.9s;
  }

  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }

  /* Media Queries for Responsive Design */
  @media (max-width: 768px) {
    .header-container {
      flex-direction: column;
      text-align: center;
    }

    .text-side {
      margin-bottom: 30px;
    }

    .info-card {
      width: 90%;
      left: 50%;
      transform: translateX(-50%);
    }
  }


.navbar-brand{
  width: 20% !important;
  display: inline-block;
}
.navbar-brand img {
 
width: 30%;

}
.icon_prev{
  background-color: rgb(255, 254, 255);
  padding: 10px 16px;
  color: purple;
  border-radius: 50px;
}
.overlay_side{
  position: absolute;

  border-width: 20px;
  border-color: transparent #ee733c #ee733c transparent;
  border-style: solid;
}
.overlay_side2{
  border: none;
  width: 30%;
left: 20%;
}
.overlay_side2 img{
  width: 40%;
}

  
        .contact-card {
            position: absolute; /* Change to relative */
            background-color: white;
            padding: 20px;
            top:0%;
            width: 30%;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            margin-bottom: 20px; /* Space below the card */
        }
.carousel-item{
  position: relative;
}
/* .carousel-item:after{
content: " ";
z-index: 1000;
background-color: rgba(152, 89, 152, 0.494);
position: absolute;
width: 100%;
height: 100%;
border-radius: 30% 70%;
top: 0%;
left: 0%
} */
.hero_btn-continer{
  width: 50%;
  margin: 0px auto;
}
.bgty{
  display: flex;
  justify-content: center;
  height: 30vh !important;
  background-image: url('images/geometry-bg.jpg');
 position: relative;
 align-items: center;
 z-index:20000000000;
}
.gallery-text:before {
    display: none;
  }
  .udosen_text{
    padding: 6px 10px;
  }
.bgty::before{
  background-color: #ff63478c;
  height: 100%;
  position: absolute;
  content: "";
  top: 0%;
  left: 0%;
  width: 100%;
}
.bgty .card{
  background-color: white !important;
  height: 30vh;
  width: 90% !important;
}
.carousel-control-prev, .carousel-control-next{
  z-index: 10000000000;
}
.hero_btn-continer a{
  text-align: center;
  display: block;
  background-color: white;
  color: #ff6347;
  width: 50%;
  margin: 0px auto;
  padding: 10px;
  text-decoration: none;
  border-radius: 30px;
  border: 1px solid #ff6347;
  transition: all 0.4s ease;
}
.hero_btn-continer a:hover{
  background-color: tomato;
  color: white;
}
.carousel-item img{
  border-radius: 20%;
}
.carousel-item img {
    border-radius: 43% 59%;
}
.carousel_sub_item{
width: 50%;
top:10%;
left: 30%
}
.carousel_sub_item img{
  width: 100%;
  border: 10px solid white;
  height: 300px;
  transform: rotate(-30deg);
  border-radius: 10px;
}
.carousel_text{
position: absolute;
top: 0%;
}
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}
.bgty{
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    /* Ensure dropdowns work in mobile view */
    .dropdon-menu {
        position: relative;
    }

    .dropdon:hover .dropdon-menu {
        display: none;
    }

    .dropdon.active .dropdon-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four-column layout */
    grid-gap: 20px;
    justify-content: center;
}

/* Card Style */
.cardew {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cardew i {
    color: #ff6347; /* Icon color */
    margin-bottom: 20px;
}

.cardew h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.cardew p {
    font-size: 1em;
    color: #777;
    margin-bottom: 10px;
}
.card-columns{
  justify-content: justify-content;
}

.cardew:hover {
    transform: translateY(-10px);
}
@media  screen and (max-width: 600px) {
  .udosen_text{
    width: 100%; 
  }
  .gallery-text{
    width: 100%;
  
  }
  .testimonial::before{
    bottom: -7.2em;
  }
  .gallery-text:before {
    display: none;
  }
  .crs-card{
    width: 350px;
  }
  .impo{
    width: 100% !important;
  }
  .nav-tabs{
    width: 100%;
  }
  .testimonial &:after{
   top: -3rem;
  }
  .testimony-section{
    height: auto;
  }
  .map-container{
    display: flex;
    flex-direction: column;
  }
  .contact-card{
    position: relative;
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .cardew {
        padding: 20px;
    }
}
   .masonary-grid2{    
    width:50%;
          
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        grid-auto-rows: 25px;
        gap: 15px;
   }
 .about-section{
 padding: 10px;

 }
 .about-section {
    padding: 40px;
    background-color: tomato;
    color: white;
    text-align: left;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}