/* =========================
   OBJECTIVES HERO
   ========================= */

.objectives-hero {
    background: linear-gradient(135deg, #b11226cc, #7a0c18cc), url("img/4.jpg") center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.objectives-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.objectives-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.objectives-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.objectives-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f0f0f0;
}


/* =========================
   OBJECTIVES SCROLLABLE CARDS
   ========================= */

.objectives-buttons-scroll {
    padding: 40px 5%;
    background: #fefefe;
    position: relative;
}

.scroll-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #b11226;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* =========================
   OBJECTIVE CARD
   ========================= */

.objective-card {
    flex: 0 0 auto;
    width: 250px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.objective-card i {
    color: #b11226;
    font-size: 2.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.objective-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.objective-card:hover i {
    color: #7a0c18;
    transform: scale(1.2) rotate(-10deg);
}


/* =========================
   SCROLL BUTTONS
   ========================= */

.scroll-btn {
    background: #b11226;
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background: #7a0c18;
}

.scroll-btn.left {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-btn.right {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}


/* =========================
   RESPONSIVE
   ========================= */


/* =========================
   Mobile Styling for Objectives Section
   ========================= */


/* Medium Devices (Tablets) */

@media screen and (max-width: 992px) {
    .objectives-hero {
        height: 40vh;
        padding: 0 15px;
    }
    .objectives-hero h1 {
        font-size: 2.4rem;
    }
    .objectives-hero p {
        font-size: 1.1rem;
    }
    .scroll-container {
        gap: 15px;
    }
    .objective-card {
        width: 200px;
        padding: 15px;
    }
    .objective-card i {
        font-size: 2rem;
    }
    .objective-card .card-title {
        font-size: 0.95rem;
    }
    .scroll-btn.left {
        left: -15px;
    }
    .scroll-btn.right {
        right: -15px;
    }
}


/* Small Devices (Mobile Phones) */

@media screen and (max-width: 576px) {
    .objectives-hero {
        height: 35vh;
    }
    .objectives-hero h1 {
        font-size: 2rem;
    }
    .objectives-hero p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .scroll-container {
        gap: 10px;
        padding: 10px 0;
    }
    .objective-card {
        width: 160px;
        padding: 12px;
        gap: 10px;
    }
    .objective-card i {
        font-size: 1.8rem;
    }
    .objective-card .card-title {
        font-size: 0.9rem;
    }
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .scroll-btn.left {
        left: -12px;
    }
    .scroll-btn.right {
        right: -12px;
    }
}