/********** Kanchan Pharmacy College - Premium Blue Academic UI **********/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Merriweather:wght@400;700;900&display=swap');

:root {
    --primary: #0A2540; /* Oxford Deep Blue - Very Premium */
    --secondary: #0066FF; /* Vibrant Azure Blue Accent */
    --light: #F3F7FB; /* Soft Icy Blue-White */
    --dark: #0B1120; /* Deepest Slate Blue for text */
    --text-muted: #475569; /* Cool slate gray */
    --blue-shadow: rgba(0, 102, 255, 0.08);
}

body {
    font-family: 'Inter', sans-serif; /* Clean, modern body text */
    background-color: #FAFCFF;
    color: #334155;
    line-height: 1.6;
}

/* Serif font for authoritative academic headings */
h1, h2, h3, h4, h5, h6, .navbar-brand h2 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--dark);
}

.text-primary { color: var(--secondary) !important; } /* Accents use the bright blue */
.bg-primary { background-color: var(--primary) !important; }

/*** Premium Buttons ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 8px; /* Slightly squared for a tech/modern feel */
    padding: 12px 28px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
    background-color: #0052cc;
    border-color: #0052cc;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--secondary);
    border-color: var(--secondary);
}

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

/*** Navbar ***/
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 25px rgba(10, 37, 64, 0.06) !important;
}

.navbar-brand h2 {
    font-size: 1.7rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s ease;
}

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

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

/*** Section Titles ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary) !important;
    font-size: 0.85rem;
}

/*** Soft UI Cards (Services, Teams, Courses) ***/
.service-item, .card, .team-item {
    background: #ffffff;
    border: 1px solid rgba(10, 37, 64, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--blue-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.service-item:hover, .card:hover, .team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.1);
}

.service-item .p-4 i {
    color: var(--secondary) !important;
    background: var(--light);
    width: 75px;
    height: 75px;
    line-height: 75px;
    border-radius: 12px; /* Slightly squared icons for modern feel */
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-item:hover .p-4 i {
    background: var(--secondary);
    color: #fff !important;
    transform: scale(1.05) rotate(-5deg);
}

/*** Hero Section ***/
.page-header-inner { 
    background: linear-gradient(to right, rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.6)); 
}
.header-carousel .owl-carousel-item img {
    height: 85vh;
    object-fit: cover;
}

/*** Accordion for Committees (Sleek Modern Look) ***/
.accordion-item {
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px var(--blue-shadow);
}

.accordion-button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary);
    background-color: #fff;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--secondary);
    background-color: var(--light);
}

/* Colors the dropdown arrow Blue */
.accordion-button::after {
    filter: invert(27%) sepia(87%) saturate(2856%) hue-rotate(212deg) brightness(101%) contrast(106%);
}

/*** Clean Tables ***/
table.table {
    margin-top: 15px;
}

table.table th {
    background-color: var(--light);
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(0, 102, 255, 0.2);
}

table.table td {
    vertical-align: middle;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/*** Footer ***/
.footer {
    background: var(--primary); /* Deep Oxford Blue */
    border-top: 4px solid var(--secondary); /* Electric Blue strip */
}

.footer h4 {
    font-family: 'Merriweather', serif;
    color: #ffffff !important;
}

.footer .btn-link {
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .btn-link:hover {
    color: var(--secondary);
    letter-spacing: 0.5px;
    padding-left: 5px;
}