/* ========================================
   Global Styles
   ======================================== */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --light-blue: #3b82f6;
    --dark-navy: #0f172a;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --red-heart: #dc2626;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--white) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    position: relative;
    transition: all 0.3s ease;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.6);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.carousel-caption h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(30, 58, 138, 0.5);
    border-radius: 50%;
    padding: 2rem;
}

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

/* ========================================
   Section Titles
   ======================================== */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--light-blue));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ========================================
   Events Section
   ======================================== */
.events-section {
    background: var(--white);
    padding: 4rem 0;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 4rem 0;
}

.about-section .section-title {
    color: var(--primary-blue);
}

.about-section .lead {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.about-section p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--light-blue);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.footer-contact a {
    color: var(--white);
}

.footer-contact a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: 0;
    color: var(--white);
    font-size: 0.95rem;
}

.heart {
    color: var(--red-heart);
    font-size: 1.1rem;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

.mirket-link {
    color: var(--white);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.mirket-link:hover {
    color: var(--red-heart);
    border-bottom: 2px solid var(--red-heart);
}

/* ========================================
   Breadcrumbs
   ======================================== */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 3rem 0;
    margin-top: 0;
}

.breadcrumb-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb-nav {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-nav .breadcrumb-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--light-blue);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "//";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.5rem;
}

/* ========================================
   Team/Board Section
   ======================================== */
.team-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.team-position {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========================================
   Events/Announcements Detail
   ======================================== */
.detail-section {
    padding: 4rem 0;
}

.detail-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.detail-image {
    position: relative;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
}

.detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-content {
    padding: 2rem;
}

.detail-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.detail-title a {
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.detail-title a:hover {
    color: var(--secondary-blue);
}

.detail-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 4rem 0;
}

.contact-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-info a {
    color: var(--text-dark);
}

.contact-info a:hover {
    color: var(--secondary-blue);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .carousel-item {
        height: 450px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        padding: 0.7rem 0 !important;
        margin: 0;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .carousel-item {
        height: 350px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .breadcrumb-title {
        font-size: 1.8rem;
    }

    .team-image {
        height: 250px;
    }

    .about-section img {
        margin-top: 2rem;
    }
}

@media (max-width: 575px) {
    .carousel-item {
        height: 300px;
    }

    .carousel-caption h1 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-title {
        font-size: 1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* ========================================
   Event Tabs
   ======================================== */
.nav-pills {
    gap: 1rem;
}

.nav-pills .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--secondary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    color: var(--white);
    border-color: var(--secondary-blue);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.tab-content {
    margin-top: 2rem;
}
