/* ==========================================================================
   Pharma Website - Custom Top Header CSS
   ========================================================================== */

/* Typography & Root Styles */
:root {
    --primary: #1E3A8A;
    --primary-hover: #2563EB;
    --secondary: #F59E0B;
    --accent: #EA580C;
    --accent-hover: #c2410c;
    --bg: #F8FAFC;
    --text: #1F2937;

    /* Mapped layout colors */
    --badge-bg: #fef3c7;
    /* light amber (matches --secondary) */
    --badge-text: #78350f;
    /* dark amber */
    --border-color: #e2e8f0;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: font-size 0.2s ease;
}

/* ==========================================
   Top Header Component Styles
   ========================================== */
.top-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.notice-badge {
    background-color: var(--badge-bg);
    border-radius: 8px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 40px;
    width: 100%;
    position: relative;
}

/* Smooth CSS Marquee Wrapper */
.notice-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

/* Inline Marquee Content (Text + Button) */
.notice-marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    /* Gap between text and button */
    padding-left: 100%;
    animation: marquee-scrolling 15s linear infinite;
}

.notice-text-content {
    color: var(--badge-text);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Pause marquee on hover */
.notice-badge:hover .notice-marquee-content {
    animation-play-state: paused;
    cursor: pointer;
}

@keyframes marquee-scrolling {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Action Buttons (Apply Now) inside Marquee */
.apply-now-btn {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color var(--transition-speed) ease, transform 0.1s ease;
    text-decoration: none;
}

.apply-now-btn:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: scale(1.05);
}

.apply-now-btn:active {
    transform: scale(1);
}

/* Utilities Navigation (Right Panel) */
.utilities-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

/* Language Selection Styling */
.lang-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-selector-wrapper i {
    color: #6c757d;
    font-size: 0.95rem;
}

.language-dropdown {
    border: none;
    background-color: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    padding: 2px 4px;
    outline: none;
    border-radius: 4px;
    transition: background-color var(--transition-speed) ease;
}

.language-dropdown:focus {
    background-color: #f1f3f5;
}

/* ==========================================
   Main Navbar Styles
   ========================================== */
.main-navbar {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#brand-logo-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-speed) ease;
}

#brand-logo-img:hover {
    transform: scale(1.02);
}

.main-navbar .nav-item {
    position: relative;
    margin: 0 6px;
}

.main-navbar .nav-link {
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
}

/* Underline effect for desktop navbar */
@media (min-width: 992px) {
    .main-navbar .nav-item:not(.dropdown) .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 12px;
        right: 12px;
        height: 2px;
        background-color: var(--primary);
        transform: scaleX(0);
        transition: transform var(--transition-speed) ease;
    }

    .main-navbar .nav-item:not(.dropdown) .nav-link:hover::after,
    .main-navbar .nav-item:not(.dropdown) .nav-link.active::after {
        transform: scaleX(1);
    }
}

/* Dropdown Menu Styles */
.main-navbar .dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    animation: dropdown-fade-in 0.2s ease-out;
}

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-navbar .dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
}

.main-navbar .dropdown-item:hover {
    background-color: rgba(30, 58, 138, 0.06);
    color: var(--primary);
}

/* ==========================================
   Mega Menu Core Configurations
   ========================================== */
.main-navbar .dropdown-mega {
    position: static !important;
    /* Forces dropdown full width */
}

.main-navbar .mega-menu-content {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 24px 40px !important;
    border-radius: 0 0 16px 16px !important;
    margin-top: 1px !important;
    border-top: 2px solid var(--primary) !important;
}

.mega-menu-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #868e96;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 8px;
}

.mega-menu-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mega-menu-list li {
    margin-bottom: 8px;
}

.mega-menu-list a {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    transition: all var(--transition-speed) ease;
}

.mega-menu-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Mega Menu Promotion Card */
.mega-promo-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.mega-promo-card:hover {
    transform: translateY(-2px);
}

.mega-promo-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.mega-promo-card p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.mega-promo-btn {
    background-color: #ffffff;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    align-self: flex-start;
    transition: background-color var(--transition-speed) ease;
    text-decoration: none;
}

.mega-promo-btn:hover {
    background-color: #f1f3f5;
    color: var(--primary-hover);
}

/* ==========================================
   Hero Carousel Slider Styles
   ========================================== */
.hero-carousel {
    width: 100%;
    overflow: hidden;
    background-color: var(--bg);
}

.hero-carousel .carousel-item {
    height: 480px;
    background-color: #ffffff;
    overflow: hidden;
}

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

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.25);
    margin: 0 6px;
    opacity: 0.6;
    transition: all var(--transition-speed) ease;
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
    opacity: 1;
}

/* Large tablet */
@media (max-width: 1199px) {
    .hero-carousel .carousel-item {
        height: 400px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .hero-carousel .carousel-item {
        height: 320px;
    }
    .hero-carousel-img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-carousel .carousel-item {
        height: 240px;
    }
    .hero-carousel-img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-carousel .carousel-item {
        height: 170px;
    }
    .hero-carousel-img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* ==========================================
   Responsive Styling (Breakpoints)
   ========================================== */

/* Medium and Small screens (Mobile & Tablet Layouts) */
@media (max-width: 991px) {
    .main-navbar {
        padding: 10px 0;
    }

    .main-navbar .navbar-collapse {
        margin-top: 10px;
        border-top: 1px solid var(--border-color);
        padding-top: 10px;
    }

    .main-navbar .nav-item {
        margin: 4px 0;
    }

    .main-navbar .dropdown-menu {
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 8px;
        margin-top: 0;
        padding: 6px;
    }

    .main-navbar .mega-menu-content {
        padding: 15px !important;
        border-radius: 8px !important;
        border-top: none !important;
        background-color: #f8f9fa !important;
    }

    .mega-promo-card {
        margin-top: 15px;
    }
}

/* ==========================================
   Partners & Affiliations Logo Styles
   ========================================== */
.partners-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    padding: 22px 0;
}

/* Outer mask — fades edges for smooth infinite feel */
.partners-slider-outer {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.partners-slider-outer::before,
.partners-slider-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.partners-slider-outer::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.partners-slider-outer::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* The scrolling track */
.partners-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    width: -webkit-max-content;
    animation: partnersScroll 22s linear infinite;
}

/* Pause on hover */
.partners-section:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual slide */
.partners-slide {
    flex-shrink: 0;
    padding: 0 14px;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    height: 76px;
    min-width: 140px;
    transition: all var(--transition-speed) ease;
}

.partner-logo-item:hover {
    box-shadow: 0 4px 18px rgba(30, 58, 138, 0.09);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.partner-logo-img {
    max-height: 44px;
    max-width: 110px;
    object-fit: contain;
    transition: all var(--transition-speed) ease;
}

.partner-logo-item:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Clickable logo — show pointer + subtle lift */
.partner-logo-clickable {
    cursor: pointer;
}
.partner-logo-clickable:hover {
    box-shadow: 0 6px 20px rgba(30,58,138,.14);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.partner-logo-clickable a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Small screens (Mobile Specifics) */
@media (max-width: 767px) {
    .top-header {
        padding: 10px 0;
    }

    .notice-badge {
        height: 38px;
        padding: 4px 10px;
    }

    .notice-text-content {
        font-size: 0.8rem;
    }

    .apply-now-btn {
        height: 24px;
        padding: 0 10px;
        font-size: 0.75rem;
    }

    .lang-selector-wrapper {
        font-size: 0.8rem;
    }

    .language-dropdown {
        font-size: 0.8rem;
    }
}

/* ==========================================
   Courses Section Styles
   ========================================== */
.courses-section {
    background-color: var(--bg);
}

.courses-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
}

.courses-title {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.courses-title-separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.courses-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

/* Card Core styling */
.course-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Accent top border effect on hover */
.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 5;
}

/* Hover effects */
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.08);
    border-color: rgba(30, 58, 138, 0.15);
}

.course-card:hover::before {
    transform: scaleX(1);
}

/* Image Wrapper */
.course-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f1f5f9;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-card:hover .course-img {
    transform: scale(1.08);
}

/* Badges overlay */
.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.badge-duration {
    background-color: var(--primary);
}

.badge-research {
    background-color: var(--accent);
}

/* Card Body */
.course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.course-card:hover .course-name {
    color: var(--primary);
}

/* Metadata List */
.course-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #4b5563;
}

.meta-icon {
    color: var(--primary);
    width: 16px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Card Footer */
.course-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

/* CTA Button Link */
.course-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cta-arrow {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-cta-btn:hover {
    color: var(--accent);
}

.course-cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

/* Media Queries for responsive adjust */
@media (max-width: 1199px) {
    .courses-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 575px) {
    .courses-title {
        font-size: 1.6rem;
    }
    .course-body {
        padding: 20px;
    }
}

/* ==========================================
   Events & Notices Section
   ========================================== */
.events-notices-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.events-title-line, .notices-title-line {
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    margin-top: 6px;
    border-radius: 2px;
}

/* Events Slider Styles */
.event-carousel {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    background-color: var(--bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.event-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f1f5f9;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.event-slide-card:hover .event-img {
    transform: scale(1.03);
}

.event-details-under {
    padding: 10px 4px 15px 4px;
}

.event-date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
}

.event-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
}

.event-indicators {
    bottom: -10px !important;
}

.event-indicators [data-bs-target] {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #94a3b8 !important;
    border: none !important;
    margin: 0 4px !important;
}

.event-indicators .active {
    background-color: var(--primary) !important;
    transform: scale(1.25);
}

/* Notices Board Styles */
.notice-board-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.notice-board-header {
    background-color: var(--primary);
    color: #ffffff;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-bell-icon {
    font-size: 1.1rem;
    animation: bell-ring 2s infinite ease;
}

@keyframes bell-ring {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(4deg); }
    85% { transform: rotate(-4deg); }
}

.notice-board-content {
    height: 380px; /* Fixed viewport height */
    overflow: hidden;
    position: relative;
    padding: 16px 20px;
    background-color: var(--bg);
}

/* Vertical marquee scrolling container */
.notice-marquee-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: scroll-vertical 18s linear infinite;
}

/* Pause scroll animation on hover to read easily */
.notice-board-content:hover .notice-marquee-vertical {
    animation-play-state: paused;
}

.notice-item-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Infinite Vertical scroll animation */
@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.notice-card-item {
    display: flex;
    gap: 16px;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.notice-card-item:hover {
    transform: translateY(-2px);
    border-color: var(--secondary);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.08);
}

.notice-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 58, 138, 0.06);
    color: var(--primary);
    border-radius: 8px;
    padding: 6px;
    min-width: 52px;
    height: 52px;
    transition: all var(--transition-speed) ease;
}

.notice-card-item:hover .notice-date-badge {
    background-color: var(--primary);
    color: #ffffff;
}

.notice-date-badge .day {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.1;
}

.notice-date-badge .month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.notice-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.notice-msg {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    transition: color var(--transition-speed) ease;
}

.notice-card-item:hover .notice-msg {
    color: var(--primary-hover);
}

/* Blinking Badge */
.notice-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 6px;
}

.notice-tag-new {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    animation: badge-pulse 1.5s infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Responsive adjustment for section layout */
@media (max-width: 991px) {
    .events-title, .notices-title {
        font-size: 1.6rem;
    }
    
    .event-name {
        font-size: 1.1rem;
    }
}

/* ==========================================
   Top Placements Section
   ========================================== */
.placements-section {
    background-color: var(--bg);
}

.placements-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
}

.placements-title {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.placements-title-separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.placements-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

/* Placements Track */
.placement-slider-container {
    width: 100%;
    position: relative;
}

.placement-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 15px 5px;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

.placement-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Card Style */
.placement-card {
    scroll-snap-align: start;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.placement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.placement-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.08);
}

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

.placement-avatar-wrap {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(245, 158, 11, 0.15);
    margin-bottom: 14px;
    transition: transform var(--transition-speed) ease;
}

.placement-card:hover .placement-avatar-wrap {
    transform: scale(1.05);
}

.placement-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placement-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.placement-course {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 12px;
}

.placement-package-badge {
    background-color: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    transition: all var(--transition-speed) ease;
}

.placement-card:hover .placement-package-badge {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.placement-company {
    font-size: 0.85rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}

.placement-company i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Card Widths & Layout Responsiveness */
@media (min-width: 992px) {
    .placement-card {
        flex: 0 0 calc(25% - 12px); /* 4 cards per view */
    }
}

@media (max-width: 991px) {
    .placement-card {
        flex: 0 0 calc(33.333% - 11px); /* 3 cards per view */
    }
    
    .placements-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 575px) {
    .placement-card {
        flex: 0 0 calc(50% - 8px); /* 2 cards per view (Exactly as requested!) */
        padding: 16px 12px;
    }
    
    .placements-title {
        font-size: 1.6rem;
    }
    
    .placement-name {
        font-size: 0.95rem;
    }
    
    .placement-course {
        font-size: 0.75rem;
    }
    
    .placement-package-badge {
        font-size: 0.78rem;
        padding: 2px 10px;
    }
    
    .placement-company {
        font-size: 0.78rem;
    }
}

/* Slider Wrapper */
.placement-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Control Buttons Style */
.placement-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-speed) ease;
}

.placement-control-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.15);
}

.placement-control-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.placement-control-btn.prev-btn {
    left: -22px;
}

.placement-control-btn.next-btn {
    right: -22px;
}

/* Adjust control button positions for smaller screens to prevent overflow */
@media (max-width: 1200px) {
    .placement-control-btn.prev-btn {
        left: -10px;
    }

    .placement-control-btn.next-btn {
        right: -10px;
    }
}

@media (max-width: 767px) {
    .placement-control-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .placement-control-btn.prev-btn {
        left: 5px;
    }

    .placement-control-btn.next-btn {
        right: 5px;
    }
}

/* ==========================================
   Companies Hiring Concentric Section
   ========================================== */
.hiring-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.hiring-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
}

.hiring-title {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.hiring-description {
    font-size: 1rem;
    max-width: 650px;
}

/* View all CTA button */
.view-all-companies-btn {
    border: 2px solid var(--primary-hover);
    color: var(--primary-hover);
    background-color: transparent;
    border-radius: 20px;
    padding: 8px 22px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-speed) ease;
}

.view-all-companies-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Dome Wrapper */
.hiring-concentric-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.hiring-circle-container {
    position: relative;
    --orbit-radius: 380px;
    --logo-size: 130px;
    width: calc(var(--orbit-radius) * 2 + var(--logo-size));
    height: calc(var(--orbit-radius) + var(--logo-size) / 2);
    overflow: hidden;
    margin-bottom: -15px;
}

/* Concentric Arches */
.concentric-arch {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 50%;
    pointer-events: none;
}

.arch-outer {
    width: calc(var(--orbit-radius) * 2);
    height: calc(var(--orbit-radius) * 2);
}

.arch-middle {
    width: calc(var(--orbit-radius) * 0.72 * 2);
    height: calc(var(--orbit-radius) * 0.72 * 2);
}

.arch-inner {
    width: calc(var(--orbit-radius) * 0.45 * 2);
    height: calc(var(--orbit-radius) * 0.45 * 2);
}

/* Orbiting Logos styling */
.orbit-logo {
    position: absolute;
    left: 50%;
    top: 100%;
    width: var(--logo-size);
    height: var(--logo-size);
    margin-left: calc(-1 * var(--logo-size) / 2);
    margin-top: calc(-1 * var(--logo-size) / 2);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    padding: 8px;
    z-index: 5;
    animation: rotate-orbit 30s linear infinite;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.orbit-logo:hover {
    border-color: var(--secondary);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.15);
}

.logo-svg-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Math formula for clockwise circular path rotation keeping logo right side up */
@keyframes rotate-orbit {
    from {
        transform: rotate(var(--start-angle)) translate(var(--orbit-radius)) rotate(calc(-1 * var(--start-angle)));
    }
    to {
        transform: rotate(calc(var(--start-angle) + 360deg)) translate(var(--orbit-radius)) rotate(calc(-1 * (var(--start-angle) + 360deg)));
    }
}

/* Pause logo animation on hover */
.hiring-circle-container:hover .orbit-logo {
    animation-play-state: paused;
}

/* Central stats styling inside arches */
.hiring-stats-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 2;
    padding-bottom: 20px;
}

.hiring-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 270px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.hiring-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(30, 58, 138, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
}

/* Responsive adjustments for Concentric Circle */
@media (max-width: 991px) {
    .hiring-title {
        font-size: 1.9rem;
    }
    
    .hiring-circle-container {
        --orbit-radius: 300px;
        --logo-size: 100px;
    }
    
    .hiring-stat-item {
        width: 230px;
        padding: 8px 12px;
        gap: 10px;
    }
    
    .hiring-stat-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 575px) {
    .hiring-title {
        font-size: 1.6rem;
    }
    
    .hiring-circle-container {
        --orbit-radius: 210px;
        --logo-size: 75px;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .hiring-stats-wrapper {
        gap: 10px;
        padding-bottom: 15px;
    }
    
    .hiring-stat-item {
        width: 175px;
        padding: 6px 10px;
        border-radius: 8px;
    }
    
    .hiring-stat-icon {
        display: none; /* Hide icons to save space on mobile width */
    }
    
    .stat-number {
        font-size: 0.88rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* Orbiting Image Logos Specific Constraints */
.hiring-logo-img {
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    transition: transform var(--transition-speed) ease;
}

.orbit-logo:hover .hiring-logo-img {
    transform: scale(1.05);
}

/* ==========================================
   Testimonials Slider Section
   ========================================== */
.testimonials-section {
    background-color: var(--bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.testimonials-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
}

.testimonials-title {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.testimonials-title-separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.testimonials-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

/* Testimonial Track Slider */
.testimonial-slider-container {
    width: 100%;
    position: relative;
}

.testimonial-slider-wrapper {
    position: relative;
    width: 100%;
}

.testimonial-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 15px 5px;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Card Style */
.testimonial-card {
    scroll-snap-align: start;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.06);
}

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

.testimonial-quote-bg {
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.04;
    pointer-events: none;
}

.testimonial-stars {
    color: var(--secondary);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4b5563;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author-info {
    text-align: center;
    margin-top: auto;
}

.testimonial-author {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.testimonial-meta {
    font-size: 0.82rem;
    color: #64748b !important;
    font-weight: 500;
}

/* Control Buttons Style */
.testimonial-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-speed) ease;
}

.testimonial-control-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.15);
}

.testimonial-control-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-control-btn.prev-btn {
    left: -22px;
}

.testimonial-control-btn.next-btn {
    right: -22px;
}

/* Card Widths & Layout Responsiveness */
@media (min-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 11px); /* 3 cards per view on desktop */
    }
}

@media (max-width: 991px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 8px); /* 2 cards per view on tablets */
    }
    
    .testimonials-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 1200px) {
    .testimonial-control-btn.prev-btn {
        left: -10px;
    }

    .testimonial-control-btn.next-btn {
        right: -10px;
    }
}

@media (max-width: 767px) {
    .testimonial-control-btn {
        display: none; /* Rely on swiping on mobile */
    }
}

@media (max-width: 575px) {
    .testimonial-card {
        flex: 0 0 100%; /* 1 card per view on mobile screens (as requested!) */
        padding: 30px 20px;
    }
    
    .testimonials-title {
        font-size: 1.6rem;
    }
}

/* ==========================================
   School Footer Section Styles
   ========================================== */
.pharma-footer {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary);
    position: relative;
}

.pharma-footer .text-muted {
    color: #94a3b8 !important;
}

.pharma-footer a.text-muted {
    color: #94a3b8 !important;
    transition: color var(--transition-speed) ease;
}

.pharma-footer a.text-muted:hover {
    color: #ffffff !important;
}

.footer-brand-area {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-about-text {
    line-height: 1.65;
    font-size: 0.9rem;
}

/* Social Media Circular Links */
.social-link-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.social-link-item:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.social-link-item.fb:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.45);
}

.social-link-item.tw:hover {
    background-color: #000000;
    border-color: #333333;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.social-link-item.ln:hover {
    background-color: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 0 12px rgba(10, 102, 194, 0.45);
}

.social-link-item.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 0 12px rgba(220, 39, 67, 0.45);
}

.social-link-item.yt:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.45);
}

/* Footer Heading Underline Accent */
.footer-heading {
    font-size: 1.15rem;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

/* Footer Link Item Lists */
.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links-list a .link-icon {
    font-size: 0.72rem;
    transition: transform var(--transition-speed) ease;
}

.footer-links-list a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.footer-links-list a:hover .link-icon {
    color: var(--secondary);
    transform: scale(1.1);
}

/* Contact List and Icons */
.footer-contact-list {
    font-size: 0.9rem;
}

.footer-contact-list .contact-icon {
    color: var(--secondary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* Newsletter Notice Box */
.footer-newsletter {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
}

.footer-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    font-size: 0.88rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

.footer-input::placeholder {
    color: #64748b;
}

.footer-input:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.newsletter-btn {
    background-color: var(--secondary);
    border: none;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.newsletter-btn:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: scale(1.05);
}

/* Footer Bottom Bar styles */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.copyright-text {
    font-size: 0.85rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: #64748b;
    transition: color var(--transition-speed) ease;
}

.footer-bottom-links a:hover {
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .pharma-footer {
        padding-top: 60px;
    }
}

@media (max-width: 767px) {
    .footer-heading {
        margin-top: 15px;
    }
    
    .footer-newsletter {
        margin-top: 20px;
    }
}

/* ==========================================
   Page Header & Breadcrumb Section Styles
   ========================================== */
.page-header-section {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(30, 58, 138, 0.75)), 
                url('https://images.unsplash.com/photo-1576086213369-97a306d36557?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    padding: 70px 0; /* Taller height as requested! */
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background-attachment: scroll; /* safe fallback on mobile devices */
}

/* Optional Parallax for large screens */
@media (min-width: 992px) {
    .page-header-section {
        background-attachment: fixed; /* Parallax effect */
    }
}

.page-header-section .page-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Glassmorphism Breadcrumb Capsule */
.page-header-section .breadcrumb {
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-header-section .breadcrumb-item a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.page-header-section .breadcrumb-item a:hover {
    color: var(--secondary);
}

.page-header-section .breadcrumb-item.active {
    color: #cbd5e1;
}

.page-header-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================
   About Us Page Content Styles
   ========================================== */
.about-page-wrapper {
    background-color: #ffffff;
}

.about-section-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
}

.about-section-title {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.about-section-lead {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Statistics Boxes */
.about-stat-box {
    background-color: var(--bg);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px;
    transition: all var(--transition-speed) ease;
}

.about-stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.04);
    border-color: rgba(30, 58, 138, 0.15);
}

.about-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(30, 58, 138, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-stat-box .stat-num {
    font-size: 1.15rem;
    color: var(--text);
}

.about-stat-box .stat-txt {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Side Image Wrapper with accent */
.about-image-wrapper {
    padding: 10px;
}

.about-image-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--secondary);
    border-radius: 16px;
    z-index: 1;
}

.about-side-img {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    margin-left: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image-wrapper:hover .about-side-img {
    transform: scale(1.02) translate(-5px, -5px);
}

/* Vision & Mission Cards */
.about-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    padding: 40px !important;
    border-radius: 24px !important;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    transition: width 0.3s ease;
    z-index: 1;
}

.vision-card::before {
    background-color: var(--primary);
}

.mission-card::before {
    background-color: var(--accent);
}

.about-card:hover {
    transform: translateY(-5px);
}

.vision-card:hover {
    border-color: rgba(30, 58, 138, 0.2);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.07);
}

.mission-card:hover {
    border-color: rgba(234, 88, 12, 0.2);
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.07);
}

.about-card:hover::before {
    width: 6px;
}

/* Icons styling with circular dashed boundaries */
.card-icon-wrap {
    display: inline-flex;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(30, 58, 138, 0.03);
    border: 1px dashed rgba(30, 58, 138, 0.15);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.mission-card .card-icon-wrap {
    background-color: rgba(234, 88, 12, 0.03);
    border-color: rgba(234, 88, 12, 0.15);
}

.about-card:hover .card-icon-wrap {
    transform: rotate(15deg) scale(1.05);
}

.card-icon-inner {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(30, 58, 138, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.05);
}

.mission-card .card-icon-inner {
    background-color: rgba(234, 88, 12, 0.08);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.05);
}

.about-card .card-title {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-card .card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Mission Item Boxes */
.mission-items-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mission-item {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary);
    transition: all var(--transition-speed) ease;
}

.mission-item:hover {
    background-color: #ffffff;
    transform: translateX(6px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
    border-color: rgba(30, 58, 138, 0.15);
    border-left-color: var(--accent);
}

.mission-item-check i {
    font-size: 1.05rem;
}

.mission-item-content span {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4b5563;
}

/* Message from Director */
.director-message-box {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.director-message-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.director-avatar-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.director-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-name {
    color: var(--primary);
    font-size: 1.1rem;
}

.director-role {
    font-size: 0.82rem;
    font-weight: 600;
}

.director-quote-icon {
    font-size: 2.2rem;
    color: var(--primary);
    opacity: 0.15;
}

.director-quote-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    font-weight: 500;
}

/* Responsive adjustments for About Us Page */
@media (max-width: 991px) {
    .about-section-title {
        font-size: 1.9rem;
    }
    
    .about-image-wrapper {
        margin-top: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .border-md-end {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        padding-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .about-section-title {
        font-size: 1.6rem;
    }
    
    .about-stat-box {
        padding: 12px 16px;
    }
    
    .stat-num {
        font-size: 1rem;
    }
    
    .director-quote-text {
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

/* ==========================================
   Quality Policy & Objectives Page Styles
   ========================================== */
.quality-policy-wrapper {
    background-color: var(--bg);
}

.policy-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
}

.policy-main-title {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.policy-title-separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.policy-card-block {
    margin-bottom: 2.5rem;
}

.policy-heading-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.policy-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.policy-content-body {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.policy-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

.policy-text strong {
    color: var(--primary);
    font-weight: 700;
}

.objective-item-box {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    transition: all var(--transition-speed) ease;
}

.objective-item-box:hover {
    background-color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08);
    border-color: rgba(30, 58, 138, 0.15);
    border-left-color: var(--primary-hover);
}

.objective-num-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all var(--transition-speed) ease;
}

.objective-item-box:hover .objective-num-badge {
    background-color: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

.objective-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #4b5563;
    display: flex;
    align-items: center;
}

.objective-desc strong {
    color: #111827;
    font-weight: 700;
}

/* Responsive adjustments for Quality Policy */
@media (max-width: 767px) {
    .policy-main-title {
        font-size: 1.8rem;
    }
    .policy-heading-banner h2 {
        font-size: 1.3rem;
    }
    .policy-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ==========================================
   Program Outcomes Page Styles
   ========================================== */
.program-outcomes-wrapper {
    background-color: var(--bg);
}

.outcomes-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
}

.outcomes-main-title {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.outcomes-title-separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.outcome-card-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary) !important;
    transition: all var(--transition-speed) ease;
}

.outcome-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08) !important;
    border-color: rgba(30, 58, 138, 0.15);
    border-left-color: var(--primary-hover) !important;
}

.outcome-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.outcome-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 3px 8px rgba(30, 58, 138, 0.2);
}

.outcome-icon {
    font-size: 2rem;
    color: var(--accent);
    transition: transform 0.4s ease;
}

.outcome-card-item:hover .outcome-icon {
    transform: rotate(15deg) scale(1.1);
}

.outcome-title {
    color: var(--primary);
    font-size: 1.25rem;
    letter-spacing: 0.3px;
    transition: color var(--transition-speed) ease;
}

.outcome-card-item:hover .outcome-title {
    color: var(--accent);
}

.outcome-text {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #4b5563;
}

.outcome-text strong {
    color: #111827;
    font-weight: 700;
}

/* Responsive adjustments for Program Outcomes */
@media (max-width: 991px) {
    .outcome-badge-wrap {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin-bottom: 5px;
    }
    .outcome-icon {
        font-size: 1.6rem;
    }
    .outcome-title {
        text-align: center;
    }
    .outcome-card-item {
        padding: 20px !important;
    }
}

@media (max-width: 767px) {
    .outcomes-main-title {
        font-size: 1.8rem;
    }
    .outcome-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ==========================================
   Founder Message Page Styles
   ========================================== */
.founder-message-wrapper {
    background-color: var(--bg);
}

/* Yellow Commandment Card styling */
.commandment-card {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 1px solid rgba(180, 83, 9, 0.2);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12) !important;
}

@media (min-width: 992px) {
    .border-lg-end {
        border-right: 1px solid rgba(180, 83, 9, 0.2) !important;
    }
    .border-lg-start {
        border-left: 1px solid rgba(180, 83, 9, 0.2) !important;
    }
}

.founder-photo-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #f3f4f6;
}

.founder-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.founder-photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    z-index: 1;
}

.founder-name {
    color: #451a03;
    font-size: 1.05rem;
}

.commandment-subtitle {
    font-size: 0.76rem;
    letter-spacing: 3px;
    display: inline-block;
}

.commandment-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
}

.commandment-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: italic;
    line-height: 1.7;
}

/* Sanskrit quote styling */
.sanskrit-quote-box {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.sanskrit-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Founder Message Card styling */
.founder-heading-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.founder-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.founder-content-body {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.founder-msg-lead {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #1f2937;
}

.founder-content-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: #4b5563;
}

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

/* Utilities classes helper */
.text-amber-900 { color: #78350f !important; }
.text-amber-950 { color: #451a03 !important; }
.text-amber-800 { color: #92400e !important; }
.bg-amber-100 { background-color: #fef3c7 !important; }
.border-amber-200 { border-color: #fde68a !important; }
.fs-7 { font-size: 0.8rem !important; }

/* Responsive adjustments for Founder Message */
@media (max-width: 991px) {
    .commandment-card {
        padding: 30px 20px !important;
    }
    .founder-photo-wrapper {
        width: 90px;
        height: 90px;
    }
    .commandment-title {
        font-size: 1.7rem;
    }
    .commandment-text {
        font-size: 1.1rem;
    }
    .sanskrit-text {
        font-size: 1.1rem;
    }
}

/* ==========================================
   Chairman's Message Page Styles
   ========================================== */
.chairman-message-wrapper {
    background-color: var(--bg);
}

.chairman-profile-card {
    border: 1px solid var(--border-color);
}

.chairman-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #f3f4f6;
    transition: transform var(--transition-speed) ease;
}

.chairman-profile-card:hover .chairman-photo-wrapper {
    transform: scale(1.03);
}

.chairman-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.chairman-photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    z-index: 1;
}

.chairman-info-box {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.border-amber {
    border-left: 4px solid var(--secondary) !important;
}

.chairman-name {
    font-size: 1.25rem;
}

/* Chairman Message Card styling */
.chairman-heading-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.chairman-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.chairman-content-body {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.chairman-content-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

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

.chairman-footer-message p {
    font-size: 1.05rem;
}

/* Responsive adjustments for Chairman Message */
@media (max-width: 991px) {
    .chairman-profile-card {
        padding: 30px !important;
    }
    .chairman-photo-wrapper {
        width: 140px;
        height: 140px;
    }
    .chairman-photo-fallback {
        font-size: 2.8rem;
    }
}

/* ==========================================
   Vice-Chairman's Message Page Styles
   ========================================== */
.vice-chairman-message-wrapper {
    background-color: var(--bg);
}

.vice-chairman-profile-card {
    border: 1px solid var(--border-color);
}

.vice-chairman-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #f3f4f6;
    transition: transform var(--transition-speed) ease;
}

.vice-chairman-profile-card:hover .vice-chairman-photo-wrapper {
    transform: scale(1.03);
}

.vice-chairman-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.vice-chairman-photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    z-index: 1;
}

.vice-chairman-info-box {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.vice-chairman-name {
    font-size: 1.25rem;
}

/* Vice-Chairman Message Card styling */
.vice-chairman-heading-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.vice-chairman-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.vice-chairman-content-body {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.vice-chairman-content-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

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

/* Responsive adjustments for Vice-Chairman Message */
@media (max-width: 991px) {
    .vice-chairman-profile-card {
        padding: 30px !important;
    }
    .vice-chairman-photo-wrapper {
        width: 140px;
        height: 140px;
    }
    .vice-chairman-photo-fallback {
        font-size: 2.8rem;
    }
}

/* ==========================================
   Advisor's Message Page Styles
   ========================================== */
.advisor-message-wrapper {
    background-color: var(--bg);
}

.advisor-profile-card {
    border: 1px solid var(--border-color);
}

.advisor-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #f3f4f6;
    transition: transform var(--transition-speed) ease;
}

.advisor-profile-card:hover .advisor-photo-wrapper {
    transform: scale(1.03);
}

.advisor-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.advisor-photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    z-index: 1;
}

.advisor-info-box {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.advisor-name {
    font-size: 1.25rem;
}

/* Advisor Message Card styling */
.advisor-heading-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.advisor-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.advisor-content-body {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.advisor-content-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

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

.advisor-footer-message p {
    font-size: 1.05rem;
}

/* Responsive adjustments for Advisor Message */
@media (max-width: 991px) {
    .advisor-profile-card {
        padding: 30px !important;
    }
    .advisor-photo-wrapper {
        width: 140px;
        height: 140px;
    }
    .advisor-photo-fallback {
        font-size: 2.8rem;
    }
}

/* ==========================================
   Executive Director's Message Page Styles
   ========================================== */
.executive-director-message-wrapper {
    background-color: var(--bg);
}

.executive-director-profile-card {
    border: 1px solid var(--border-color);
}

.executive-director-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #f3f4f6;
    transition: transform var(--transition-speed) ease;
}

.executive-director-profile-card:hover .executive-director-photo-wrapper {
    transform: scale(1.03);
}

.executive-director-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.executive-director-photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    z-index: 1;
}

.executive-director-info-box {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.executive-director-name {
    font-size: 1.25rem;
}

/* Executive Director Message Card styling */
.executive-director-heading-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.executive-director-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.executive-director-content-body {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.executive-director-content-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

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

.executive-director-footer-message p {
    font-size: 1.05rem;
}

/* Responsive adjustments for Executive Director Message */
@media (max-width: 991px) {
    .executive-director-profile-card {
        padding: 30px !important;
    }
    .executive-director-photo-wrapper {
        width: 140px;
        height: 140px;
    }
    .executive-director-photo-fallback {
        font-size: 2.8rem;
    }
}

/* ==========================================
   Principal's Message Page Styles
   ========================================== */
.principal-message-wrapper {
    background-color: var(--bg);
}

.principal-profile-card {
    border: 1px solid var(--border-color);
}

.principal-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #f3f4f6;
    transition: transform var(--transition-speed) ease;
}

.principal-profile-card:hover .principal-photo-wrapper {
    transform: scale(1.03);
}

.principal-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.principal-photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    z-index: 1;
}

.principal-info-box {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.principal-name {
    font-size: 1.25rem;
}

/* Principal Message Card styling */
.principal-heading-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.principal-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.principal-content-body {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.principal-content-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

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

.principal-footer-message p {
    font-size: 1.05rem;
}

/* Principal designation card */
.principal-designation-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff;
}

.principal-designation-card .principal-deg-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.principal-designation-card .principal-deg-role {
    font-size: 0.88rem;
    opacity: 0.88;
}

.principal-designation-card .principal-deg-qual {
    font-size: 0.82rem;
    opacity: 0.75;
}

/* Responsive adjustments for Principal Message */
@media (max-width: 991px) {
    .principal-profile-card {
        padding: 30px !important;
    }
    .principal-photo-wrapper {
        width: 140px;
        height: 140px;
    }
    .principal-photo-fallback {
        font-size: 2.8rem;
    }
}

/* ==========================================
   Infrastructure Page Styles
   ========================================== */

/* Sidebar Navigation */
.infra-sidebar {
    position: sticky;
    top: 90px;
}

.infra-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.infra-sidebar-header {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    padding: 16px 20px;
    color: #ffffff;
}

.infra-sidebar-header h6 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.infra-nav-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.infra-nav-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.infra-nav-list li a:hover,
.infra-nav-list li a.active {
    background-color: #eff6ff;
    color: var(--primary);
    border-left-color: var(--primary);
}

.infra-nav-list li a i {
    width: 20px;
    text-align: center;
    color: var(--secondary);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.infra-nav-list li a:hover i,
.infra-nav-list li a.active i {
    color: var(--primary);
}

/* Content Sections */
.infra-section {
    scroll-margin-top: 100px;
}

.infra-section-header {
    border-left: 4px solid var(--secondary);
    padding-left: 16px;
    margin-bottom: 16px;
}

.infra-section-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.infra-section-header p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

.infra-section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
}

/* Image Cards */
.infra-img-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.infra-img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.1);
}

.infra-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #e5e7eb;
    position: relative;
}

.infra-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.infra-img-card:hover .infra-img-wrapper img {
    transform: scale(1.06);
}

.infra-img-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: var(--primary);
    font-size: 2.5rem;
    gap: 6px;
}

.infra-img-fallback span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    opacity: 0.6;
}

.infra-card-body {
    padding: 16px;
}

.infra-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.infra-card-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .infra-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .infra-img-wrapper {
        height: 170px;
    }
}

@media (max-width: 575px) {
    .infra-section-header h3 {
        font-size: 1.15rem;
    }
}