/* Global Anchor Tag Styles */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

/* Owl Carousel overrides for hero slider */
.hero-slider.owl-carousel {
    height: 100%;
}

.hero-slider.owl-carousel .owl-stage-outer {
    height: 100%;
    overflow: hidden;
}

.hero-slider.owl-carousel .owl-stage {
    height: 100%;
    display: flex;
}

.hero-slider.owl-carousel .owl-item {
    height: 100%;
}

/* Ensure Owl Carousel doesn't add unwanted margins/padding */
.hero-slider.owl-carousel .owl-item {
    margin: 0;
    padding: 0;
}

.hero-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    width: 100%;
    flex: 1;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
}

.hero-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    font-family: var(--font-english);
    font-size: 40px;
    line-height: 56px;
    letter-spacing: 0;
    text-align: left;
    vertical-align: middle;
}

.hero-description {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
    text-align: left;
    font-weight: 500;
}

.hero-cta-btn {
    background-color: #4a5568;
    color: #ffffff;
    border: none;
    width: 151px;
    height: 40px;
    border-radius: 7px;
    font-size: 16px;

}

.hero-cta-btn:hover {
    background-color: #2d3748;
}

/* Hero Slider Navigation - Owl Carousel dots */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex !important;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.hero-slider .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: none;
    background-color: #808080 !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    display: inline-block;
}

.hero-slider .owl-dot span {
    display: none !important;
}

.hero-slider .owl-dot:hover {
    background-color: #a0a0a0 !important;
}

.hero-slider .owl-dot.active {
    background-color: #ffffff !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
}


/* Legacy class support (if needed) */
.hero-slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #808080;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    outline: none;
}

.hero-slider-dot:hover {
    background-color: #a0a0a0;
}

.hero-slider-dot.active {
    background-color: #ffffff;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* Cards Section */
.cards-section {
    width: 100%;
    padding: 0;
    background-color: transparent;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: 3;
}

.cards-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    background-color: var(--primary-blue);
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: #e3e9f5;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    text-align: left;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: left;
}

.card-subtitle {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
    text-align: left;
    font-weight: 400;
}

.card:hover .card-title,
.card:hover .card-subtitle {
    color: #ffffff;
}

.card:hover .card-icon {
    background-color: rgba(255, 255, 255, 0.18);
}

.card:hover .card-icon img {
    filter: brightness(0) invert(1);
}


/* Faculties Section */
.faculties-section {
    width: 100%;
    background-color: #ffffff;
    margin: 70px 0px 30px;
}

.faculties-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.faculties-content {
    flex: 1;
    max-width: 500px;
}

.faculties-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.faculties-description {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 32px;
}

.faculties-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.faculties-btn:hover {
    background-color: #7f0000;
}

.faculties-btn i {
    font-size: 14px;
}

/* Faculties Carousel */
.faculties-carousel {
    flex: 1;
    position: relative;
    max-width: 640px;
}

.carousel-container {
    position: relative;
    overflow: visible;
    padding: 20px 0 0px;
}

.carousel-track {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    min-height: 340px;
}

.carousel-card {
    position: relative;
    flex: 0 0 auto;
    width: clamp(320px, 36vw, 460px);
    margin: 0 -100px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.carousel-card:first-child {
    transform: translateX(120px) scale(0.9);
    z-index: 1;
    height: 275px;
}

.carousel-card:first-child .faculty-image {
    height: 275px;
}

.carousel-card:first-child .faculty-name {
    display: none;
}

.carousel-card:first-child .faculty-overlay-icon {
    display: none;
}

.carousel-card:nth-child(2) {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
}

.carousel-card:last-child {
    transform: translateX(-120px) scale(0.9);
    z-index: 1;
    height: 275px;
}

.carousel-card:last-child .faculty-image {
    height: 275px;
}

.carousel-card:last-child .faculty-name {
    display: none;
}

.carousel-card:last-child .faculty-overlay-icon {
    display: none;
}

.faculty-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.faculty-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.9) 92%);
    padding: 28px 28px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.faculty-overlay-icon {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
}

.faculty-name {
    font-size: 24px;
    font-weight:600;
    color: #ffffff;
    margin: 0;
    max-width: 70%;
    padding: 0px 0px 0px 15px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 12px;
}

.carousel-arrow {
    background: transparent;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-arrow:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.carousel-arrow-icon {
    width: 32px;
    height: 32px;
    display: block;
}


/* Future Section */
.future-section {
    width: 100%;
    position: relative;
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
    color: #ffffff;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.future-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.future-content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
}

.future-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.future-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.future-cta-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    padding: 14px 34px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.future-cta-btn:hover {
    background-color: #7f0000;
    transform: translateY(-2px);
    box-shadow: none;
}

.future-stats {
    position: absolute;
    width: 100%;
    padding: 0;
    background-color: transparent;
    bottom: -170px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.future-stats-container {
    width: 100%;
    max-width: 1100px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(15, 29, 57, 0.18);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    margin: 0 20px;
}

.future-stat-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.future-stat-card + .future-stat-card {
    border-left: 1px solid #E1E1E1;
}

.future-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.future-stat-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.future-stat-card:first-child .future-stat-icon img {
    width: 60px;
    height: 60px;
}

.future-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.future-stat-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}


/* Latest News Section */
.news-section {
    width: 100%;
    padding: 125px 0 40px;
    background-color: #ffffff;
    margin-top: 100px;
    overflow: visible;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

.news-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin: 0;
    line-height: 1.2;
    padding-bottom: 25px;
    text-align: center;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-carousel-wrapper {
    position: relative;
    overflow: visible;
    margin-bottom: 10px;
}

/* Owl Carousel overrides for news carousel */
.news-carousel-track.owl-carousel {
    width: 100%;
}

.news-carousel-track .owl-stage-outer {
    overflow: visible;
}

.news-carousel-track .owl-stage {
    overflow: visible;
}

.news-carousel-track .owl-item {
    padding: 0;
    overflow: visible;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card-media {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.news-img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
}

.faculty-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #175cd3;
    background-color: #eef4ff;
    z-index: 2;
}

.faculty-badge-general {
    background-color: #eef4ff;
}

.faculty-badge-faculty {
    background-color: #e3f5f1;
    color: #05603a;
}

.faculty-badge-sciences {
    background-color: #fef1f1;
    color: #b42318;
}

.news-card-content {
    position: relative;
    width: calc(100% - 25px);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    margin: -56px auto 0;
    margin-bottom: 15px;
    z-index: 2;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0;
    line-height: 1.45;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    width: 100%;
}

.news-date-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

/* News Carousel Navigation - Owl Carousel dots */
.news-carousel-track .owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 0;
    gap: 12px;
}

.news-carousel-track .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: none;
    background-color: #9ca3af !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    outline: none;
    display: inline-block;
}

.news-carousel-track .owl-dot span {
    display: none !important;
}

.news-carousel-track .owl-dot:hover {
    background-color: #6b7280 !important;
}

.news-carousel-track .owl-dot.active {
    background-color: var(--primary-red) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
}

/* Legacy class support (if needed) */
.news-carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 0;
}

.news-carousel-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.news-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #9ca3af;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    outline: none;
}

.news-carousel-dot:hover {
    background-color: #6b7280;
}

.news-carousel-dot.active {
    background-color: var(--primary-red);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.news-action {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.news-view-all {
    display: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #7f0000;
    transform: translateY(-2px);
}

.news-view-all-btn {
    text-decoration: none;
}


/* Latest Announcements Section */
.announcements-section {
    width: 100%;
    padding: 25px 0;
}

.announcements-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.announcements-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.announcements-carousel-wrapper {
    position: relative;
    overflow: visible;
    margin-bottom: 10px;
}

/* Owl Carousel overrides for announcements carousel */
.announcements-carousel-track.owl-carousel {
    width: 100%;
}

.announcements-carousel-track .owl-stage-outer {
    overflow: visible;
}

.announcements-carousel-track .owl-stage {
    overflow: visible;
}

.announcements-carousel-track .owl-item {
    padding: 0;
    overflow: visible;
}

.announcement-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 220px;
    padding: 25px;
    background-image: url('../images/announcements.jpg');
    background-size: 200%;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: flex-end;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-size 0.35s ease;
    box-shadow: 0 18px 30px -18px rgba(9, 32, 73, 0.35);
    width: 100%;
    cursor: pointer;
    text-decoration: none;
}

.announcement-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 35, 90, 0.5) 0%, rgba(15, 35, 90, 0.7) 100%);
    z-index: 0;
    transition: background 0.35s ease;
}

.announcement-card:hover {
    box-shadow: 0 24px 46px -22px rgba(9, 32, 73, 0.75);
    background-size: 220%;
}

.announcement-card:hover::before {
    background: linear-gradient(180deg, rgba(15, 35, 90, 0.5) 0%, rgb(25 26 29 / 80%) 100%);
}

.announcement-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.92);
    color: #112b53;
    width: fit-content;
}

.badge-general {
    background-color: rgba(255, 255, 255, 0.92);
    color: #1b2f56;
}

.badge-faculty-red {
    background-color: rgba(216, 69, 69, 0.9);
    color: #ffffff;
}

.badge-faculty-green {
    background-color: rgba(116, 202, 160, 0.95);
    color: #0e2d29;
}

.announcement-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
    text-decoration: none;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.announcement-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-link {
    gap: 14px;
    opacity: 0.9;
}

.announcement-card:hover .announcement-link i {
    transform: translateX(4px);
}

.announcements-action {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.announcements-view-all-btn {
    text-decoration: none;
}

/* Announcements Carousel Navigation - Owl Carousel dots */
.announcements-carousel-track .owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 0;
    gap: 12px;
}

.announcements-carousel-track .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: none;
    background-color: #9ca3af !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    outline: none;
    display: inline-block;
}

.announcements-carousel-track .owl-dot span {
    display: none !important;
}

.announcements-carousel-track .owl-dot:hover {
    background-color: #6b7280 !important;
}

.announcements-carousel-track .owl-dot.active {
    background-color: var(--primary-red) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
}

/* Latest Circulars Section */
.circulars-section {
    width: 100%;
    padding: 25px 0;
}

.circulars-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.circulars-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.circulars-carousel-wrapper {
    position: relative;
    overflow: visible;
    margin-bottom: 10px;
}

/* Owl Carousel overrides for circulars carousel */
.circulars-carousel-track.owl-carousel {
    width: 100%;
}

.circulars-carousel-track .owl-stage-outer {
    overflow: visible;
}

.circulars-carousel-track .owl-stage {
    overflow: visible;
}

.circulars-carousel-track .owl-item {
    padding: 0;
    overflow: visible;
}

.circular-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 220px;
    padding: 25px;
    background-image: url('../images/announcements.jpg');
    background-size: 200%;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: flex-end;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-size 0.35s ease;
    box-shadow: 0 18px 30px -18px rgba(9, 32, 73, 0.35);
    width: 100%;
    cursor: pointer;
    text-decoration: none;
}

.circular-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
    transition: opacity 0.35s ease, background 0.35s ease;
}

.circular-card:hover {
    box-shadow: 0 24px 46px -22px rgba(9, 32, 73, 0.75);
    background-size: 220%;
}

.circular-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.circular-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.circular-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.92);
    color: #112b53;
    width: fit-content;
}

.circular-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
    text-decoration: none;
}

.circular-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    pointer-events: none;
    margin-top: auto;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.circular-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.circular-card:hover .circular-link {
    gap: 14px;
    opacity: 0.9;
}

.circular-card:hover .circular-link i {
    transform: translateX(4px);
}

.circulars-action {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.circulars-view-all-btn {
    text-decoration: none;
}

/* Circulars Carousel Navigation - Owl Carousel dots */
.circulars-carousel-track .owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 0;
    gap: 12px;
}

.circulars-carousel-track .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: none;
    background-color: #9ca3af !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    outline: none;
    display: inline-block;
}

.circulars-carousel-track .owl-dot span {
    display: none !important;
}

.circulars-carousel-track .owl-dot:hover {
    background-color: #6b7280 !important;
}

.circulars-carousel-track .owl-dot.active {
    background-color: var(--primary-red) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
}

/* Legacy class support (if needed) */
.announcements-carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 0;
}

.announcements-carousel-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.announcements-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #9ca3af;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    outline: none;
}

.announcements-carousel-dot:hover {
    background-color: #6b7280;
}

.announcements-carousel-dot.active {
    background-color: var(--primary-red);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.upcoming-events-track.owl-carousel .owl-item img {
    display: block;
}

.owl-carousel .owl-item .news-card .news-date img {
    width: unset !important;
}
.owl-carousel{
    z-index: unset !important;
}

/* Circulars Section */
.circulars-section {
    width: 100%;
    padding: 25px 0;
}

.circulars-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.circulars-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.circulars-carousel-wrapper {
    position: relative;
    overflow: visible;
    margin-bottom: 10px;
}

/* Owl Carousel overrides for circulars carousel */
.circulars-carousel-track.owl-carousel {
    width: 100%;
}

.circulars-carousel-track .owl-stage-outer {
    overflow: visible;
}

.circulars-carousel-track .owl-stage {
    overflow: visible;
}

.circulars-carousel-track .owl-item {
    padding: 0;
    overflow: visible;
}

.circular-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 220px;
    padding: 25px;
    background-image: url('../images/announcements.jpg');
    background-size: 200%;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: flex-end;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-size 0.35s ease;
    box-shadow: 0 18px 30px -18px rgba(9, 32, 73, 0.35);
    width: 100%;
    cursor: pointer;
    text-decoration: none;
}

.circular-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
    transition: opacity 0.35s ease, background 0.35s ease;
}

.circular-card:hover {
    box-shadow: 0 24px 46px -22px rgba(9, 32, 73, 0.75);
    background-size: 220%;
}

.circular-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.circular-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.circular-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.92);
    color: #112b53;
    width: fit-content;
}

.circular-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
    text-decoration: none;
}

.circular-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    pointer-events: none;
    margin-top: auto;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.circular-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.circular-card:hover .circular-link {
    gap: 14px;
    opacity: 0.9;
}

.circular-card:hover .circular-link i {
    transform: translateX(4px);
}

.circulars-action {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.circulars-view-all-btn {
    text-decoration: none;
}

/* Circulars Carousel Navigation - Owl Carousel dots */
.circulars-carousel-track .owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 0;
    gap: 12px;
}

.circulars-carousel-track .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: none;
    background-color: #9ca3af !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    outline: none;
    display: inline-block;
}

.circulars-carousel-track .owl-dot span {
    display: none !important;
}

.circulars-carousel-track .owl-dot:hover {
    background-color: #6b7280 !important;
}

.circulars-carousel-track .owl-dot.active {
    background-color: var(--primary-red) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
}

/* Events Section */
.events-section {
    width: 100%;
    padding: 25px 0;
    overflow-x: hidden;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.events-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    width: 100%;
    overflow: visible;
}

.upcoming-events {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.past-events {
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.events-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Upcoming Events */
.upcoming-events-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Owl Carousel overrides for upcoming events carousel */
.upcoming-events-track.owl-carousel {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.upcoming-events-track.owl-carousel .owl-stage-outer {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.upcoming-events-track.owl-carousel .owl-stage {
    display: flex;
}

.upcoming-events-track.owl-carousel .owl-item {
    padding: 0;
    width: 100%;
}

.upcoming-event-card {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.upcoming-event-image {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
}

.upcoming-event-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    background-color: #f9f9f9;
}

.upcoming-event-card:hover .upcoming-event-img {
    transform: scale(1.2);
}

.upcoming-event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 32px 28px;
}

.upcoming-event-content {
    color: #ffffff;
}

.upcoming-event-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.upcoming-event-description {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.95;
}

.upcoming-event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.upcoming-event-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0;
}

.upcoming-event-date-icon {
    width: 20px !important; 
    height: 20px !important;
    filter: brightness(0) invert(1);
}

.upcoming-event-date i {
    font-size: 16px;
    color: #ffffff;
}

.upcoming-event-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.upcoming-event-btn:hover {
    background-color: #7f0000;
}

.upcoming-event-btn i {
    font-size: 14px;
}

/* Upcoming Events Carousel Navigation - Owl Carousel dots */
.upcoming-events-track .owl-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 10px 0 5px;
    width: 100%;
    position: relative;
}

.upcoming-events-track .owl-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    border: none;
    background-color: rgba(15, 23, 42, 0.2) !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}

.upcoming-events-track .owl-dot span {
    display: none !important;
}

.upcoming-events-track .owl-dot:hover {
    transform: scale(1.15);
}

.upcoming-events-track .owl-dot.active {
    background-color: var(--primary-red) !important;
    transform: scale(1.25);
}

/* Past Events */
.past-events-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    min-width: 0;
}

.past-event-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.past-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.past-event-image {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
}

.past-event-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 20px;
}

.past-event-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.past-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.past-event-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.past-event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.past-event-date-icon {
    width: 18px;
    height: 18px;
}

.events-action {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.events-view-all-btn {
    text-decoration: none;
}


/* Discover More Section */
.discover-section {
    width: 100%;
    padding: 25px 0;
    background-color: #ffffff;
}

.discover-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.discover-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 50px;
    line-height: 1.2;
}

.discover-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 20px;
}

.discover-card {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.discover-card:hover {
    transform: translateY(-5px);
}

.discover-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 12px;
}

.discover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.discover-card:hover .discover-img {
    transform: scale(1.3);
}

.discover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 53, 109, 0.8);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.discover-card:hover .discover-overlay {
    opacity: 0;
}

.discover-overlay-icon {
    height: auto;
    opacity: 0.5;
}

.discover-card-text {
    background-color: #ffffff;
    padding: 25px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 -2px 8px rgba(0, 0, 0, 0.1), 2px 0 8px rgba(0, 0, 0, 0.08), -2px 0 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    margin-top: -25px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 0;
    position: relative;
}

.discover-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    flex: 1;
}

.discover-card-text i {
    font-size: 16px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.discover-card:hover .discover-card-text i {
    transform: translateX(5px);
}


/* Our Branches Section */
.branches-section {
    width: 100%;
    padding: 25px 0 50px;
}

.branches-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.branches-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.branches-controls {
    margin-bottom: 20px;
}

.branches-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.branches-filter-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--section-title-color);
}

.branches-dropdown {
    padding: 15px 40px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    background-color: #ffffff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 300px;
}

.branches-dropdown:hover {
    border-color: var(--primary-blue);
}

.branches-dropdown:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.branches-apply-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.branches-apply-btn:hover {
    background-color: #7f0000;
}

.branches-intro {
    font-size: 18px;
    color: #222222;
    margin-bottom: 30px;
    line-height: 1.6;
}

.branches-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: start;
}

/* Branch List Panel */
.branches-list-panel {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.branches-search {
    position: relative;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.branches-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #C8C8C8;
    border-radius: 12px;
    font-size: 14px;
    color: #1a1a1a;
}

.branches-search-input::placeholder {
    color: var(--text-dark);
    font-size: 16px;
}

.branches-search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.branches-search-icon {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-dark);
    opacity: 1;
    pointer-events: none;
}

.branches-search i {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
}

.branches-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.branch-item {
    padding: 25px;
    border-bottom: 1px solid #eee;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.branch-item:last-child {
    border-bottom: none;
}

.branch-info {
    margin-bottom: 16px;
}

.branch-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.branch-category {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.branch-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.branch-website-btn {
    background-color: #FFDADA;
    color: var(--secondary-red);
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

.branch-website-btn:hover {
    background-color: rgba(160, 0, 0, 0.15);
}

.branch-website-btn i {
    font-size: 10px;
    color: var(--secondary-red);
}

.branch-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
}

.branch-phone i {
    font-size: 14px;
    color: var(--primary-blue);
}

/* Map Panel */
.branches-map-panel {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 600px;
}

.branches-map {
    width: 100%;
    height: 100%;
}

.branches-map iframe {
    border: none;
    border-radius: 12px;
    padding: 25px !important;
}


a.faculty-branch-item {
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: unset;
}


/* Responsive Design - Branches */
@media (max-width: 1024px) {
    .branches-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .branches-list-panel {
        height: 500px;
    }
    
    .branches-map-panel {
        height: 500px;
    }
    
}

@media (max-width: 768px) {
    .branches-section {
        padding: 60px 0;
    }
    
    .branches-section-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .branches-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .branches-filter-label {
        width: 100%;
    }
    
    .branches-dropdown {
        width: 100%;
        min-width: unset;
    }
    
    .branches-apply-btn {
        width: 100%;
    }
    
    .branches-content {
        gap: 20px;
    }
    
    .branches-list-panel {
        height: 400px;
    }
    
    .branches-map-panel {
        height: 400px;
    }
    
    .branch-item {
        padding: 16px;
    }
    
    .branch-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

