/* Adhayaya Pathsal Custom Styles */

:root {
    --primary-color: #005662;
    --secondary-color: #f26522;
    --accent-color: #f26522;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.hover-up {
    transition: transform 0.3s ease;
}

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

.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.object-fit-cover {
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Fallback image if override wrapper not present */
    background: linear-gradient(rgba(0, 86, 98, 0.9), rgba(0, 86, 98, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

/* Carousel */
.carousel-item img {
    height: 85vh;
    object-fit: cover;
}

.carousel-caption {
    z-index: 2;
    bottom: 3rem;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mt-n5 {
    margin-top: -3rem !important;
}

.ls-1 {
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    animation: fadeInUp 0.8s ease forwards;
    /* Note: Ideally this class is added via JS on scroll */
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 60px;
}