*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    --primary: #034EA2;
    --secondary: #FCF102;
    --primary-text: #EEE;
    --light-bg:#EEE;
    --text: #444;
    font-family: "poppins";
    scroll-behavior: smooth;
}
@font-face {
  font-family: 'poppins';
  src: url('fonts/poppins.ttf');
}
@font-face {
  font-family: 'Oswald';
  src: url('fonts/Oswald.ttf');
}
@font-face {
  font-family: 'quotes';
  src: url('fonts/quotes.ttf');
}
*::-webkit-scrollbar {
  width: 10px;
}

/* Track */
*::-webkit-scrollbar-track {
  background: #F1F1F1; 
}
 
/* Handle */
*::-webkit-scrollbar-thumb {
  background: var(--primary); 
}

/* Handle on hover */
*::-webkit-scrollbar-thumb:hover {
  background: var(--secondary); 
}
/* Header */
header{
    display: flex;
    padding: 10px 15px;
    background: var(--primary);
    color: var(--primary-text);
    justify-content: space-between;
}
header small{
    font-weight: bold;
}
header small a{
    color: var(--secondary);
}
.main-marquee{
    display: flex;
    padding: 7.5px;
    background: var(--secondary);
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}
/* Main */
main{
    display: flex;
    color: var(--primary);
    background-color: var(--light-bg);
    padding: 20px;
    justify-content: space-between;
    position: relative;
}
main .alert{
    position: absolute;
    top: 20px;
    cursor: pointer;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    left: 0;
    width: 0;
    transition: width 1s;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
}
main .alert svg{
    margin: 0;
    width: 25px;
    height: 25px;
    fill: var(--secondary);
    transition: fill 2s;
    animation: shake 1s ease-in-out infinite; /* Apply shake animation */
    animation-delay: 1s; /* Add delay before animation starts */
}
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(0deg);
    }
    60% {
        transform: rotate(0deg);
    }
    70% {
        transform: rotate(30deg);
    }
    80% {
        transform: rotate(0deg);
    }
    90% {
        transform: rotate(-30deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
main .alert.active {
    width: 50px;
}
.main-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.main-modal-overlay .main-modal-content {
    background: #EEE;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative; /* Position relative to place close button */
    margin: 20px;
    max-width: 350px;
    border: 2px solid var(--primary);
}
.main-modal-overlay .main-modal-content .image-conatiner{
    background-image: url('images/main/org.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    width: 100%;
    border-radius: 10px 10px 0 0;
}
.main-modal-overlay .main-modal-content p{
    padding: 15px;
}
.main-modal-overlay .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    background: var(--secondary);
    border-radius: 50%;
    justify-content: center;
    display: flex;
}
main .tablet-container{
    display: none;
}
main .name{
    text-align: center;
    padding: 20px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
main .name h1{
    font-weight: 900;
    font-family: "Oswald", sans-serif;
}
main .image, main .important{
    width: 20%;
}
main .image{
    display: flex;
    padding: 15px;
    align-items: center;
    justify-content: center;
}
main .image .image-container{
    background-image: url('images/main/logo.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
main .important{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
main .important table {
    font-family: arial, sans-serif;
    border-collapse: separate;
    width: 100%;
    border-spacing: 0;
}
main .important table th{
    background-color: var(--primary);
    color: var(--secondary);
    text-align: center;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--primary);
}
main .important table td{
    text-align: left;
    padding: 8px;
    border: 1px solid var(--primary);
    border-top: none;
    font-family: 'Oswald';
}
main .important table tr:nth-child(even) {
    background-color: #dddddd;
}

@media(max-width: 1080px){
    main{
        flex-direction: column;
    }
    main .image{
        display: none;
    }
    main .important{
        display: none;
    }
    main .tablet-container{
        display: flex;
    }
    main .name{
        width: 100%;
    }
    main .tablet-container .image, main .tablet-container .important{
        width: 50%;
        background-color: #EEE;
    }
    main .tablet-container .image{
        display: flex;
        padding: 15px;
        align-items: center;
        justify-content: center;
    }
    main .tablet-container .image .image-container{
        background-image: url('images/main/logo.webp');
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }
    main .tablet-container .important{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }
    main .tablet-container .important table {
        font-family: arial, sans-serif;
        border-collapse: separate;
        width: 100%;
        border-spacing: 0;
        max-width: 300px;
    }
    main .tablet-container .important table th{
        background-color: var(--primary);
        color: var(--primary-text);
        text-align: center;
        padding: 8px;
        border-radius: 10px 10px 0 0;
        border: 1px solid var(--primary);
    }
    main .tablet-container .important table td{
        text-align: left;
        padding: 8px;
        border: 1px solid var(--primary);
        border-top: none;
        font-family: 'Oswald';
    }
    main .tablet-container .important table tr:nth-child(even) {
        background-color: #dddddd;
    }
}

@media(max-width: 660px){
    main{
        padding: 0;
    }
    main .tablet-container{
        display: none;
    }   
    main .image{
        display: flex;
        width: 100%;
        height: 200px;
        padding-bottom: 0;
    }
    main .important{
        display: flex;
        width: 100%;
    }
    main .name p{
        font-size: 14px;
    }
    main .name h1{
        font-size: 27px;
    }
}

/* Nav Bar */
.mobile-navbar{
    display: none;
}
.desktop-navbar{
    display: flex;
    align-items: center;
    justify-content:center;
    background: var(--primary);
}
.desktop-navbar .dropbtn {
  color: white;
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
  background: var(--primary);
  border: none;
  font-weight: 500;
}
.desktop-navbar .dropdown {
  position: relative;
  display: inline-block;
}
.desktop-navbar .dropdown-content {
  max-height: 0;
  transition: 0.5s;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  background-color: var(--light-bg);
  min-width: 160px;
  text-wrap: nowrap;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.desktop-navbar .dropdown-content a {
  color: var(--primary);
  padding: 15px;
  text-decoration: none;
  display: block;
  font-weight: 500;
}
.desktop-navbar .dropdown-content a:hover {
    background-color: var(--primary);
    color: var(--secondary);
}
.desktop-navbar .dropdown:hover .dropdown-content {
    max-height: 1000px;
    opacity: 1;
    overflow: visible;
}
.desktop-navbar .dropdown:hover .dropbtn {
    background-color: var(--secondary);
    color: var(--primary);
}
.desktop-navbar .submenu-dropdown{
    position: relative;
}
.desktop-navbar .submenu-dropdown .submenu-dropdown-content{
    max-height: 0;
    transition: 0.5s;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    background-color: var(--light-bg);
    min-width: 160px;
    text-wrap: nowrap;
    box-shadow: 8px 0px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 0;
    border-left: 5px solid var(--secondary);
    left: 100%
}
.desktop-navbar .submenu-dropdown:hover .submenu-dropdown-content {
    max-height: 1000px;
    opacity: 1;
}
@media(max-width: 720px){
    .desktop-navbar .dropdown-content {
        text-wrap: balance;
    }
}
@media(max-width: 660px){
    .desktop-navbar{
        display: none;
    }
    .mobile-navbar{
        display: flex;
        flex-direction: column;
    }
    .mobile-menu-button{
        display: flex;
        align-items: center;
        padding: 15px;
        justify-content: space-between;
        background: var(--primary);
        color: var(--primary-text);
    }
    .mobile-navbar ul{
        display: flex;
        flex-direction: column;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: 0.5s;
        background-color: var(--primary);
    }
    .mobile-navbar .mobile-navbar-mainmenu a{
        padding: 15px;
        font-weight: 500;
        color: var(--primary-text);
        display: flex;
        justify-content: space-between;
        border-top:1px solid #ededed80;
    }
    .mobile-navbar .mobile-navbar-mainmenu a:hover{
        background-color: var(--secondary);
        color: var(--primary);
    }
    .mobile-navbar ul.show{
        max-height: 3000px;
        opacity: 1;
    }
    .mobile-navbar .mobile-navbar-submenu{
        border-left: 10px solid var(--secondary);
    }
    .mobile-navbar .mobile-navbar-submenu a{
        padding: 15px 30px;
        font-weight: 500;
        color: var(--primary-text);
    }
    .mobile-navbar .mobile-navbar-sub-submenu{
        border-left: 10px solid var(--light-bg);
    }
    .mobile-navbar .mobile-navbar-sub-submenu a{
        padding: 15px 45px;
        font-weight: 500;
        color: var(--primary-text);
    }
}

/* image carousel*/

@font-face {
	font-family: "Glyphicons Halflings";
	src: url(https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.eot);
	src: url(https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.eot?#iefix) format("embedded-opentype"), url(https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.woff2) format("woff2"), url(https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.woff) format("woff"), url(https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.ttf) format("truetype"), url(https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format("svg")
}
.glyphicon {
	position: relative;
	top: 1px;
	display: inline-block;
	font-family: "Glyphicons Halflings";
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}

.glyphicon-chevron-right:before {
	content: "\e080"
}
.glyphicon-chevron-left:before {
	content: "\e079"
}
.container{
    width: 100%;
    padding: 0;
}
.carousel {
	position: relative
}

.carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden
}

.carousel-inner>.item {
	position: relative;
	display: none;
	-webkit-transition: .6s ease-in-out left;
	-o-transition: .6s ease-in-out left;
	transition: .6s ease-in-out left
}

.carousel-inner>.item>a>img,
.carousel-inner>.item>img {
	line-height: 1
}

@media all and (transform-3d),
(-webkit-transform-3d) {
	.carousel-inner>.item {
		-webkit-transition: -webkit-transform .6s ease-in-out;
		-o-transition: -o-transform .6s ease-in-out;
		transition: -webkit-transform .6s ease-in-out;
		transition: transform .6s ease-in-out;
		transition: transform .6s ease-in-out, -webkit-transform .6s ease-in-out, -o-transform .6s ease-in-out;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		-webkit-perspective: 1000px;
		perspective: 1000px
	}

	.carousel-inner>.item.active.right,
	.carousel-inner>.item.next {
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
		left: 0
	}

	.carousel-inner>.item.active.left,
	.carousel-inner>.item.prev {
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
		left: 0
	}

	.carousel-inner>.item.active,
	.carousel-inner>.item.next.left,
	.carousel-inner>.item.prev.right {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		left: 0
	}
}

.carousel-inner>.active,
.carousel-inner>.next,
.carousel-inner>.prev {
	display: flex;
}

.carousel-inner>.active {
	left: 0
}

.carousel-inner>.next,
.carousel-inner>.prev {
	position: absolute;
	top: 0;
	width: 100%
}

.carousel-inner>.next {
	left: 100%
}

.carousel-inner>.prev {
	left: -100%
}

.carousel-inner>.next.left,
.carousel-inner>.prev.right {
	left: 0
}

.carousel-inner>.active.left {
	left: -100%
}

.carousel-inner>.active.right {
	left: 100%
}

.carousel-control {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 15%;
	font-size: 20px;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
	background-color: rgba(0, 0, 0, 0);
	filter: alpha(opacity=50);
	opacity: .5
}

.carousel-control.left {
	background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
	background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
	background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
	background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
	background-repeat: repeat-x
}

.carousel-control.right {
	right: 0;
	left: auto;
	background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
	background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
	background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
	background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
	background-repeat: repeat-x
}

.carousel-control:focus,
.carousel-control:hover {
	color: #fff;
	text-decoration: none;
	outline: 0;
	filter: alpha(opacity=90);
	opacity: .9
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: inline-block;
	margin-top: -10px
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
	left: 50%;
	margin-left: -10px
}

.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
	right: 50%;
	margin-right: -10px
}

.carousel-control .icon-next,
.carousel-control .icon-prev {
	width: 20px;
	height: 20px;
	font-family: serif;
	line-height: 1
}

.carousel-control .icon-prev:before {
	content: "\2039"
}

.carousel-control .icon-next:before {
	content: "\203a"
}

.carousel-indicators {
	position: absolute;
	bottom: 10px;
	left: 50%;
	z-index: 15;
	width: 60%;
	padding-left: 0;
	margin-left: -30%;
	text-align: center;
	list-style: none
}

.carousel-indicators li {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 1px;
	text-indent: -999px;
	cursor: pointer;
	/*background-color: #000\9;*/
	background-color: rgba(0, 0, 0, 0);
	border: 1px solid #fff;
	border-radius: 10px
}

.carousel-indicators .active {
	width: 12px;
	height: 12px;
	margin: 0;
	background-color: #fff
}

.carousel-caption {
	position: absolute;
	right: 15%;
	bottom: 20px;
	left: 15%;
	z-index: 10;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6)
}

.carousel-caption .btn {
	text-shadow: none
}

@media screen and (min-width:768px) {

	.carousel-control .glyphicon-chevron-left,
	.carousel-control .glyphicon-chevron-right,
	.carousel-control .icon-next,
	.carousel-control .icon-prev {
		width: 30px;
		height: 30px;
		margin-top: -10px;
		font-size: 30px
	}

	.carousel-control .glyphicon-chevron-left,
	.carousel-control .icon-prev {
		margin-left: -10px
	}

	.carousel-control .glyphicon-chevron-right,
	.carousel-control .icon-next {
		margin-right: -10px
	}

	.carousel-caption {
		right: 20%;
		left: 20%;
		padding-bottom: 30px
	}

	.carousel-indicators {
		bottom: 20px
	}
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto
}

/* Main Second */

.main-second {
    display: flex;
    align-items: center;
}
.main-second .events-div,.main-second .mission-vision-moto{
    padding: 20px;
    width: 50%;
}
.events-div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.events-div .event-heading{
    margin: 20px;
    width: 100%;
}
.events-div .event-heading h2{
    color: var(--primary);
    font-family: 'Oswald';
}
.event-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #CCC;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--light-bg);
    width: 100%;
}
.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary);
    color: white;
    padding: 10px;
    margin-right: 20px;
    border-radius: 5px;
    text-align: center;
}
.event-day {
    font-size: 24px;
    font-weight: bold;
}
.event-month,
.event-year {
    font-size: 14px;
}
.event-description {
    flex-grow: 1;
    font-weight: 500;
}
.view-all-events {
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.view-all-events:hover {
    background-color: darken(var(--primary), 10%);
}
.mission-vision-moto p {
    padding: 20px;
    border-left: 5px solid var(--secondary);
    margin: 20px 0 30px 0;
    background: var(--light-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}
.mission-vision-moto h2 {
    color: var(--primary);
    font-family: 'Oswald';
}
@media (max-width: 770px) {
    .main-second{
        flex-direction: column;
    }
    .main-second .events-div,.main-second .mission-vision-moto{
        width: 100%;
    }
    .event-date{
        clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    }
}
@media(max-width: 660px){
    .event-date {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0% 90%);   
        padding-bottom: 20px;
        border-radius: 0;
    }
    .event-item{
        padding: 0 20px;
        padding-bottom: 10px;
    }
}

/* College Values */

.college-values {
    margin: 0 auto;
    padding: 40px 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background-color: var(--light-bg);
}

.college-values h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Oswald';
}

.college-values ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.college-values ul li {
    padding: 20px;
    border: 1px solid #ccc;
    border-left: 5px solid var(--primary);
    border-radius: 5px;
    display: flex;
    background-color: white;
    align-items: center;
}

.college-values ul li span {
    padding: 10px 15px;
    font-size: 18px;
    display: flex;
    align-items:center;
    justify-content: center;
    height: 45px;
    width: 45px;
    font-weight: 900;
    color: var(--primary);
    background-color: var(--secondary);
    margin-right: 10px; /* Space between span and text */
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

@media (min-width: 1024px) {
    .college-values ul {
        grid-template-columns: repeat(3, 1fr); /* Three-column layout */
    }
}

/* College About */

.about-section{
    background: var(--primary);
    color: var(--primary-text);
    padding: 40px 20px;
}
.about-section h2{
    font-family: 'Oswald';
    margin-bottom: 20px
}
.about-section .about-organization img {
    float: left;
    margin: 0 20px 10px 0;
    width: 300px;
}

.about-section .about-organization p {
    text-align: justify;
    font-weight: 500;
}
@media (max-width: 600px) {
    .about-section .about-organization img{
        width: 100%;
    }     
}

/* Facilities */

.facilities-section h2{
    margin: 20px;
    margin-top: 40px;
    color: var(--primary);
    margin-bottom: 0;
    font-family : 'Oswald';
}
.facilities-section #explore-all{
    display: flex;    
    padding: 20px;
    padding-top: 0;
    justify-content: end;
}
.facilities-section #explore-all a{
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--primary);
    color: var(--primary-text)
}
.facilities-section #explore-all a:hover{
    background: var(--secondary);
    color: var(--primary);
}
.facilities{
    display: flex;
    padding: 10px;
    flex-wrap: wrap;
}
.facilities .container{
    height: 150px;
    margin: 10px;
    width: calc(33.33% - 20px);
}
.facilities .container .image{
    height: 100%;
    background-color: rgb(0 0 0 / 50%);
    display: flex;
    align-items: center;
    color: gold;
    justify-content: center;
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
@media (max-width: 1080px) {
    .facilities .container{
        width: calc(50% - 20px);
    }               
}
@media(max-width: 600px){
    .facilities .container{
        width: calc(100% - 20px);
    }     
}

/* Blog  */
.blog h2{
    margin: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    font-family : 'Oswald';
}
.blog .carousel-cell div{
    margin: 10px;
    background: #eee;
    border-radius: 10px;
}
.carousel-cell div h2{
    padding: 15px 15px 10px 15px;  
    margin: 0;      
}
.carousel-cell div p{
    padding: 5px 15px 15px 15px;        
}
.carousel-cell div img{
    border-radius: 10px 10px 0 0;
    width: 100%;
    max-width: 350px;
    height: 210px;
}
@media(max-width: 390px){
    .carousel-cell div img{
        height: calc((100vw - 40px) * 0.6);
    }
}
.carousel-cell div p#date{
    text-align: right;
}

/* Footer */
footer{
    margin-top: 70px;
}
footer .social-media-links{
    display: flex;
    padding: 15px;
    background: var(--primary);
    align-items: center;
    gap: 15px;
    color: var(--primary-text);
    border-bottom: 1px solid var(--light-bg);
    font-weight: bold;
}
footer .social-media-links a{
    display: flex;
    align-items: center;
    justify-content: center;
}
footer .social-media-links a svg{
    width: 25px;
    height: 25px;
    fill: var(--light-bg);
}
footer .social-media-links a:hover svg{
    fill: var(--secondary);
}
.footer-content{
    display: flex;
    padding: 30px 10px;
    flex-wrap: wrap;
    background-color: var(--primary);
    color: var(--primary-text);
}
.footer-content a{
    color: var(--primary-text);
}
.footer-content a:hover{
    color: var(--secondary);
}
.footer-container-section{
    display: flex;
    width: 50%;
    flex-wrap: wrap;
}
.footer-section{
    margin: 10px;
    width: calc(50% - 20px);
}
.footer-container-section h3{
    margin-bottom: 10px;
    font-family: 'Oswald';
}
.footer-container-section ul{
    display: flex;
    flex-direction: column;
}
.footer-container-section a{
    padding: 5px 0;
}
.footer-section p{
    padding: 5px 0;
}
#location-direction{
    display: flex;
    align-items: center;
    gap: 5px;
}
.footer-bottom{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column; 
    color: var(--primary-text);
    background: var(--primary);
    padding: 20px;
    border-top: 1px solid var(--light-bg);
}
@media (max-width: 1020px) {
    .footer-container-section{
        width: 100%;
    }
}
@media(max-width: 750px){
    .footer-section{
        width: calc(100% - 20px);
    }
}
.footer-bottom .footer-links{
    display: flex;
    margin-bottom: 10px;
}
.footer-bottom .footer-links a{
    color: var(--secondary);
    padding: 0 5px;
}
.footer-bottom .footer-links a:hover{
    color: var(--primary-text);
}

/* Standalone Header */
.standalone-page-heading {
    text-align: center;
    padding: 20px 0;
    background-color: var(--light-bg);
    border-bottom: 2px solid var(--primary);
}
.standalone-page-heading h1 {
    color: var(--primary);
    color: var(--primary);
    font-family: 'Oswald';
    text-transform: uppercase;
}

/* Messages Page*/
.messages-page{
    padding: 40px 0px;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
}
.messages-page h2{
    padding: 0 20px;
    padding-bottom: 0;
    color: var(--primary);
    font-family: 'oswald';
}
.message-container-message-page{
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
}
.message-container-message-page .image-container{
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.message-container-message-page .image-container img{
    width: 90%;
}
.message-container-message-page .message{
    width: 60%;
}
.message-container-message-page .message h3{
    font-family: "quotes", cursive;
    font-style: italic;
    font-size: 120%;
}
.message-container-message-page .message p{
    font-family: "quotes", cursive;
    margin-top: 10px;
}
@media (max-width: 860px) {
    .message-container-message-page .image-container img{
        width: 100%;
    }
}
@media (max-width: 700px) {
    .messages-page .correspondent{
        flex-direction: column;
    }
    .messages-page .principal{
        flex-direction: column-reverse;
    }
    .message-container-message-page .image-container{
        width: 100%;
    }        
    .message-container-message-page .message{
        width: 100%;
    }
}

/* Programmes Page */
.courses-list-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    padding: 40px 20px;
    margin: 0 auto;
}
.courses-list-page h2{
    color: var(--primary);
    font-family: 'Oswald';
}
.courses-list-page .course-item {
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.courses-list-page .course-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #eee;
}
.courses-list-page .course-item h2 {
    padding: 15px 0;
    color: var(--secondary);
    font-family: 'oswald';
    background-color: var(--primary);
    width: 100%;
    text-align: center;
}
.courses-list-page .course-item p {
    padding-top: 0;
    padding: 20px;
    text-align: justify;
}

/* Faculties Page */

.faculties-page{
    padding: 40px 0 20px 0px;
}
.faculties-page h2{
    padding: 0 20px ;
    color: var(--primary);
    font-family: 'Oswald';
}
.faculties-page .faculty-container{
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}
.faculties-page .faculty-container .single-faculty-container{
    margin: 10px;
    width: calc(25% - 20px);
    border: 1px solid var(--primary);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding-bottom: 11px;
    background-color: var(--light-bg);
}
@media(max-width: 960px){
    .faculties-page .faculty-container .single-faculty-container{
        width: calc(33.33% - 20px);
    }
}
@media(max-width: 740px){
    .faculties-page .faculty-container .single-faculty-container{
        width: calc(50% - 20px);
    }
}
@media(max-width: 550px){
    .faculties-page .faculty-container .single-faculty-container{
        width: calc(100% - 20px);
    }
}
.faculties-page .faculty-container .single-faculty-container img{
    width: 80%;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
}
.faculties-page .faculty-container .single-faculty-container h2{
    background-color: var(--primary);
    color: var(--secondary);
    width: 100%;
    padding: 10px;
    text-align: center;
    font-family: 'Oswald';
}
.faculties-page .faculty-container .single-faculty-container h4{
    padding: 5px 15px;
    color: var(--primary);
}
.faculties-page .faculty-container .single-faculty-container p{
    padding: 4px 15px;
}
.faculties-page .faculty-container .single-faculty-container p b{
    color: var(--primary);
}

/* Clubs Page */

.clubs-page{
    padding: 40px 0 20px 0;
}
.clubs-page h2{
    padding: 0 20px;
    color: var(--primary);
    font-family: 'Oswald';
}
.clubs-page .clubs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}
.clubs-page .club-item {
    flex: 1 1 300px; /* Adjust as needed for responsiveness */
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--primary);
    transition: transform 0.3s ease;
    height: min-content;

}
.clubs-page .club-item.active {
    transform: scale(1.05); /* Scale up when active */
}
.clubs-page .accordion {
    display: flex;
    align-items: center;
    width: 100%;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 10px;
    transition: 0.5s;
}
.clubs-page .accordion:focus {
    outline: none;
}
.clubs-page button.accordion.active {
    background: var(--primary);
    color: var(--secondary);
    justify-content: space-between;
}
.clubs-page button.active .club-name h2{
    color: var(--secondary);
}
.clubs-page .accordion img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 10px;
    padding: 5px;
    border: 2px solid var(--secondary);
}
.clubs-page .accordion .club-name h2{
    color: var(--primary);
    font-family: 'Oswald';
}
.clubs-page .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.clubs-page .club-details {
    padding: 10px;
}
.clubs-page .club-details p {
    margin: 0 0 10px 0;
}

/* Blog Page */

.blog-page{
    padding: 40px 0 20px 0;
}
.blog-page #blog-page-heading{
    padding: 0 20px;
    color: var(--primary);
    font-family: 'Oswald';
}
.blog-page .band {
    width: 90%;
    max-width: 1240px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
    width: 100%;
    padding: 0 20px;
}
@media (min-width: 30em) {
    .blog-page .band {
        grid-template-columns: 1fr 1fr;
        width: 90%;
        padding: 0;
    }
}
@media (min-width: 60em) {
    .blog-page .band {
        grid-template-columns: repeat(4, 1fr);
    }
}
.blog-page .card {
    background: #EEE;
    text-decoration: none;
    color: #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all 0.1s ease-in;
}
.blog-page .card:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}
.blog-page .card article {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-page .card h2 {
    margin: 0;
    color: var(--primary);
    font-family: 'Oswald';
}
.blog-page .card p {
    flex: 1;
}
.blog-page .card span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 2em 0 0 0;
}
.blog-page .card .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
}
.blog-page .item-1 {
    @media (min-width: 60em) {
        grid-column: 1 / span 2;
    }
}
.blog-page .card .description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Blog Details Page */

.blog-details-page{
    padding: 40px 20px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.blog-details-page h2{
    color: var(--primary);
    font-family: 'Oswald';
}
.blog-details-page .image-container{
    position: relative;
}
.blog-details-page .image-container span{
    position: absolute;
    right: 10px;
    top: 20px;
    height: 60px;
    width: 50px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 0 0 5px 5px;
    clip-path: polygon(50% 0%, 100% 0, 100% 35%, 100% 100%, 95% 100%, 50% 75%, 5% 100%, 0 100%, 0% 35%, 0 0);
}
.blog-details-page .image-container span svg{
    fill: var(--primary);
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
}
.blog-details-page img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 20px 0;
}
.blog-details-page .blog-info-section{
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #777;
}
.blog-details-page article p{
    padding: 10px 0 0 0;
}

/* Events Page */

.events-page {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
}
.events-page::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}
.events-page .container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.events-page .container h5{
    margin-bottom: 10px; 
}
.events-page .container h2{
    color: var(--primary);
    font-family: 'Oswald';
    margin-bottom: 5px; 
}
.events-page .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--light-bg);
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.events-page .left {
    left: 0;
}
.events-page .right {
    left: 50%;
}
.events-page .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--light-bg);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--light-bg);
}
.events-page .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--light-bg);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--light-bg) transparent transparent;
}
.events-page .right::after {
    left: -16px;
}
.events-page .content {
    padding: 20px 30px;
    background-color: var(--light-bg);
    position: relative;
    border-radius: 10px;
}
@media screen and (max-width: 600px) {
    .events-page::after {
        left: 31px;
    }
    .events-page .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .events-page .container::before {
        left: 60px;
        border: medium solid var(--light-bg);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--light-bg) transparent transparent;
    }
    .events-page .left::after, .events-page .right::after {
        left: 15px;
    }
    .events-page .right {
        left: 0%;
    }
}

/* Event Details Page */

.event-details-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.event-details-page .event-images-info {
    display: flex;
    gap: 20px;
}
.event-details-page .images-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.event-details-page .main-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid #EEE;
}
.event-details-page .tab-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.event-details-page .tab-images img {
    width: 100px;
    height: 100px;
    border: 3px solid #555;
    cursor: pointer;
}
.event-details-page .tab-images img:hover {
    border: 3px solid var(--secondary);
}
.event-details-page .tab-images img.active-image-tab {
    border: 3px solid var(--primary); /* Or any other style you want for the active tab */
}
.event-details-page .event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-around;
}
.event-details-page .event-info b{
    color: var(--primary);
}
.event-details-page .event-description p{
    text-align: justify;
}
.event-details-page .event-images-info .event-info h2{
    color: var(--primary);
    font-family: 'Oswald';
}
@media (min-width: 768px) {
    .event-details-page .images-container{
        width: 50%;
    } 
}
@media (max-width: 768px) {
    .event-details-page .event-images-info {
        flex-direction: column;
    }
    .event-details-page .tab-images {
        justify-content: space-between;
    }
}

/* Contact Page */

.contact-page {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.contact-page h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Oswald';
}
.contact-page .form-group {
    margin-bottom: 15px;
}
.contact-page .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #222;
}
.contact-page .form-group input,
.contact-page .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #888;
    border-radius: 5px;
    font-size: 16px;
}
.contact-page button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: var(--primary);
    color: var(--light-bg);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.contact-page button[type="submit"]:hover {
    background-color: var(--secondary);
    color: var(--primary);
}
.contact-page p {
    text-align: center;
}
@media(max-width: 640px){
    .contact-page{
        margin: 20px 20px;
    }
}