/* ==========================================================================
   SHUBHRAJ PHARMACY COLLEGE — MODERN DESIGN OVERRIDE
   Load this file AFTER style.css: <link rel="stylesheet" href="web/assets/css/custom.css">
   ========================================================================== */

/* ---------- 1. CSS VARIABLES & BASE ---------- */
:root {
    --spc-primary: #0e7c61;
    --spc-primary-dark: #095c47;
    --spc-primary-light: #16a085;
    --spc-accent: #f39c12;
    --spc-accent-dark: #d68910;
    --spc-blue: #1a5fb4;
    --spc-ink: #1d2b36;
    --spc-muted: #222223;
    --spc-bg: #f4f8f7;
    --spc-white: #ffffff;
    --spc-radius: 14px;
    --spc-radius-lg: 20px;
    --spc-shadow-sm: 0 2px 10px rgba(14, 124, 97, .08);
    --spc-shadow: 0 10px 30px rgba(14, 124, 97, .12);
    --spc-shadow-lg: 0 20px 50px rgba(14, 124, 97, .18);
    --spc-grad: linear-gradient(135deg, #0e7c61 0%, #16a085 100%);
    --spc-grad-accent: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --spc-transition: all .35s cubic-bezier(.25, .8, .25, 1);
}

body {
    font-family: 'Segoe UI', 'Poppins', Roboto, Helvetica, Arial, sans-serif;
    color: var(--spc-ink);
    background: var(--spc-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--spc-ink);
    letter-spacing: -.3px;
}

p { color: var(--spc-muted); line-height: 1.85; font-size: 15.5px; }

img { max-width: 100%; }

a { transition: var(--spc-transition); }

/* ---------- 2. HEADER TOP BAR ---------- */
.header-top_area {
    background: linear-gradient(90deg, var(--spc-primary-dark), var(--spc-primary), var(--spc-primary-light)) !important;
    padding: 8px 0;
}

.header-top_area .ht-intro {
    color: #d9f3ea;
    font-size: 13.5px;
    letter-spacing: .3px;
}

.header-top_area .ht-right ul li {
    color: #eafaf4;
    font-size: 13.5px;
}

.header-top_area .ht-right ul li i { color: var(--spc-accent); }

/* ---------- 3. MAIN HEADER ---------- */
.main-header {
    background: var(--spc-white);
    box-shadow: 0 4px 25px rgba(14, 124, 97, .10);
    position: relative;
    z-index: 99;
}

.header-logo img {
    max-height: 70px;
    width: auto;
    transition: var(--spc-transition);
}

.main-header .main-nav > ul > li > a {
    font-size: 15px;
    font-weight: 600;
    color: var(--spc-ink);
    padding: 32px 14px;
    position: relative;
}

.main-header .main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--spc-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--spc-transition);
}

.main-header .main-nav > ul > li:hover > a::after,
.main-header .main-nav > ul > li.active > a::after {
    transform: scaleX(1);
}

.main-header .main-nav > ul > li:hover > a { color: var(--spc-primary); }

/* Dropdown */
.ademy-dropdown {
    border-radius: var(--spc-radius) !important;
    box-shadow: var(--spc-shadow-lg) !important;
    border-top: 3px solid var(--spc-primary-light) !important;
    padding: 10px 0 !important;
    min-width: 230px;
}

.ademy-dropdown li a {
    padding: 9px 22px !important;
    font-size: 14px;
    color: var(--spc-ink);
}

.ademy-dropdown li a i { color: var(--spc-primary-light); font-size: 11px; }

.ademy-dropdown li a:hover {
    background: rgba(22, 160, 133, .08) !important;
    color: var(--spc-primary) !important;
    padding-left: 28px !important;
}

/* Social icons in header */
.header-right_area.with-radius {
    background: var(--spc-grad) !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
}

.social-link li a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    font-size: 15px;
}

.social-link li a:hover {
    background: var(--spc-accent);
    transform: translateY(-3px);
}

/* Sticky header */
.main-header.header-sticky.sticky {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 30px rgba(14, 124, 97, .15);
}

/* Mobile menu */
.mobile-menu_wrapper {
    background: var(--spc-white);
}

.mobile-menu > li > a {
    font-weight: 600;
    padding: 13px 0;
    border-bottom: 1px solid #eef3f2;
}

/* ---------- 4. HERO SLIDER ---------- */
.slider-area { position: relative; }

.slider-area::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 2;
}

.slide-item { position: relative; }

.slide-item img {
    min-height: 320px;
    max-height: 88vh;
    object-fit: cover;
    width: 100%;
    transform: scale(1.05);
    transition: transform 7s ease;
}

.slide-item.slick-active img { transform: scale(1); }

/* Slider arrows */
.home-slider .slick-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, .5);
    z-index: 5;
    transition: var(--spc-transition);
}

.home-slider .slick-arrow:hover {
    background: var(--spc-accent);
    border-color: var(--spc-accent);
}

.home-slider .slick-arrow::before { font-size: 20px; }

.home-slider .slick-prev { left: 30px; }
.home-slider .slick-next { right: 30px; }

/* Slider dots (if enabled) */
.slick-dots li button {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
}

.slick-dots li.slick-active button { background: var(--spc-accent); }

/* ---------- 5. SECTION TITLES ---------- */
.section-title { position: relative; }

.section-title .heading {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--spc-primary);
    display: inline-block;
    background: rgba(22, 160, 133, .1);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 18px !important;
}

.section-title .sub-heading {
    font-size: 38px;
    line-height: 1.25;
}

.section-title .sub-heading span {
    background: var(--spc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Generic heading used in inner sections */
.introduction-area-2 .heading,
.introduction-area .heading.heading-big {
    font-size: 34px;
    margin-bottom: 35px !important;
    position: relative;
    padding-bottom: 18px;
}

.introduction-area-2 .heading span { color: var(--spc-primary); }

.introduction-area-2 .heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    border-radius: 4px;
    background: var(--spc-grad-accent);
}

/* ---------- 6. INTRODUCTION / ABOUT AREA ---------- */
.introduction-area { padding: 90px 0; background: var(--spc-white); }

.introduction-img_area .inner-img {
    border-radius: var(--spc-radius-lg);
    overflow: hidden;
    box-shadow: var(--spc-shadow-lg);
    position: relative;
}

.introduction-img_area .inner-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,124,97,.15), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.introduction-img_area .inner-img img {
    transition: transform .8s ease;
}

.introduction-img_area:hover .inner-img img { transform: scale(1.06); }

/* Experience badge on about image */
.introduction-img_area .inner-img { position: relative; }

/* List items with icons */
.list-item li a {
    color: var(--spc-ink);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
}

.list-item li a i {
    color: var(--spc-accent);
    font-size: 13px;
    margin-right: 10px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 156, 18, .12);
    border-radius: 50%;
}

.list-item li a:hover { color: var(--spc-primary); padding-left: 6px; }

/* ---------- 7. FACULTY CARDS ---------- */
.intro-with_newsletter { padding: 90px 0; }

.intro-with_newsletter .introduction-area-2 .heading span {
    background: var(--spc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-item.bg-white_color {
    background: var(--spc-white);
    border-radius: var(--spc-radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--spc-shadow-sm);
    border: 1px solid rgba(14, 124, 97, .07);
    transition: var(--spc-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.intro-item.bg-white_color::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--spc-grad);
    transform: scaleX(0);
    transition: var(--spc-transition);
}

.intro-item.bg-white_color:hover {
    transform: translateY(-10px);
    box-shadow: var(--spc-shadow-lg);
}

.intro-item.bg-white_color:hover::before { transform: scaleX(1); }

.intro-item .intro-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(22, 160, 133, .15);
    box-shadow: 0 8px 20px rgba(14, 124, 97, .18);
    transition: var(--spc-transition);
}

.intro-item.bg-white_color:hover .intro-img {
    border-color: var(--spc-accent);
    transform: scale(1.04);
}

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

.intro-item .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px !important;
}

.intro-item .short-desc {
    font-size: 13.5px;
    color: var(--spc-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- 8. COURSE / TICKET AREA ---------- */
.ticket-area {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

/* Modern gradient replacing flat bg */
.bg-denim_color {
    background: linear-gradient(120deg, #0a3d33 0%, #0e7c61 55%, #12876a 100%) !important;
}

.ticket-area::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.ticket-area::after {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -160px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(243, 156, 18, .08);
}

.ticket-area .container { position: relative; z-index: 2; }

.ticket-item .heading {
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
}

.ticket-item .heading span {
    display: inline-block;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--spc-radius);
    padding: 20px 26px;
    backdrop-filter: blur(4px);
}

.ticket-area .list-item li a {
    color: #eafaf4 !important;
    font-size: 18px !important;
}

.ticket-area .list-item li a i {
    background: rgba(243, 156, 18, .2);
    color: var(--spc-accent);
    width: 34px;
    height: 34px;
    font-size: 15px;
}

.ticket-area .introduction-img_area .inner-img {
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
    border: 6px solid rgba(255, 255, 255, .12);
}

/* ---------- 9. BUTTONS ---------- */
.ademy-btn,
button.ademy-btn,
a.ademy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--spc-grad);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .4px;
    padding: 14px 14px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 22px rgba(14, 124, 97, .35);
    transition: var(--spc-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ademy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--spc-grad-accent);
    opacity: 0;
    transition: var(--spc-transition);
    z-index: -1;
}

.ademy-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(243, 156, 18, .4);
}

.ademy-btn:hover::before { opacity: 1; }

.ademy-btn.btn-white {
    background: #fff;
    color: var(--spc-primary);
}

.ademy-btn.btn-outline {
    background: transparent;
    border: 2px solid var(--spc-primary);
    color: var(--spc-primary);
    box-shadow: none;
}

.ademy-btn.btn-outline:hover { background: var(--spc-primary); color: #fff; }

/* ---------- 10. FORMS / SEARCH ---------- */
.search-body .inner-body {
    border-radius: 50px;
    border: 1.5px solid rgba(14, 124, 97, .2);
    overflow: hidden;
    transition: var(--spc-transition);
}

.search-body .inner-body:focus-within {
    border-color: var(--spc-primary);
    box-shadow: 0 0 0 4px rgba(14, 124, 97, .1);
}

.search-body .input-field {
    padding: 10px 20px;
    font-size: 14px;
}

.search-body .inner-btn {
    background: var(--spc-grad);
    color: #fff;
    padding: 0 18px;
}

/* ---------- 11. FOOTER ---------- */
.footer-area {
    position: relative;
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--spc-grad-accent);
}

.footer-top_area { padding: 75px 0 55px; }

.footer-widgets_area .logo img {
    max-height: 65px;
    margin-bottom: 20px;
}

.footer-widgets_area .short-desc p {
    color: var(--spc-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
}

.footer-widgets_area .short-desc p .icon { color: var(--spc-primary); margin-top: 4px; }

.footer-widgets_area .footer-widgets > ul > li > a {
    color: #101010 !important;
}

.widgets-heading {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 24px !important;
    position: relative;
    padding-bottom: 12px;
}

.widgets-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    border-radius: 3px;
    background: var(--spc-grad);
}

.footer-widgets ul li { margin-bottom: 12px; }

.footer-widgets ul li a {
    color: var(--spc-muted);
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
}

.footer-widgets ul li a::before {
    content: '\f3d3';
    font-family: 'Ionicons';
    font-size: 11px;
    color: var(--spc-primary-light);
    margin-right: 10px;
    transition: var(--spc-transition);
}

.footer-widgets ul li a:hover { color: var(--spc-primary); padding-left: 5px; }

.footer-bottom_area {
    background: var(--spc-ink) !important;
    padding: 20px 0;
}

.footer-bottom_area .copyright,
.footer-bottom_area .copyright a,
.footer-bottom_area .copyright span { color: #9db2bd; font-size: 14px; }

.footer-bottom_area .copyright a { color: var(--spc-primary-light); font-weight: 600; }

.footer-bottom_area .social-link li a { background: rgba(255, 255, 255, .08); }

.footer-bottom_area .social-link li a:hover { background: var(--spc-accent); }

/* ---------- 12. SCROLL TO TOP ---------- */
.scroll-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--spc-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(14, 124, 97, .4);
    transition: var(--spc-transition);
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--spc-grad-accent);
    transform: translateY(-5px);
}

/* ---------- 13. ANIMATION HELPERS ---------- */
@keyframes spcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes spcPulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, .5); }
    70% { box-shadow: 0 0 0 16px rgba(243, 156, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

/* Reveal on scroll (add class="wow fadeInUp" or use with animate.css) */
.fadeInUp, .fadeInLeft, .fadeInRight { visibility: visible; }

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 1199px) {
    .section-title .sub-heading { font-size: 32px; }
    .ticket-item .heading { font-size: 26px; }
}

@media (max-width: 991px) {
    .introduction-area, .intro-with_newsletter, .ticket-area { padding: 60px 0; }
    .section-title .sub-heading { font-size: 27px; }
    .ticket-area .list-item { padding-top: 25px !important; }
    .ticket-area .col-lg-6:last-child { margin-top: 35px; }
}

@media (max-width: 767px) {
    .section-title .sub-heading { font-size: 23px; }
    .home-slider .slick-arrow { width: 42px; height: 42px; }
    .home-slider .slick-prev { left: 12px; }
    .home-slider .slick-next { right: 12px; }
    .ticket-item .heading span { padding: 15px 18px; }
    .intro-item .intro-img { width: 120px; height: 120px; }
}
