/* Glenmark front-end (home + inner pages) */
.home-page {
    background: #fff;
}

/* Site header: logo left (white), nav right (red bar) */
.site-top-header {
    z-index: 1030;
    position: relative;
}

.site-header-bar {
    display: flex;
    align-items: stretch;
    min-height: 96px;
}

.site-header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 0.5rem 1.75rem;
    border-left: 5px solid var(--gm-primary);
    text-decoration: none;
    line-height: 0;
}

.site-header-logo img {
    height: 88px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-header-nav-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--gm-primary);
    padding: 0 2.5rem;
    min-width: 0;
}

.site-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 2.75rem;
}

.site-header-nav a,
.site-header-nav .site-nav-auth,
.site-mobile-nav a,
.site-mobile-nav .site-nav-auth {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    background: none;
    border: none;
    padding: 0;
    white-space: nowrap;
    font-family: inherit;
    cursor: pointer;
    line-height: 1.4;
}

.site-header-nav a:hover,
.site-header-nav a.active,
.site-header-nav .site-nav-auth:hover,
.site-mobile-nav a:hover,
.site-mobile-nav a.active,
.site-mobile-nav .site-nav-auth:hover {
    color: #fff;
    opacity: 0.85;
}

.site-mobile-toggle {
    color: #fff;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    margin-left: auto;
}

.site-mobile-nav-collapse {
    background: var(--gm-primary-dark);
}

.site-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
}

.site-mobile-nav a,
.site-mobile-nav .site-nav-auth {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.site-mobile-nav a:last-child,
.site-mobile-nav .site-nav-auth:last-child {
    border-bottom: 0;
}

/* Ticker */
.home-ticker {
  /*  background: var(--gm-primary);
    background: var(--gm-gold);
    color: #fff;
    */
    overflow: hidden;
    white-space: nowrap;
    padding: 0.55rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 3px solid var(--gm-gold);
    border-bottom: 3px solid var(--gm-gold);
    position: relative;
    z-index: 1;
}

.home-ticker-track {
    display: inline-flex;
    animation: tickerScroll 30s linear infinite;
}

.home-ticker-item {
    padding: 0 3rem;
}

.home-ticker-item i {
    color: var(--gm-gold);
}

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

/* Hero slider */
.home-hero-slider {
    position: relative;
    background: #f0f0f0;
    border-bottom: 3px solid var(--gm-gold);
}

.home-hero-slider .carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.home-hero-slider .carousel-caption {
    background: rgba(237, 28, 36, 0.85);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    bottom: 2rem;
    border-left: 4px solid var(--gm-gold);
}

.home-hero-placeholder {
    height: 420px;
    background: linear-gradient(135deg, var(--gm-primary) 0%, var(--gm-primary-dark) 55%, var(--gm-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.home-hero-placeholder h2 {
    font-weight: 700;
    font-size: 2rem;
}

/* Sections */
.home-section {
    padding: 3rem 0;
    border-bottom: 3px solid var(--gm-gold);
}

.home-section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.home-section-title.gold {
    color: var(--gm-gold);
}

.home-section-title.red {
    color: var(--gm-primary);
   
    letter-spacing: 1px;
}

.home-section-title.faculty-heading {
    text-transform: none;
    letter-spacing: 0;
}

.home-about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.home-objectives-bar {
    background: var(--gm-primary);
    color: #fff;
    padding: 2.5rem 0;
    border-top: 2px solid var(--gm-gold);
    border-bottom: 2px solid var(--gm-gold);
}

.home-objectives-bar h3 {
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.home-objectives-bar ul {
    margin: 0;
    padding-left: 1.2rem;
}

.home-objectives-bar li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Faculty section */
.faculty-session-label {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    margin-top: -0.75rem;
    margin-bottom: 2rem;
}

.faculty-block-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faculty-role-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 1.75rem 0 1rem;
    color: #000;
}

.faculty-block-inner .faculty-row:first-of-type {
    padding-top: 0;
}

.faculty-block-inner .faculty-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1rem 0;
}

.faculty-block-inner .faculty-photo img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    background: #f0f0f0;
}

.faculty-block-inner .faculty-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.faculty-block-inner .faculty-details {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

/* Agenda on home */
.home-agenda-date {
    color: var(--gm-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.home-agenda-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eee;
}

.home-agenda-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--gm-gold);
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.home-agenda-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

/* Archive cards */
.home-archive-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    height: 100%;
}

.home-archive-card .card-top {
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-archive-card .card-top img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.home-archive-card .card-bottom {
    background: var(--gm-primary);
    color: #fff;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    border-top: 3px solid var(--gm-gold);
}

.home-archive-card .card-bottom .btn {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}

.home-footer {
    background: var(--gm-primary);
    color: #fff;
    border-top: 4px solid var(--gm-gold);
    padding: 2rem 0;
}

.home-back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--gm-primary);
    color: #fff;
    border: 2px solid var(--gm-gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 100;
    opacity: 0;
    transition: opacity .3s;
}

.home-back-top.visible { opacity: 1; }

@media (max-width: 991px) {
    .site-header-bar {
        min-height: 72px;
    }
    .site-header-logo {
        padding: 0.4rem 1rem;
    }
    .site-header-logo img {
        height: 60px;
        max-width: 160px;
    }
    .site-header-nav-wrap {
        padding: 0 1rem;
    }
    .home-hero-slider .carousel-item img,
    .home-hero-placeholder { height: 260px; }
}
