/* --- Global Variables (Matching your navFoot) --- */
:root {
    --accent-yellow: #D48C1C;
}

/* --- Header Visual Placeholder --- */
.visual-placeholder {
    background: linear-gradient(rgba(11, 17, 32, 0.2), rgba(11, 17, 32, 0.8)),
        url('../main-res/aboutMe.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 350px;
    border: 2px solid var(--accent-yellow);
    border-radius: 15px;
    overflow: hidden;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Buttons --- */
.btn-explore {
    background-color: var(--accent-yellow) !important;
    border: none;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* --- Card Base Styling --- */
.card-style {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

/* --- Quote Typography --- */
.quote-text {
    font-size: var(--fs-h2);
    font-style: italic;
    border-left: 4px solid var(--accent-yellow);
    padding-left: 20px;
}

.quote-text span {
    color: var(--accent-yellow);
    font-weight: 600;
}

/* --- Icon Containers --- */
.fact-icon, .edu-icon {
    font-size: 2.5rem;
    color: var(--accent-yellow);
}

.section-title span {
    color: var(--accent-yellow);
}

.text-accent {
    color: var(--accent-yellow);
}

.tiny-text {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* --- Slider Core (The Fix) --- */
.custom-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    /* Hide scrollbar but keep functionality */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    min-width: 320px; /* Fixed for Desktop */
    flex: 0 0 auto;
}

.slider-btn {
    background: var(--accent-yellow);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: 0.3s;
}

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    /* Stop the body grid from squeezing content */
    body {
        display: block !important; 
        overflow-x: hidden;
    }

    /* Shrink the hero image for mobile */
    .visual-placeholder {
        min-height: 250px;
    }

    .welcome-text {
        font-size: 2.5rem;
        margin-top: 15px;
    }

    /* Make slider cards responsive so they don't overflow the screen */
    .slider-card {
        min-width: 85vw; /* Card takes up 85% of screen width */
    }

    /* Adjust Educational Journey icons/text for vertical stacking */
    .edu-card .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px !important;
    }

    .quote-text {
        font-size: 1.1rem;
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Ensure the main container doesn't have too much padding on small phones */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}