:root {
    --primary-color: #E65100;
    /* Deep Saffron/Orange */
    --primary-dark: #BF360C;
    --secondary-color: #1A237E;
    /* Royal Blue */
    --accent-gold: #FFD700;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-text {
    font-family: var(--font-heading);
}

/* Navbar */
.navbar {
    background: rgba(26, 35, 126, 0.95);
    /* Royal Blue with opacity */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

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

/* Hero Section */
.hero-section {
    top: 90px;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(26, 35, 126, 0.7), rgba(191, 54, 12, 0.7)), url('assets/hero_background.jpg');
    background: url('assets/hero_background.jpg');
    /* Added overlay to gradient */
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
}

/* If you have the image, uncomment this:
.hero-section {
    background-image: url('assets/hero_background.jpg');
} 
*/

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-title {
    font-size: 3.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    color: var(--accent-gold);
}

.custom-btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.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);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 81, 0, 0.4);
}

.custom-btn:hover {
    transform: translateY(-2px);
}

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

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 20px;
}

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

/* Pillar Cards */
.pillar-card {
    border: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-radius: 15px;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(230, 81, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s;
}

.pillar-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
}

/* Mission Box */
.bg-light-pattern {
    background-color: #f8f9fa;
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
}

.dark-box {
    background: var(--secondary-color);
}

.white-box {
    background: #fff;
}

/* Initiatives */
.initiative-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    height: 100%;
}

.initiative-card:hover {
    transform: scale(1.02);
}

.initiative-card img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

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

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

.animate-fade-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    /* Init */
    animation-fill-mode: forwards;
}

.delay-100 {
    animation-delay: 0.2s;
}

/* Event Cards */
.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important; */
}

.event-card .card-img-top {
    /* height: 200px; */
    max-height: 500px;
    object-fit: contain;
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    line-height: 1;
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 126, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


@media only screen and (min-width : 320px) {

    /* smartphones, iPhone, portrait 480x320 phones */
    .brand-text {
        font-size: 0.8rem;
    }
}

@media only screen and (min-width : 480px) {

    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .brand-text {
        font-size: 0.8rem;
    }
}

@media only screen and (min-width : 641px) {

    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .brand-text {
        font-size: 1.0rem;
    }
}

@media only screen and (min-width : 768px) {

    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .brand-text {
        font-size: 1.5rem;
    }
}


@media only screen and (min-width : 990px) {

    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .brand-text {
        font-size: 1.0rem;
    }
}

@media only screen and (min-width : 1200px) {

    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .brand-text {
        font-size: 1.5rem;
    }
}