/* ==============================================================================
   College Specific Styles
   Created: 2024
   Description: Custom styles for college pages
   ============================================================================== */

/* ==============================================================================
   College Hero Section Styles
   ============================================================================== */
.college-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.college-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.85) 0%, rgba(50, 58, 69, 0.75) 100%);
    z-index: 1;
}

.college-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    animation: fadeInScale 1s ease;
}

/* College Icon */
.college-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.college-icon-wrapper i {
    font-size: 48px;
    color: #fff;
}

/* College Name */
.college-name {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

/* College Name Decoration */
.college-name-decoration {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    margin: 0 auto;
    border-radius: 2px;
    animation: expand 2s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: #fff;
    font-size: 28px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

@keyframes expand {
    0%, 100% {
        width: 120px;
        opacity: 0.8;
    }
    50% {
        width: 160px;
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .college-hero-section {
        min-height: 60vh;
    }

    .college-name {
        font-size: 46px;
    }

    .college-icon-wrapper {
        width: 90px;
        height: 90px;
    }

    .college-icon-wrapper i {
        font-size: 42px;
    }
}

@media (max-width: 767.98px) {
    .college-hero-section {
        min-height: 55vh;
    }

    .college-name {
        font-size: 38px;
    }

    .college-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }

    .college-icon-wrapper i {
        font-size: 36px;
    }

    .college-name-decoration {
        width: 100px;
    }

    .scroll-indicator i {
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .college-hero-section {
        min-height: 50vh;
    }

    .college-name {
        font-size: 30px;
        letter-spacing: 0.5px;
    }

    .college-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .college-icon-wrapper i {
        font-size: 32px;
    }

    .college-name-decoration {
        width: 80px;
        height: 3px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ==============================================================================
   College Overview Section Styles (Tabs Design)
   ============================================================================== */
.college-overview-section {
    background: #fff;
    position: relative;
}

.college-info-wrapper {
    /* max-width: 1000px; */
    margin: 0 auto;
}

/* Tabs Navigation */
.college-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 60px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.college-tabs-nav .nav-item {
    flex: 1;
    min-width: 150px;
}

.college-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 25px;
    border: none;
    background: transparent;
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.college-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.college-tab-btn:hover::before {
    opacity: 0.1;
}

.college-tab-btn.active::before {
    opacity: 1;
}

.college-tab-btn i {
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.college-tab-btn span {
    position: relative;
    z-index: 1;
}

.college-tab-btn:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.college-tab-btn.active {
    color: #fff;
    box-shadow: 0 8px 20px rgba(17, 105, 103, 0.3);
}

.college-tab-btn:hover i,
.college-tab-btn.active i {
    transform: scale(1.15);
}

/* Tab Content */
.college-tab-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Card */
.college-info-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.info-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-header-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-header-icon i {
    font-size: 32px;
    color: #fff;
}

.info-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.info-card-body {
    padding: 40px 45px;
}

/* Info Content Styles - Flexible for any content length */
.info-content {
    font-size: 17px;
    line-height: 2;
    color: #444;
    text-align: justify;
}

.info-content p {
    margin-bottom: 20px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.info-content ul,
.info-content ol {
    margin: 20px 0;
    padding-right: 30px;
    padding-left: 30px;
}

[dir="rtl"] .info-content ul,
[dir="rtl"] .info-content ol {
    padding-right: 30px;
    padding-left: 0;
}

[dir="ltr"] .info-content ul,
[dir="ltr"] .info-content ol {
    padding-left: 30px;
    padding-right: 0;
}

.info-content li {
    margin-bottom: 12px;
    line-height: 1.9;
    color: #555;
}

.info-content li::marker {
    color: var(--primary-color);
    font-weight: 700;
}

/* Goals Section Title */
.goals-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px dashed rgba(17, 105, 103, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.goals-section-title:first-of-type {
    margin-top: 20px;
}

.goals-section-title i {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Headings in dynamic content */
.info-content h1,
.info-content h2,
.info-content h3,
.info-content h4,
.info-content h5,
.info-content h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.info-content h1 { font-size: 32px; }
.info-content h2 { font-size: 28px; }
.info-content h3 { font-size: 24px; }
.info-content h4 { font-size: 20px; }
.info-content h5 { font-size: 18px; }
.info-content h6 { font-size: 16px; }

/* Links in dynamic content */
.info-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: var(--secondary-color);
}

/* Images in dynamic content */
.info-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Blockquote in dynamic content */
.info-content blockquote {
    background: var(--primary-light);
    border-right: 4px solid var(--primary-color);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 10px;
    font-style: italic;
    color: #555;
}

[dir="ltr"] .info-content blockquote {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

/* Tables in dynamic content */
.info-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.info-content table th {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    text-align: right;
    font-weight: 600;
}

[dir="ltr"] .info-content table th {
    text-align: left;
}

.info-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.info-content table tr:last-child td {
    border-bottom: none;
}

.info-content table tr:nth-child(even) {
    background: #f8f9fa;
}

/* ==============================================================================
   Responsive Styles for Overview Section
   ============================================================================== */
@media (max-width: 991.98px) {
    .college-tabs-nav {
        gap: 8px;
        padding: 8px;
    }

    .college-tabs-nav .nav-item {
        min-width: 130px;
    }

    .college-tab-btn {
        padding: 15px 20px;
        font-size: 14px;
    }

    .college-tab-btn i {
        font-size: 22px;
    }

    .info-card-header {
        padding: 25px 30px;
    }

    .info-card-title {
        font-size: 24px;
    }

    .info-card-body {
        padding: 30px 35px;
    }
}

@media (max-width: 767.98px) {
    .college-tabs-nav {
        flex-direction: column;
        border-radius: 20px;
        gap: 5px;
    }

    .college-tabs-nav .nav-item {
        width: 100%;
        min-width: auto;
    }

    .college-tab-btn {
        flex-direction: row;
        justify-content: center;
        padding: 15px 20px;
        border-radius: 15px;
    }

    .college-tab-btn i {
        font-size: 20px;
    }

    .info-card-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .info-header-icon {
        width: 60px;
        height: 60px;
    }

    .info-header-icon i {
        font-size: 28px;
    }

    .info-card-title {
        font-size: 22px;
    }

    .info-card-body {
        padding: 25px 20px;
    }

    .info-content {
        font-size: 16px;
        line-height: 1.9;
    }

    .goals-section-title {
        font-size: 18px;
    }

    .goals-section-title i {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {


    .college-tab-btn i {
        font-size: 18px;
    }

    .info-card-header {
        padding: 20px 15px;
    }

    .info-header-icon {
        width: 55px;
        height: 55px;
    }

    .info-header-icon i {
        font-size: 26px;
    }

    .info-card-title {
        font-size: 20px;
    }

    .info-card-body {
        padding: 20px 15px;
    }

    .info-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .info-content ul,
    .info-content ol {
        padding-right: 20px;
        padding-left: 20px;
    }

    .goals-section-title {
        font-size: 17px;
        flex-wrap: wrap;
    }
}

/* ==============================================================================
   Academic Departments Section Styles
   ============================================================================== */
.academic-departments-section {
    background: #f8f9fa;
    position: relative;
}

/* Department Card - New Design */
.department-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(17, 105, 103, 0.08);
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.02) 0%, rgba(50, 58, 69, 0.02) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(17, 105, 103, 0.15);
    border-color: rgba(17, 105, 103, 0.2);
}

.department-card:hover::before {
    opacity: 1;
}

/* Department Header - Minimal Design */
.department-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 35px 30px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.department-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.department-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.department-card:hover .department-badge {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.department-badge .badge-text {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Department Body - Enhanced */
.department-body {
    padding: 35px 30px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    background: #fff;
}

.department-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.department-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.department-card:hover .department-title {
    color: var(--secondary-color);
}

.department-card:hover .department-title::after {
    width: 80px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.department-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
    text-align: center;
    font-weight: 400;
}

/* Department Footer - Modern Design */
.department-footer {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.02) 0%, rgba(50, 58, 69, 0.02) 100%);
    border-top: 1px solid rgba(17, 105, 103, 0.08);
    position: relative;
    z-index: 1;
    text-align: center;
}

.department-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.department-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.department-link:hover {
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 105, 103, 0.3);
}

.department-link:hover::before {
    left: 0;
}

.department-link i {
    font-size: 16px;
    transition: all 0.3s ease;
}

[dir="rtl"] .department-link:hover i {
    transform: translateX(-3px);
}

[dir="ltr"] .department-link:hover i {
    transform: translateX(3px);
}

/* View All Departments Button */
.view-all-departments-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.view-all-departments-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(17, 105, 103, 0.3);
}

.view-all-departments-btn i {
    font-size: 18px;
}

/* ==============================================================================
   Responsive Styles for Departments Section
   ============================================================================== */
@media (max-width: 991.98px) {
    .department-card {
        margin-bottom: 0;
    }

    .department-header {
        padding: 30px 25px;
    }

    .department-body {
        padding: 30px 25px;
    }

    .department-title {
        font-size: 22px;
    }

    .department-description {
        font-size: 15px;
    }

    .department-footer {
        padding: 20px 25px;
    }
}

@media (max-width: 767.98px) {
    .department-header {
        padding: 25px 20px;
    }

    .department-body {
        padding: 25px 20px;
    }

    .department-title {
        font-size: 20px;
    }

    .department-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .department-footer {
        padding: 20px;
    }

    .department-link {
        font-size: 15px;
        padding: 10px 20px;
    }
}

@media (max-width: 575.98px) {
    .department-header {
        padding: 20px 15px;
    }

    .department-badge {
        padding: 10px 20px;
    }

    .department-badge .badge-text {
        font-size: 12px;
    }

    .department-body {
        padding: 20px 15px;
    }

    .department-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .department-description {
        font-size: 14px;
    }

    .department-footer {
        padding: 15px;
    }

    .department-link {
        font-size: 14px;
        padding: 8px 15px;
    }

    .view-all-departments-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================================================================
   College Carousel Section Styles
   ============================================================================== */
.college-carousel-section {
    position: relative;
    overflow: hidden;
    background: #fff;
}

#collegeCarousel {
    width: 100%;
    height: 600px;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carousel Caption Overlay */
.carousel-caption-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.85) 0%, rgba(50, 58, 69, 0.75) 100%);
    z-index: 1;
}

/* Carousel Caption */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    max-width: 900px;
    text-align: center;
    right: auto !important;
    bottom: auto !important;
}

.carousel-caption-content {
    animation: slideUp 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 1s ease 0.3s both;
}

.carousel-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeIn 1s ease 0.5s both;
    text-align: center;
    width: 100%;
}

.carousel-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease 0.7s both;
    text-align: center;
    width: 100%;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease 0.9s both;
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.carousel-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover::before {
    left: 0;
}

.carousel-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
}

[dir="rtl"] .carousel-btn:hover i {
    transform: translateX(-5px);
}

[dir="ltr"] .carousel-btn:hover i {
    transform: translateX(5px);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 3;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 40px;
    border-radius: 6px;
    background-color: #fff;
    border-color: #fff;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 3;
}

.carousel-control-prev {
    left: 30px;
    right: auto;
}

.carousel-control-next {
    right: 30px;
    left: auto;
}

.carousel-control-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-icon i {
    font-size: 24px;
    color: #fff;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* Carousel Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* ==============================================================================
   Responsive Styles for Carousel
   ============================================================================== */
@media (max-width: 991.98px) {
    #collegeCarousel,
    .carousel-item {
        height: 500px;
    }

    .carousel-caption {
        width: 95%;
        max-width: 800px;
    }

    .carousel-title {
        font-size: 38px;
    }

    .carousel-description {
        font-size: 18px;
        max-width: 600px;
    }

    .carousel-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .carousel-control-icon {
        width: 50px;
        height: 50px;
    }

    .carousel-control-icon i {
        font-size: 20px;
    }

    .carousel-control-prev {
        left: 20px;
    }

    .carousel-control-next {
        right: 20px;
    }
}

@media (max-width: 767.98px) {
    #collegeCarousel,
    .carousel-item {
        height: 450px;
    }

    .carousel-caption {
        width: 95%;
        max-width: 600px;
    }

    .carousel-badge {
        font-size: 12px;
        padding: 8px 20px;
    }

    .carousel-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .carousel-description {
        font-size: 16px;
        margin-bottom: 25px;
        max-width: 500px;
    }

    .carousel-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-icon {
        width: 45px;
        height: 45px;
    }

    .carousel-control-icon i {
        font-size: 18px;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }

    .carousel-indicators .active {
        width: 30px;
    }
}

@media (max-width: 575.98px) {
    #collegeCarousel,
    .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        width: 90%;
        max-width: 100%;
    }

    .carousel-badge {
        font-size: 11px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }

    .carousel-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .carousel-description {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.5;
        max-width: 100%;
    }

    .carousel-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-control-icon i {
        font-size: 16px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }

    .carousel-indicators .active {
        width: 24px;
    }
}

/* ==============================================================================
   Dean's Message Section Styles
   ============================================================================== */
.dean-message-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.dean-message-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(17, 105, 103, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.dean-message-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(50, 58, 69, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

/* Dean Profile Card (Image Section) - Vertical Layout */
.dean-profile-card {
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.dean-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.dean-image-container {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: 350px;
}

.dean-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dean-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
    filter: brightness(1.05);
}

.dean-profile-card:hover .dean-photo {
    transform: scale(1.05);
}

.dean-badge-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

[dir="ltr"] .dean-badge-overlay {
    right: auto;
    left: 15px;
}

.dean-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(17, 105, 103, 0.4);
    animation: rotate-badge 10s linear infinite;
}

.dean-badge i {
    font-size: 28px;
    color: #fff;
}

@keyframes rotate-badge {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.dean-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.dean-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.dean-position {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.dean-contact-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dean-contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.dean-contact-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(17, 105, 103, 0.3);
}

.dean-contact-icon i {
    font-size: 18px;
}

.dean-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 105, 103, 0.2);
}

.dean-contact-btn:hover {
    background: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 105, 103, 0.3);
}

.dean-contact-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.dean-contact-btn:hover i {
    transform: scale(1.1);
}

/* Dean Message Content Card */
.dean-message-content-card {
    background: #fff;
    border-radius: 25px;
    padding: 50px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.message-quote-top {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 70px;
    color: rgba(17, 105, 103, 0.06);
    z-index: 0;
}

[dir="ltr"] .message-quote-top {
    right: auto;
    left: 40px;
}

.message-quote-bottom {
    position: absolute;
    bottom: 30px;
    left: 40px;
    font-size: 70px;
    color: rgba(50, 58, 69, 0.06);
    z-index: 0;
}

[dir="ltr"] .message-quote-bottom {
    left: auto;
    right: 40px;
}

.dean-message-body {
    position: relative;
    z-index: 1;
}

.dean-greeting {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed rgba(17, 105, 103, 0.2);
}

.dean-paragraph {
    font-size: 17px;
    line-height: 2;
    color: #444;
    text-align: justify;
    margin-bottom: 25px;
    text-indent: 30px;
}

.dean-paragraph strong {
    color: var(--primary-color);
    font-weight: 600;
}

.dean-closing {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed rgba(17, 105, 103, 0.15);
}

.dean-wishes {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

.dean-signature-section {
    text-align: center;
}

.signature-decorative-line {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    margin: 0 auto 20px;
}

.signature-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.signature-title {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0;
}

/* Decorative Elements */
.message-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.decorative-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(17, 105, 103, 0.04);
}

.decorative-shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: -30px;
    animation: float-shape 6s ease-in-out infinite;
}

.decorative-shape-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: -20px;
    background: rgba(50, 58, 69, 0.04);
    animation: float-shape 8s ease-in-out infinite reverse;
}

.decorative-shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 10%;
    background: rgba(17, 105, 103, 0.03);
    animation: float-shape 7s ease-in-out infinite;
}

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

/* ==============================================================================
   Responsive Styles
   ============================================================================== */
@media (max-width: 991.98px) {
    .dean-message-content-card {
        padding: 40px 40px;
    }

    .dean-profile-card {
        gap: 25px;
        padding: 35px;
        max-width: 550px;
    }

    .dean-name {
        font-size: 24px;
    }

    .dean-position {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .dean-message-content-card {
        padding: 30px 25px;
    }

    .message-quote-top,
    .message-quote-bottom {
        font-size: 50px;
    }

    .message-quote-top {
        top: 20px;
        right: 20px;
    }

    .message-quote-bottom {
        bottom: 20px;
        left: 20px;
    }

    .dean-greeting {
        font-size: 18px;
    }

    .dean-paragraph {
        font-size: 16px;
        line-height: 1.9;
        text-indent: 20px;
    }

    .dean-wishes {
        font-size: 16px;
    }

    .signature-name {
        font-size: 18px;
    }

    .signature-title {
        font-size: 15px;
    }

    /* Dean profile card adjustments for tablets */
    .dean-profile-card {
        padding: 30px;
        gap: 20px;
        max-width: 500px;
    }

    .dean-name {
        font-size: 22px;
    }

    .dean-position {
        font-size: 15px;
    }

    .dean-badge {
        width: 50px;
        height: 50px;
    }

    .dean-badge i {
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .dean-message-content-card {
        padding: 25px 20px;
    }

    .message-quote-top,
    .message-quote-bottom {
        font-size: 40px;
        opacity: 0.5;
    }

    .dean-paragraph {
        font-size: 15px;
        line-height: 1.8;
        text-indent: 15px;
    }

    .dean-profile-card {
        padding: 25px 20px;
        max-width: 100%;
    }

    .dean-name {
        font-size: 20px;
    }

    .dean-position {
        font-size: 15px;
    }

    .dean-contact-icon {
        width: 40px;
        height: 40px;
    }

    .dean-contact-icon i {
        font-size: 16px;
    }

    .dean-contact-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .dean-contact-btn i {
        font-size: 16px;
    }
}


/* ===========================
   College News Swiper Section
   =========================== */

.college-news-swiper {
    padding: 15px 0 50px;
}

.college-news-swiper .swiper-slide {
    height: auto;
}

.college-news-swiper .related-post-card {
    height: 100%;
    transition: all 0.3s ease;
}

.college-news-swiper .related-post-image {
    height: 220px;
}

.college-news-swiper .related-post-image img {
    transition: all 0.5s ease;
}

.college-news-swiper .related-post-content {
    padding: 20px;
}

.college-news-swiper .related-post-category {
    font-size: 13px;
    margin-bottom: 12px;
}

.college-news-swiper .related-post-title {
    font-size: 17px;
    line-height: 1.6;
    margin: 15px 0;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.college-news-swiper .related-post-date {
    font-size: 13px;
}

.college-news-swiper .related-post-date i {
    color: #46908d;
}

/* Swiper Navigation Buttons */
.college-news-button-next,
.college-news-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.college-news-button-next:after,
.college-news-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.college-news-button-next:hover,
.college-news-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Swiper Pagination */
.college-news-pagination {
    bottom: 0 !important;
}

.college-news-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.college-news-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .college-news-button-next,
    .college-news-button-prev {
        width: 35px;
        height: 35px;
    }

    .college-news-button-next:after,
    .college-news-button-prev:after {
        font-size: 14px;
    }

    .college-news-swiper .related-post-image {
        height: 180px;
    }

    .college-news-swiper .related-post-content {
        padding: 15px;
    }

    .college-news-swiper .related-post-title {
        font-size: 15px;
        min-height: 45px;
    }
}

