﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /*    #0071B9*/
    --text-accent: #012E75;
    --text-primary: #000000;
    --text-secondary: #2A2A2A;
    --text-tertiary: #00000099;
    --text-inverse: #FFFFFF;
    --text-inverse-light: #FFFFFF80;
    --font-family-primary: Open Sans;
    --font-family-secondary: 'Raleway';
    --border-color-accent: #012E75;
    --border-color-primary: #4A4A4A;
    --border-color-secondary: #DDDDDD;
    --border-color-tertiary: #AAAAAA;
    --background-accent: #012E75;
    --background-accent-light: #012E7530;
    --background-primary: #4A4A4A;
    --background-secondary: #DDDDDD;
}

.social-header {
    border-bottom: 2px solid var(--border-color-secondary);
}

ul {
    list-style: none;
}

.social-icon {
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-accent);
    transition: all 0.2s ease;
    cursor: pointer;
}

    .social-icon:hover {
        color: var(--text-inverse);
    }

.icon-facebook:hover {
    background-color: #1877F2;
}

.icon-twitter:hover {
    background-color: #000000;
}

.icon-linkedin:hover {
    background-color: #0077B5;
}

.contact-link {
    text-decoration: none;
    color: var(--border-color-primary);
    font-weight: 700;
    font-family: var(--font-family-secondary);
    font-size: 15px;
    transition: all 0.2s ease;
}

    .contact-link:hover {
        color: var(--text-accent);
    }

.contact-icon {
    padding: 4px 8px;
    color: var(--text-accent);
    border-right: 2px solid var(--border-color-secondary);
}

.nav-link {
    font-size: 14px;
    padding: 6px 15px;
    border-radius: 3px;
    font-family: var(--font-family-primary);
    font-weight: normal;
    color: var(--text-secondary);
}

.arrow-icon {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
    font-weight: 700;
}

.navbar,
.navbar .container-fluid {
    height: 100%;
}

.navbar-nav {
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100% !important;
    display: flex;
    align-items: center;
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    width: max-content;
    background-color: #ffffff;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    background-color: #F0F5F9;
    transition: all 0.2s ease;
    overflow: auto;
    scrollbar-width: none;
    border-bottom: 3px solid var(--border-color-accent);
    border-radius: 0 0 5px 5px;
}

    .custom-dropdown-menu li {
        flex: 0 0 auto;
    }

.custom-dropdown:hover .custom-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}



.custom-user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(-15px);
    width: max-content;
    background-color: #ffffff;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    background-color: #F0F5F9;
    transition: all 0.2s ease;
    overflow: auto;
    scrollbar-width: none;
    border-bottom: 3px solid var(--border-color-accent);
    border-radius: 0 0 5px 5px;
}

    .custom-user-dropdown-menu li {
        flex: 0 0 auto;
    }

.custom-user-dropdown:hover .custom-user-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 4px !important;
    border: 2px solid #aaaaaa !important;
    margin: 0 5px;
    background-color: transparent !important;
}

    .carousel-indicators button:hover {
        border-color: var(--border-color-accent) !important;
    }

.carousel-item {
    position: relative;
    height: 450px;
}

    .carousel-item::before {
        content: "";
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: var(--background-accent);
        opacity: 0.5;
    }

.carousel-custom-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-family: var(--font-family-primary);
}

    .carousel-custom-caption h1 {
        font-weight: 700;
    }

.carousel-item.active .animate-left {
    animation-name: slideFromLeft;
    animation-delay: 0.3s;
}

.carousel-item.active .animate-top {
    animation-name: slideFromTop;
    animation-delay: 1.3s;
}

.carousel-item.active .animate-bottom {
    animation-name: slideFromBottom;
    animation-delay: 2.3s;
}

.animate-top, .animate-bottom, .animate-left {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

@keyframes slideFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(-60px);
    }
}

.carousel-control-prev,
.carousel-control-next {
    border: 2px solid #aaaaaa;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        border-color: var(--border-color-accent);
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 12px;
    width: 12px;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M11 2L5 8l6 6'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 2l6 6-6 6'/%3e%3c/svg%3e");
}

.section {
    background-color: #F0F5F9;
}

.heading {
    position: relative;
    display: inline-block;
    font-family: var(--font-family-primary);
    font-weight: 700;
    color: var(--text-primary);
}

    .heading::before,
    .heading::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 25px;
        height: 4px;
        background-color: var(--background-accent);
    }

    .heading::before {
        left: -40px;
    }

    .heading::after {
        right: -40px;
    }

.content {
    font-family: var(--font-family-secondary);
    color: var(--text-secondary);
}

.content-bold {
    font-weight: 700;
}

.btn-accent {
    border: 2px solid var(--border-color-accent);
    width: max-content;
    color: var(--text-accent);
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-family-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-accent:hover {
        color: var(--text-inverse);
        background-color: var(--background-accent);
    }

.image-wrapper {
    position: relative;
    padding: 15px;
}

    .image-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 80%;
        height: 80%;
        background-color: var(--background-accent-light);
        border-radius: 20px;
        z-index: -1;
    }

.image {
    border-radius: 20px;
    border-bottom: 4px solid var(--border-color-accent);
}

.sponser-section {
    position: relative;
    overflow: hidden;
}

    .sponser-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../images/ser_bg.jpg);
        background-size: cover;
        background-position: center;
        filter: grayscale(100%) brightness(1.5);
        opacity: 0.75;
        z-index: 1;
    }

.sponser-section-content {
    position: relative;
    z-index: 2;
}

.slider {
    position: relative;
    width: 900px;
    max-width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease-in-out;
    border-radius: 20px 20px 0 0;
}

.slide {
    min-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    user-select: none;
}

.bottom-center {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    background: #fff;
    padding: 15px 20px;
    padding-bottom: 0;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    overflow: visible;
    border-radius: 20px 20px 0 0;
    transition: all 0.2s ease-in-out;
}

    .bottom-center::before,
    .bottom-center::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 40px;
        height: 40px;
        background: #fff;
        border-radius: 0;
        z-index: -1;
    }

    .bottom-center::before {
        left: -30px;
        bottom: -10px;
        mask: radial-gradient(30px at top left, #0000 98%, #000);
    }

    .bottom-center::after {
        right: -30px;
        bottom: -10px;
        mask: radial-gradient(30px at top right, #0000 98%, #000);
    }

.sponser-heading {
    font-family: var(--font-family-primary);
    font-weight: 700;
    color: var(--text-primary);
}

.btn-accent-sm {
    padding: 8px 15px;
    font-size: 14px;
}

.indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: var(--background-secondary);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .dot.active {
        background-color: var(--background-primary);
    }

.stat-arc-wrapper {
    position: relative;
}

.arc-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.icon-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 5;
    color: var(--text-accent);
    font-size: 2rem;
    background: #FFFFFF;
}

.arc-svg {
    width: 200px;
    height: 200px;
    transform: rotate(135deg);
}

.arc-path {
    fill: none;
    stroke: var(--border-color-accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-arc .arc-path {
    stroke-dashoffset: 141;
}

.stat-info-box {
    padding: 20px;
    border-radius: 50px;
    display: inline-block;
    min-width: 180px;
    position: relative;
    z-index: 6;
    text-align: center;
}

.stat-number {
    display: block;
    font-weight: 700;
    color: var(--text-accent);
    font-family: var(--font-family-primary);
}

.stat-title {
    text-transform: uppercase;
    color: var(--text-primary);
    font-family: var(--font-family-primary);
    margin: 0;
    font-weight: 600;
}

.stat-description {
    color: var(--text-secondary);
    font-family: var(--font-family-secondary);
}

.news-card {
    position: relative;
    height: 100%;
}

.card-accent {
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background-color: transparent;
    border: 2px solid var(--border-color-accent);
    z-index: 1;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.card-inner {
    position: relative;
    background: #FFFFFF;
    padding: 35px;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-color-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.news-card:hover .card-inner {
    transform: translate(-10px, -10px);
}

.news-card:hover .card-accent {
    background-color: var(--background-accent);
    transform: translate(5px, 5px);
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color-secondary);
    font-family: var(--font-family-primary);
    padding-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.4rem;
    font-family: var(--font-family-primary);
}

.news-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    font-family: var(--font-family-secondary);
}

.advertise-left {
    background-color: #bd0e02;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    min-height: 400px;
}

.advertise-content p {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.advertise-content .email {
    font-weight: 800;
    font-size: 1.4rem;
    margin-top: 1rem;
}

.advertise-right {
    color: #fff;
    background-color: #005f8f;
    min-height: 500px;
}

.advertise-badge {
    background-color: black;
    color: white;
    width: max-content;
    margin-inline: auto;
    padding: 15px 60px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.advertise-right .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.advertise-right .carousel-indicators .active {
    background-color: white;
    transform: scale(1.2);
}

.footer-section {
    background-color: #0071B9;
}

.footer-heading {
    font-family: var(--font-family-primary);
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
}

    .footer-heading::before,
    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: -10px;
    }

    .footer-heading::before {
        height: 3px;
        width: 10%;
        background-color: #000;
        left: 0;
    }

    .footer-heading::after {
        height: 3px;
        width: 90%;
        /*        background-color: var(--text-secondary);*/
        left: 10%;
    }

.footer-links {
    padding: 0;
}

    .footer-links li {
        margin-bottom: 6px;
    }

        .footer-links li,
        .footer-links li a {
            color: #FFFFFF;
            font-family: var(--font-family-secondary);
            text-decoration: none;
        }

            .footer-links li span {
                color: #fff;
                font-weight: 600;
            }

.footer-divider {
    border: 1px solid #fff;
}

.copyright {
    color: #fff;
}

.pres-slider-wrapper {
    position: relative;
    padding: 0 20px;
}

.presidents-slider-container {
    overflow: hidden;
    width: 100%;
    padding: 40px 0; /* Increased padding for shadow breathing room */
}

.presidents-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); /* Smoother, more organic easing */
}

/* --- Advanced Card Styling --- */
.president-card {
    flex: 0 0 33.333%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Image with Gradient Overlay */
.pres-img {
    width: 100%;
    height: 340px;
    /*    object-fit: cover;*/
    border-radius: 20px 20px 0 0; /* More rounded modern corners */
    display: block;
    transition: filter 0.4s ease;
}

/* Elegant Info Box */
.pres-info {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 0 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* Layered Box Shadow for Depth */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-top: none;
    position: relative;
}

.pres-name {
    font-size: 20px;
    font-weight: 800; /* Heavier weight for hierarchy */
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.pres-designation {
    font-size: 0.85rem;
    color: var(--text-accent);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pres-desc {
    font-size: 0.90rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Advanced Controls --- */
.pres-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 15px; /* Squircle shape instead of circle */
    background: #ffffff;
    border: none;
    color: #1a1a1a;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pres-slider-wrapper:hover .pres-control {
    opacity: 1;
}

.pres-control.prev {
    left: -5px;
}

.pres-control.next {
    right: -5px;
}

.pres-control:hover {
    background: var(--background-accent);
    color: #ffffff;
    transform: translateY(-50%);
}

.pres-control i {
    font-size: 1.2rem;
}
