/* =========================================================
   COLORFUL THEME LAYER  (loaded after style.css)
   To go back to the old look: remove the colorful.css <link>
   line from header.php. style.css is untouched.
   ========================================================= */

:root {
    --c-blue: #1054c8;
    --c-violet: #6a3de8;
    --c-orange: #ff7a2f;
    --c-pink: #e8417a;
    --c-teal: #12b5a6;
    --c-yellow: #ffb703;
    --c-green: #8cc63e;
    --grad-main: linear-gradient(135deg, #1054c8 0%, #6a3de8 55%, #e8417a 100%);
    --grad-warm: linear-gradient(135deg, #ff7a2f 0%, #e8417a 100%);
    --grad-cool: linear-gradient(135deg, #12b5a6 0%, #1054c8 100%);
}

/* ---------- Header ---------- */
.header-top_area.bg-charcoal_color {
    background: var(--grad-main);
}
.header-top_area .ht-right i {
    color: var(--c-yellow);
}
.main-header_area .main-header {
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--c-blue), var(--c-violet), var(--c-pink), var(--c-orange), var(--c-yellow), var(--c-teal)) 1;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li:hover > a {
    color: var(--c-orange) !important;
}
.ademy-dropdown {
    border-top: 3px solid var(--c-orange) !important;
}
.ademy-dropdown li a:hover,
.ademy-dropdown li a:hover i {
    color: var(--c-violet) !important;
}

/* ---------- Slider ---------- */
.home-slider .slide-content > span.intro {
    color: var(--c-yellow);
}
.home-slider .slide-content > h1.heading > span,
.home-slider .cd-words-wrapper b {
    color: var(--c-yellow);
}

/* ---------- Section headings ---------- */
.section-title > h6.heading {
    color: var(--c-orange);
}
.section-title > h2.sub-heading > span,
.introduction-area-2 h2.heading > span,
.instagram-area .instagram-title > h2.heading > span {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--c-violet);
}

/* ---------- Counter strip: one colour per tile ---------- */
.counter-area.bg-denim_color {
    background: var(--grad-main);
}
.counter-area .row > div:nth-child(1) .counter-icon > i { color: var(--c-yellow); }
.counter-area .row > div:nth-child(2) .counter-icon > i { color: #7ff0e3; }
.counter-area .row > div:nth-child(3) .counter-icon > i { color: #ffb0c8; }
.counter-area .row > div:nth-child(4) .counter-icon > i { color: #ffc49b; }
.counter-area .counter-item span.title {
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- Intro list ---------- */
.introduction-area .list-item li a i {
    color: var(--c-orange);
}
.introduction-area .list-item li a:hover {
    color: var(--c-violet);
}

/* ---------- Feature cards (3 colours) ---------- */
.introduction-area-2 .intro-item {
    border-top: 5px solid var(--c-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.introduction-area-2 .intro-item_wrap > div:nth-child(1) .intro-item { border-top-color: var(--c-orange); background: #fff7f1 !important; }
.introduction-area-2 .intro-item_wrap > div:nth-child(2) .intro-item { border-top-color: var(--c-violet); background: #f6f2ff !important; }
.introduction-area-2 .intro-item_wrap > div:nth-child(3) .intro-item { border-top-color: var(--c-teal);   background: #effbf9 !important; }
.introduction-area-2 .intro-item:hover {
    transform: translateY(-6px);
}
.introduction-area-2 .intro-item p.short-desc {
    color: #6b6b6b;
}

/* ---------- Soft tinted section backgrounds ---------- */
.intro-with_newsletter.bg-smoke_color {
    background: linear-gradient(180deg, #fff8f0 0%, #f4f0ff 100%);
}
.event-area.bg-smoke_color {
    background: linear-gradient(180deg, #f4f0ff 0%, #eefaf8 100%);
}
.our-teacher_area.bg-smoke_color {
    background: linear-gradient(180deg, #fffaf0 0%, #fff3f6 100%);
}

/* ---------- Events ---------- */
.sticker-2 {
    background: var(--grad-warm);
}
.event-area .event-zone i {
    color: var(--c-orange);
}

/* ---------- Admissions banner ---------- */
.ticket-area.bg-denim_color {
    background: var(--grad-warm);
}

/* ---------- Buttons ---------- */
.denim-color_btn {
    background: var(--grad-main);
    border: 0;
}
.denim-color_btn:hover {
    background: var(--grad-warm);
}
.atlantis-color_btn:hover {
    background-color: var(--c-orange);
}

/* ---------- Principal ---------- */
.author-info .name {
    color: var(--c-violet);
}
.author-info .position {
    color: var(--c-orange);
}

/* ---------- Footer ---------- */
.footer-area.bg-smoke_color {
    background: linear-gradient(135deg, #1b1446 0%, #2a1a5e 50%, #0f2f6b 100%);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--c-orange), var(--c-pink), var(--c-violet), var(--c-teal)) 1;
}
.footer-area,
.footer-area p,
.footer-area span,
.footer-area a {
    color: rgba(255, 255, 255, 0.8) !important;
}
.footer-area .logo h3,
.footer-area h3.widgets-heading,
.footer-area h3.title {
    color: #ffffff !important;
}
.footer-area h3.widgets-heading {
    position: relative;
}
.footer-area h3.widgets-heading::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 8px;
    border-radius: 2px;
    background: var(--grad-warm);
}
.footer-area a:hover {
    color: var(--c-yellow) !important;
}
.footer-area h3.title i {
    color: var(--c-yellow);
}
.footer-bottom_area {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Scroll-to-top ---------- */
.scroll-to-top {
    background: var(--grad-main);
}
.scroll-to-top:hover {
    background: var(--grad-warm);
}

/* =========================================================
   COLLEGE NAME / BRAND LOCKUP IN HEADER
   ========================================================= */
.header-logo a { text-decoration: none; display: inline-block; }
.college-brand {
    /* Maroon & gold palette for the college name */
    --cb-maroon: #7a1020;
    --cb-maroon-dark: #4e0a14;
    --cb-gold: #d4af37;
    --cb-gold-light: #f3d77a;
    --cb-gold-text: #a8841a;   /* darker gold, readable on white */
    --cb-grad-maroon: linear-gradient(135deg, #9b1b30 0%, #7a1020 50%, #4e0a14 100%);
    --cb-grad-gold: linear-gradient(90deg, #a8841a 0%, #f3d77a 50%, #a8841a 100%);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}
.college-brand .cb-emblem {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cb-grad-maroon);
    box-shadow: 0 0 0 3px var(--cb-gold-light), 0 0 0 6px var(--cb-maroon), 0 0 0 8px var(--cb-gold), 0 10px 22px rgba(78, 10, 20, 0.35);
    transition: transform 0.4s ease;
}
.college-brand .cb-emblem i {
    color: var(--cb-gold-light);
    font-size: 36px;
    line-height: 1;
}
.header-logo a:hover .cb-emblem { transform: rotate(-8deg) scale(1.05); }

/* College logo image (assets/images/logo/gasc-logo.png) */
.college-brand .cb-logo {
    flex: 0 0 auto;
    height: 84px;
    width: auto;
    display: block;
    transition: transform 0.4s ease;
}
.header-logo a:hover .cb-logo { transform: scale(1.04); }
.college-brand.cb-compact .cb-logo { height: 50px; }
@media (max-width: 767px) {
    .college-brand .cb-logo { height: 54px; }
    .college-brand.cb-compact .cb-logo { height: 40px; }
}

.college-brand .cb-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.college-brand .cb-small {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--cb-maroon);
}
.college-brand .cb-name {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 0.01em;
    color: var(--cb-maroon);
    padding: 2px 0 4px;
    white-space: nowrap;
}
.college-brand .cb-place {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cb-maroon);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.college-brand .cb-place::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--cb-grad-gold);
}
.college-brand .cb-place em {
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--cb-maroon);
}

/* Sticky (scrolling) header: compact version */
.college-brand.cb-compact { gap: 10px; padding: 4px 0; }
.college-brand.cb-compact .cb-emblem {
    width: 42px; height: 42px;
    box-shadow: 0 0 0 2px var(--cb-gold-light), 0 0 0 4px var(--cb-maroon), 0 0 0 5px var(--cb-gold);
}
.college-brand.cb-compact .cb-emblem i { font-size: 22px; }
.college-brand.cb-compact .cb-name { font-size: 20px; padding: 0; }
.college-brand.cb-compact .cb-place { font-size: 11px; }
.college-brand.cb-compact .cb-place::before { width: 18px; height: 2px; }

/* Responsive */
@media (max-width: 1399px) {
    .college-brand .cb-name { font-size: 22px; }
}
@media (max-width: 767px) {
    .college-brand { gap: 10px; }
    .college-brand .cb-emblem { width: 48px; height: 48px; box-shadow: 0 0 0 2px var(--cb-gold-light), 0 0 0 4px var(--cb-maroon), 0 0 0 5px var(--cb-gold); }
    .college-brand .cb-emblem i { font-size: 24px; }
    .college-brand .cb-small { font-size: 10px; letter-spacing: 0.25em; }
    .college-brand .cb-name { font-size: 18px; white-space: normal; }
    .college-brand .cb-place { font-size: 11px; letter-spacing: 0.15em; }
    .college-brand.cb-compact .cb-name { font-size: 15px; }
}

/* Scroll animations (WOW.js): gentler distance than animate.css default */
@keyframes gascFadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to   { opacity: 1; transform: none; }
}
.wow.fadeInUp.animated { animation-name: gascFadeInUp; }
@media (prefers-reduced-motion: reduce) {
    .wow { visibility: visible !important; animation: none !important; }
}
