@font-face {
    font-family: GeneralSans-Bold;
    src: url('https://tuf.edu.pk/Main/frontend/fonts/GeneralSans-Bold.otf');
    src: url('http://localhost/tuf.edu.pk-new/public/Main/frontend/fonts/GeneralSans-Bold.otf');
}

@font-face {
    font-family: GeneralSans-Medium;
    src: url('https://tuf.edu.pk/Main/frontend/fonts/GeneralSans-Medium.otf');
    src: url('http://localhost/tuf.edu.pk-new/public/Main/frontend/fonts/GeneralSans-Medium.otf');
}
@font-face {
    font-family: GeneralSans-Regular;
    src: url('https://tuf.edu.pk/Main/frontend/fonts/GeneralSans-Regular.otf');
    src: url('http://localhost/tuf.edu.pk-new/public/Main/frontend/fonts/GeneralSans-Regular.otf');
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'General Sans';
}

h1, h2, h3, h4, h5 {
    font-family: GeneralSans-Bold;
}
p, ul, li{
    font-family: GeneralSans-Regular;
}


.intro-section .row {
    align-items: flex-start;
}

.intro-section h1 {
    color: #0094cc;
    font-weight: 700;
    font-size: 3.8rem;
}

@media (max-width: 768px) {
    .intro-section h1 {
        font-size: 2.8rem;
    }
}

.underline {
    width: 280px;
    height: 4px;
    margin: 12px 0 20px;
    background: linear-gradient(to right, #293582 50%, #00A8CD 50%);
}

.view-clock{
    height: 70vh;
}

@media (min-width: 1200px) and (max-width: 1450px) {
    .view-clock {
        height: 100vh;
    }
}



.carousel-logo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    color: white;
    overflow: hidden;
}

.carousel-logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff66;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.carousel-logo .container {
    position: relative;
    z-index: 2;
}

.university-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.4s ease;
}
.university-logo:hover .logo-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-btn {
    background: #00A8CD;
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    margin-top: 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
/*===================================================*/
.full-bg-wrapper {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center ;
    z-index: 0;
    padding-top: 0;
    padding-bottom: 390px;
}


@media (max-width: 1200px) {
    .full-bg-wrapper {
        padding-bottom: 880px;
    }
}
@media (max-width: 922px) {
    .full-bg-wrapper {
        padding-bottom: 730px;
    }
}

@media (max-width: 768px) {
    .full-bg-wrapper {
        padding-bottom: -1px;
        padding-top: 1px;
    }
}


/* Section 2 (center section) styles */
.center-section {
    background: transparent;
    padding: 30px 0;
    color: black;
}



.center-section .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 991px) {
    .center-section .content {
        flex-direction: column;
    }
}

.center-section .text {
    flex: 1;
    padding: 20px;
}

.center-section .image {
    flex: 1;
    text-align: center;
}

.center-section .image img {
    max-width: 100%;
    border-radius: 10px;
}

.mar-gallery{
    margin-top: -350px;
}

@media (max-width: 1200px) {
    .mar-gallery{
        margin-top: -800px;
    }
}
@media (max-width: 922px) {
    .mar-gallery{
        margin-top: -700px;
    }
}

.masonry {
    column-count: 3;
    column-gap: 1rem;
}
.masonry img {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .masonry { column-count: 2; }
}
@media (max-width: 576px) {
    .masonry { column-count: 1; }
}

.clock-mg{
    margin-top: -85px;
}
@media (min-width: 1200px) and (max-width: 1550px) {
    .clock-mg{
        margin-top: -55px;
    }
}


.university-card {
    padding: 2rem 1rem;
    height: 100%;
}
.programs-header {
    font-weight: bold;
    color: #fff;
    padding: .6rem;
    margin: 1rem 0;
    width: 100%;
}
.programs-list {
    min-height: 14rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.programs-list li {
    flex: 1;
    padding: .7rem 0;
}
