/* Custom CSS for Sanskriti Law College */

:root {
    --primary-color: #274082;
    --primary-dark: #1e2f5f;
    --primary-light: #3a5a9e;
    --secondary-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 0; /* No padding needed */
}

/* Header Section */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo-header{
    max-width: 400px;
    max-height: 80px;
}
/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-info span {
    color: var(--white);
    font-weight: 500;
}

.top-bar-info i {
    color: var(--secondary-color);
}

.top-bar-social a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.top-bar-social a:hover {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 64, 130, 0.3);
}

/* Dropdown Styling */
.dropdown-menu {
    background-color: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    margin-top: 120px; /* Account for fixed header */
    position: relative;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: var(--white) !important;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/img/building.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 120px; /* Account for fixed header */
}

.hero-content-wrapper {
    min-height: 80vh;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(106, 176, 255, 0.1);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content .text-warning {
    color: var(--secondary-color) !important;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.hero-buttons .btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.hero-buttons .btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Card Headers */
.card-header.theme-header {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.card-header.theme-header h5 {
    margin-bottom: 0;
    font-weight: 600;
}

/* Theme Icons */
.theme-icon {
    color: var(--primary-color);
}

.theme-icon.large {
    font-size: 2rem;
}

.theme-icon.medium {
    font-size: 1.5rem;
}

/* Theme Text */
.theme-text {
    color: var(--primary-color);
}

/* Theme Buttons */
.btn-theme {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-theme:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* Stats Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* About Section */
.about-content h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(39, 64, 130, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.about-image img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Course Section */
.course-card {
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.course-details .detail-item {
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(39, 64, 130, 0.05);
}

.course-details .text-primary {
    color: var(--primary-color) !important;
}

/* Facilities Section */
.facility-card {
    transition: transform 0.3s ease;
}

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

.facility-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.facility-card .card {
    border-radius: 15px;
    overflow: hidden;
}

/* How to Apply Section */
.apply-step {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.apply-step:hover {
    transform: translateY(-5px);
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

.step-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Notice Board */
.notice-board {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.notice-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notice-date {
    color: #666;
    font-size: 0.9rem;
}

.notice-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.notice-content {
    color: #555;
    line-height: 1.6;
}

/* Events Carousel */
.events-carousel {
    height: 100%;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.event-card img {
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-date {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 10px;
}

/* Contact Section */
.contact-info h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.contact-item i {
    font-size: 1.2rem;
    width: 30px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-links .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

.footer-section h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.social-links .btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-links .btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-item {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.1rem;
    min-width: 20px;
}

/* Copyright Footer */
.bg-darker {
    background-color: #1a1a1a !important;
}

.bg-darker a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.bg-darker a:hover {
    color: var(--secondary-color) !important;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-section {
        position: relative;
    }
    
    .hero-section {
        margin-top: 0;
    }
    
    .top-bar-info {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .top-bar-social {
        text-align: center !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .notice-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notice-date {
        margin-top: 0.5rem;
    }
    
    .event-card {
        height: 350px;
    }
    
    .event-card img {
        height: 150px;
    }
    
    .apply-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
