.navbar-brand img {
    height: 75px;
    width: 104px;
}
.green-banner {
    background-color: #006400;
    color: white;
    text-align: center;
    padding: 5px 0;
}
.second-nav .nav-item {
    margin-right: 15px;
}
.second-nav .nav-item .nav-link i {
    margin-right: 5px;
}
.home-icon { color: #3498db; }
.about-icon { color: #e74c3c; }
.academics-icon { color: #2ecc71; }
.admission-icon { color: #9b59b6; }
.campus-icon { color: #f39c12; }
.infrastructure-icon { color: #16a085; }
.sports-icon { color: #e67e22; }
.media-icon { color: #c0392b; }
.contact-icon { color: #2980b9; }


.button-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 0;
}
.button-item {
    text-align: center;
    margin: 10px;
    min-width: 109px;
}
.btn-circle {
    width: 121px;
    height: 116px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
}
.btn-campus { background-color: #4caf50; }
.btn-campus-life { background-color: #ff9800; }
.btn-sports { background-color: #9c27b0; }
.btn-laboratory { background-color: #2196f3; }
.btn-news { background-color: #f44336; }
.btn-Lounge{ background-color: #4caf50; }
.btn-Loquacity { background-color: #ff9800; }

/* Media Queries for Small Devices */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }
    .green-banner {
        font-size: 12px;
    }
    .second-nav .nav-item .nav-link {
        font-size: 14px;
    }
    .cloud i {
        font-size: 20px;
    }
    .btn-circle {
        width: 80px;
        height: 80px;
        font-size: 18px;
    }
    .second-nav {
        flex-direction: column;
        text-align: center;
    }
    .second-nav .nav-item {
        margin-right: 0;
        margin-bottom: 5px;
    }
}
.carousel-inner img {
    height: 700px;
    object-fit: contain;
}
.welcome-section {
    display: flex;
    justify-content: space-between;
    margin: 38px 25px;
}

.campuses-section {
    width: 40%;
}
.campus-images {
    display: flex;
}
.campus-images img {
    width: 45%;
    margin: 5%;
}
.director-section {
    display: flex;
    margin: 105px;
}
.quote {
    width: 60%;
}
.quote button {
    background-color: green;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.director-image {
    width: 20%;
    margin-left: 10%;
}
.director-image img {
    width: 100%;
    border: 5px solid yellow;
}
.vision-mission-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-image: url(https://www.dpshyderabad.in/footer-bg.jpg);
}
.card {
    background-color: white;
    padding: 20px;
    width: 30%;
}
.card button {
    background-color: green;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.gallery  {
--s: 280px; /* control the size */

display: grid;
width: var(--s);
aspect-ratio: 1;
overflow: hidden;
padding: calc(var(--s)/20);
border-radius: 50%;
position: relative;
clip-path: circle(49.5%); /* to avoid a few glitch cause by overflow: hidden */
float: inline-end;
}
.gallery::after {
content: "";
position: absolute;
inset: 0;
padding: inherit;
border-radius: inherit;
background: repeating-conic-gradient(#789048 0 30deg,#DFBA69 0 60deg);
-webkit-mask: 
linear-gradient(#fff 0 0) content-box, 
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
  mask-composite: exclude;
}
.gallery > img {
grid-area: 1/1;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: inherit;
transform-origin: 50% 120.7%;
}
.gallery::after,
.gallery > img {
animation: m 8s infinite cubic-bezier(.5,-0.2,.5,1.2);
}
.gallery > img:nth-child(2) {animation-delay: -2s}
.gallery > img:nth-child(3) {animation-delay: -4s}
.gallery > img:nth-child(4) {animation-delay: -6s}

@keyframes m {
0%,3%    {transform: rotate(0)}
22%,27%  {transform: rotate(-90deg)}
47%,52%  {transform: rotate(-180deg)}
72%,77%  {transform: rotate(-270deg)}
98%,100% {transform: rotate(-360deg)}
}
.button {
background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 100%);
position: relative;
padding: 3px;
display: inline-block;
border-radius: 7px;
span {
display: inline-block;
background: #191919;
color: white;
text-transform: uppercase;
padding: 2rem 5rem;
border-radius: 5px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 800;
font-size: 3rem;
}
}

.nav-item.dropdown:hover .dropdown-menu {
display: block;
}

.dropdown-menu {
margin-top: 0; /* Optional: Adjust if needed */
}
.seven {
background: darkblue;
color: white;
border-radius: 5px;
transition: all 300ms;
}

.seven:hover {
transform: scale(1.1);
letter-spacing: 2px;
background: white;
color: darkblue;
box-shadow: 2px 2px 3px rgba(0,0,0,0.57);
}
/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 768px) {
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
}
/* Default styling for larger screens */
.testimonial-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: 1rem;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}

.testimonial-container::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.testimonial {
    display: flex;
    justify-content: space-between;
    flex: 0 0 100%;
    scroll-snap-align: start;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-content {
    flex: 2;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
}

.testimonial-img img {
    width: 100%;
    height: auto;
    max-width: 400px; /* Consistent image width */
    max-height: 400px; /* Consistent image height */
    border-radius: 8px;
    object-fit: cover;
    border: 4px solid #ffb833;
}

blockquote {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

cite {
    font-size: 0.9rem;
    color: #888;
}

.name {
    color: #d94d7e;
    font-weight: bold;
}

.position {
    color: #666;
    font-size: 0.8rem;
}

.read-more {
    color: #0d730d;
    font-size: 0.9rem;
}

/* Media queries for smaller devices */
@media (max-width: 768px) {
    .testimonial {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-content {
        padding-right: 0;
        text-align: center;
    }

    .testimonial-img {
        margin-bottom: 1rem;
        max-width: 80%; /* Reduce image size for small devices */
    }

    blockquote {
        font-size: 0.9rem;
    }

    cite {
        font-size: 0.8rem;
    }
}

/* Media queries for very small devices */
@media (max-width: 480px) {
    .testimonial-img img {
        max-width: 100%; /* Full width on very small screens */
        height: auto; /* Adjust height proportionally */
    }

    blockquote {
        font-size: 0.8rem;
    }

    cite {
        font-size: 0.75rem;
    }

    .read-more {
        font-size: 0.85rem;
    }
}
body {
    margin: 0;
    font-family:"Poppins", Sans-serif;

}
p{
 font-family:"Poppins", Sans-serif;
    font-size: 17px;
}

.container1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:17px;
    padding: 30px 82px;
    background-color: green;
}
 
.box {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    position: relative;
    height: 284px; /* Adjust as needed */
}

.box img {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .container1 {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .container1 {
        grid-template-columns: 1fr;
        padding: 10px; /* Further adjust padding for very small screens */
    }
}
.upcoming-events {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #f5f5f5;
    padding: 20px 0;
  }
  
  .events-slider {
    display: flex;
    animation: slide 20s linear infinite;
  }
  
  .event {
    min-width: 300px;
    margin-right: 20px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
  }
  
  .event img {
    width: 100%;
    height: auto;
  }
  
  .event-details {
    padding: 15px;
    text-align: justify;
  }
  
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-300px * 5)); /* Adjust based on the number of events */
    }
  }
  
  .new_footer_area {
    background: #fbfbfd;
}

.new_footer_top {
    padding: 00px 0px 200px;
    position: relative;
    overflow-x: hidden;
}

.new_footer_area .footer_bottom {
    padding-top: 5px;
    padding-bottom: 50px;
}

.footer_bottom {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: #7f88a6;
    padding: 27px 0px;
}

.new_footer_top .company_widget {
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
    color: #6a7695;
    margin-bottom: 10px;
}

.new_footer_top .company_widget .f_subscribe_two .btn_get {
    border-width: 1px;
    margin-top: 20px;
}

.btn_get_two:hover {
    background: transparent;
    color: #5e2ced;
}

.btn_get:hover {
    color: #fff;
    background: #6754e2;
    border-color: #6754e2;
    box-shadow: none;
}

a:hover, a:focus, .btn:hover, .btn:focus, button:hover, button:focus {
    text-decoration: none;
    outline: none;
}

.new_footer_top .f_widget.about-widget .f_list li a:hover {
    color: #5e2ced;
}

.new_footer_top .f_widget.about-widget .f_list li {
    margin-bottom: 11px;
    position: relative;
    left: -80px;
}

.f_widget.about-widget h3 {
    position: relative;
    left: -80px;
}

.f_widget.about-widget .f_list li:last-child {
    margin-bottom: 0px;
}

.f_widget.about-widget .f_list li {
    margin-bottom: 15px;
}

.f_widget.about-widget .f_list {
    margin-bottom: 0px;
}

.new_footer_top .f_social_icon a {
    width: 44px;
    height: 44px;
    line-height: 43px;
    background: transparent;
    border: 1px solid #e2e2eb;
    font-size: 24px;
}

.f_social_icon a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 45px;
    color: #858da8;
    display: inline-block;
    background: #ebeef5;
    text-align: center;
    transition: all 0.2s linear;
}

.btn_get_two {
    box-shadow: none;
    background: #5e2ced;
    border-color: #5e2ced;
    color: #fff;
}

.btn_get_two:hover {
    background: transparent;
    color: #5e2ced;
}

.new_footer_top .f_social_icon a:hover {
    background: #5e2ced;
    border-color: #5e2ced;
    color: white;
}

.new_footer_top .f_social_icon a + a {
    margin-left: 4px;
}

.new_footer_top .f-title {
    margin-bottom: 30px;
    color: #263b5e;
}

.f_600 {
    font-weight: 600;
}

.f_size_18 {
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    color: #4b505e;
}

.new_footer_top .f_widget.about-widget .f_list li a {
    color: #6a7695;
}

.new_footer_top .footer_bg {
    position: absolute;
    bottom: 0;
    background: url("http://droitthemes.com/html/saasland/img/seo/footer_bg.png") no-repeat scroll center 0;
    width: 100%;
    height: 266px;
}

.new_footer_top .footer_bg .footer_bg_one {
    background: url("https://1.bp.blogspot.com/-mvKUJFGEc-k/XclCOUSvCnI/AAAAAAAAUAE/jnBSf6Fe5_8tjjlKrunLBXwceSNvPcp3wCLcBGAsYHQ/s1600/volks.gif") no-repeat center center;
    width: 330px;
    height: 105px;
    background-size: 100%;
    position: absolute;
    bottom: 0;
    left: 30%;
    animation: myfirst 22s linear infinite;
}

.new_footer_top .footer_bg .footer_bg_two {
    background: url("https://1.bp.blogspot.com/-hjgfxUW1o1g/Xck--XOdlxI/AAAAAAAAT_4/JWYFJl83usgRFMvRfoKkSDGd--_Sv04UQCLcBGAsYHQ/s1600/cyclist.gif") no-repeat center center;
    width: 88px;
    height: 100px;
    background-size: 100%;
    bottom: 0;
    left: 38%;
    position: absolute;
    animation: myfirst 30s linear infinite;
}

@keyframes myfirst {
    0% {
        left: -25%;
    }
    100% {
        left: 100%;
    }
}

/* Media Queries for Small Devices */
@media (max-width: 768px) {
    .new_footer_top {
        padding: 60px 0px 150px;
    }

    .f_widget.about-widget {
        padding-left: 0;
    }

    .f_widget.about-widget h3, 
    .f_widget.about-widget .f_list li {
        position: relative;
        left: 0;
        text-align: center;
    }

    .f_social_icon {
        text-align: center;
    }

    .f_social_icon a {
        margin: 0 8px;
    }

    .footer_bottom {
        text-align: center;
        padding: 20px 0;
    }

    .footer_bottom .text-right {
        text-align: center;
        margin-top: 10px;
    }

    .new_footer_top .footer_bg .footer_bg_one {
        left: 10%;
    }

    .new_footer_top .footer_bg .footer_bg_two {
        left: 60%;
    }
}

.container3 {
	width: auto;
	overflow: hidden;
	margin: 50px auto;
	background: white;
}

/*header*/
header {
 width: 800px;
 margin: 40px auto;
}
 
header h1 {
 text-align: center;
 font: 100 60px/1.5 Helvetica, Verdana, sans-serif;
}
 
/*photobanner*/

.photobanner__wrap {
  display: flex;
  
  &:hover {
    .photobanner {
      animation-play-state: paused;
     }
  }
}
 
.photobanner {
	display: flex;
  animation-name: swiperAnimation;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.photobanner img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  padding-right: 20px;
}

@keyframes swiperAnimation{
  0%{
    transform:translateX(0)
  }
  100% {
    transform:translateX(-100%)
  }
}
.button_slide {
color: darkturquoise;
    border: 2px solid rgb(216, 2, 134);
    border-radius: 0px;
    padding: 18px 36px;
    display: inline-block;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 19px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #D80286;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out 0.4s;
    border-radius: 77px;
    margin: 111px 0px;
}
.slide_left:hover {
  box-shadow: inset 0 0 0 50px #D80286;
}
 /*contact page*/
.contact-content .fa-solid {
    font-size: 55px;
}
.contact-content:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.16), 0 4px 10px rgba(0,0,0,0.23);
}
.google-map {
    margin: 100px 0px;
}
.size{
width:22px;
margin:0px 50px;
}