/* =========================================
   PORTAL THEME CSS
   Hi! This file controls colors, fonts, and layout.
   ========================================= */

/* 1. GLOBAL SETTINGS & COLORS */
:root {
    /* Main Brand Colors */
    --gov-green: #0c3e28;       /* Dark Official Green */
    --gov-green-light: #155d3e; /* Lighter Green */
    --gov-gold: #d4af37;        /* Metallic Gold */
    --gov-gold-light: #ebd075;  /* Soft Gold */
    
    /* Background Colors */
    --gov-bg-grey: #f4f6f8;     /* Light grey for section backgrounds */
    --card-bg: #ffffff;         /* White for cards/boxes */

    /* Text Colors */
    --text-dark: #2c3e50;       /* Main text color */
    --text-light: #6c757d;      /* Muted/Grey text */

    /* Font Types */
    --font-heading: 'Lora', serif;       /* Fancy font for Titles */
    --font-body: 'Poppins', sans-serif;  /* Clean font for Body text */
}

/* Basic Reset: Ensures sizing is consistent */
* {
    box-sizing: border-box;
    scroll-behavior: smooth; /* Smooth scrolling when clicking links */
}

/* Base text size */
html {
    font-size: 14.5px;
}

/* Main Body Settings */
body {
    font-family: var(--font-body);
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.6; 
}

/* Ensure all headings use the fancy font */
h1, h2, h3, h4, h5, h6, .navbar-brand small {
    font-family: var(--font-heading);
}

/* Fixes the header covering titles when jumping to sections */
section {
    scroll-margin-top: 80px; 
}

/* =========================================
   2. NAVIGATION BAR
   ========================================= */
.navbar {
    background-color: #062b1a; /* Dark Green Background */
    border-bottom: 3px solid var(--gov-gold); /* Gold line at bottom */
    padding: 8px 0;
    min-height: 70px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Subtle shadow */
}

/* -- Logo Layout -- */
.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Adjusting Logo Sizes */
.navbar-brand .logo-etauliah {
    height: 24px;
    margin-top: -12px;
}

.navbar-brand .logo-jheains {
    height: 45px;
    margin-top: -4px;
}

/* Text next to the logo */
.brand-text {
    margin-left: 10px;
    margin-top: 3px;
}

.brand-text small {
    color: var(--gov-gold);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
    display: block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* -- Menu Links -- */
.nav-link {
    color: rgba(255,255,255,0.9) !important; /* Almost white */
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0.5rem !important;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Keeps text on one line */
}

/* Gold line underline animation */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 5px;
    width: 0; /* Starts invisible */
    height: 2px;
    background: var(--gov-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hover effects for links */
.nav-link:hover, .nav-link.active {
    color: var(--gov-gold) !important;
}

.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 1rem); /* Expands the line */
}

/* -- Login Button in Menu -- */
.btn-login-nav {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 20px !important;
    border-radius: 50px;
    font-weight: 600;
}
.btn-login-nav::after { display: none !important; }

.btn-login-nav:hover {
    background-color: var(--gov-gold);
    border-color: var(--gov-gold);
    color: #0c3e28 !important; /* Green text on gold */
    transform: translateY(-2px); /* Moves up slightly */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* -- Mobile Hamburger Icon -- */
.navbar-dark .navbar-toggler-icon {
    /* Custom Gold Icon */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4af37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Transition effects for the icon */
.navbar-toggler-icon {
    transition: background-image 0s 0.3s;
}

/* Change to 'X' icon when menu is open */
.navbar-toggler.show-close .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4af37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
    transition: background-image 0s 0s;
}

/* =========================================
   3. HERO SECTION (Main Banner)
   ========================================= */
.hero-section {
    /* LAYER 1 (Top): Green Gradient 
       - rgba(..., 0.85) means 85% solid, 15% transparent.
       - This acts as the "Color on top".
       
       LAYER 2 (Bottom): Your Image
       - This sits behind the color.
    */
    background: 
        linear-gradient(rgba(12, 62, 40, 0.75), rgba(6, 43, 27, 0.9)),
        url('../images/background.jpg'); 

    /* Ensures the image stretches to cover the whole box */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Fallback color if image is missing */
    background-color: var(--gov-green);
    
    /* Layout Settings (Keep these the same) */
    min-height: 60vh; 
    display: flex;
    align-items: center;
    padding: 60px 0; 
    position: relative;
    overflow: hidden;
}

/* Decorative Gold Circle Effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px; 
    height: 250px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0) 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 2.5rem; 
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.text-highlight {
    color: var(--gov-gold);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-style: italic;
}

.hero-subtitle {
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto 30px; 
    font-size: 1rem;
    font-weight: 300;
}

/* Main Call-to-Action Button */
.btn-primary-portal {
    background: linear-gradient(45deg, var(--gov-gold) 0%, var(--gov-gold-light) 100%);
    color: #0c3e28;
    padding: 12px 35px; 
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border: none; 
    transition: all .3s ease;
}

.btn-primary-portal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(45deg, #fff 0%, #f0f0f0 100%);
    color: var(--gov-green);
}
/* =========================================
   4. LAYOUT UTILITIES
   ========================================= */
.section-padding { padding: 50px 0; }

/* Background colors */
.section-alt  { background-color: var(--gov-bg-grey); } 
.section-base { background-color: #ffffff; }

/* Section Headers */
.section-header { margin-bottom: 25px; }

.section-title {
    font-family: var(--font-heading);
    color: var(--gov-green);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* Gold underline bar */
.section-underline {
    display: inline-block;
    width: 60px;
    height: 3px;
    background-color: var(--gov-gold);
    margin-top: 10px;
    border-radius: 2px;
}
.section-underline-left { margin-left: 0; margin-right: auto; }

/* Gold sub-heading text */
.sub-heading-gold {
    color: var(--gov-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 5px;
}

/* =========================================
   5. BOXES & CARDS STYLES
   ========================================= */

/* Default shadow for cards */
.shadow-sm-custom {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    border: 1px solid rgba(0,0,0,0.04);
}

/* --- A. Hebahan (Announcements) --- */
#hebahan .container-fluid {
    max-width: 100%;
}

.hebahan-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hebahan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.badge-date {
    background-color: var(--gov-green);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
}

/* Image Placeholder for Hebahan */
.hebahan-image-wrapper {
    width: 100%;
    height: 420px; /* Poster height */
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px dashed #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hebahan-image-placeholder {
    text-align: center;
    color: #9ca3af;
    font-family: var(--font-body);
}

.hebahan-image-placeholder i { font-size: 3rem; display: block; margin-bottom: 10px; }
.hebahan-image-placeholder span { font-weight: 600; font-size: 0.95rem; display: block; }
.hebahan-image-placeholder small { font-size: 0.75rem; opacity: 0.8; }

.hebahan-card h5 a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: color 0.2s;
    font-size: 1.1rem;
}
.hebahan-card h5 a:hover { color: var(--gov-gold); }

.read-more-link {
    margin-top: auto; 
    color: var(--gov-green);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.read-more-link:hover { color: var(--gov-gold); }

/* --- B. Info Content (Rules & Lists) --- */
.info-content-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 6px;
    height: 100%;
    color: #333;
}

.card-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
}

/* Numbered List Styling */
.list-group-numbered-custom {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.list-group-numbered-custom > li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #444;
}

/* Sub-list (a, b, c) Styling */
.sub-list {
    list-style-type: lower-alpha;
    margin-top: 5px;
    margin-left: 5px;
    padding-left: 1.2rem;
}

.sub-list li { margin-bottom: 4px; color: #555; font-size: 0.9rem; }

/* =========================================
   6. INFO BAHAGIAN & CONTACT SECTION
   ========================================= */

/* Shared container styles for both Info and Contact cards */
.info-card, .contact-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
    /* Note: Contact cards are usually centered, but Info cards 
       often look better left-aligned. We set default here. */
}

.contact-card {
    text-align: center;
}

/* Hover Effect: Lift up and add shadow */
.info-card:hover, 
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
}

/* -- Contact Card Specifics -- */

/* Titles inside the contact box */
.contact-card h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gov-green);
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Text descriptions inside the contact box */
.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Links (Phone numbers, Emails) styling */
.contact-card a {
    color: var(--gov-green);
    text-decoration: none;
    font-weight: 500;
}
.contact-card a:hover { color: var(--gov-gold); }

/* The circle background behind the icons */
.icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 50%; /* Makes it perfectly round */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px; /* Centers the circle */
    font-size: 1.3rem;
    background-color: rgba(212, 175, 55, 0.1); /* Light Gold Background */
    color: var(--gov-green);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

/* Change the circle color when hovering the card */
.contact-card:hover .icon-wrapper {
    background-color: var(--gov-gold);
    color: #fff; /* Icon turns white */
}

/* "Opening Hours" small badge */
.badge-custom {
    display: inline-block;
    background: rgba(12, 62, 40, 0.08);
    color: var(--gov-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 5px;
}

/* -- Feature List (Used inside Info Card) -- */
.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left; /* Ensures list items stay left-aligned */
}

/* The checkmark icon color */
.feature-list i {
    color: var(--gov-gold);
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}
/* =========================================
   7. ACCORDION (EXPANDABLE LISTS)
   ========================================= */

/* -- Main Container Styling (Matches Info Card Shape) -- */
.accordion {
    background: var(--card-bg);
    border-radius: 8px;                  /* Same rounded corners as Info Card */
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); /* Same shadow as Info Card */
    border: 1px solid rgba(0,0,0,0.04);  /* Same subtle border */
    overflow: hidden;                    /* Ensures content stays inside rounded corners */
}

/* Remove default Bootstrap double borders */
.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Very faint separator line */
    background: transparent;
}

/* Remove border from the last item so it looks clean */
.accordion-item:last-child {
    border-bottom: none;
}

/* -- Content Styling -- */
.accordion-body {
    text-align: justify;      /* Makes the text block look neat (newspaper style) */
    text-justify: inter-word; /* Ensures space between words is even */
    line-height: 1.8;         /* More space between lines for easier reading */
    padding: 1.5rem 1.5rem;   /* Standard spacing */
    color: #444;
    background-color: #fff;   /* Ensure white background */
}

/* For Desktop Screens: Give more side padding so text isn't too wide */
@media (min-width: 992px) {
    .accordion-body {
        padding: 2rem 5rem; 
    }
}

/* Ensure all lists inside the accordion are also justified */
.accordion-body .list-group-numbered-custom li,
.accordion-body .sub-list li {
    text-align: justify;
}

/* Indent the sub-lists (a, b, c) slightly */
.sub-list {
    padding-left: 1rem;
    margin-top: 0.5rem;
}

/* -- Button Styling (The Clickable Header) -- */

/* Default State (Closed) */
.accordion-button {
    background-color: #ffffff;
    color: var(--gov-green);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.2rem 1.5rem; /* Taller button for easier clicking */
    box-shadow: none;       /* Remove default bootstrap shadow */
}

/* Active State (Opened) */
.accordion-button:not(.collapsed) {
    background-color: rgba(12, 62, 40, 0.05); /* Very light green background */
    color: var(--gov-green);
    box-shadow: none; 
}

/* Hover Effect */
.accordion-button:hover {
    background-color: rgba(212, 175, 55, 0.08); /* Light gold tint */
    z-index: 2; /* Ensures hover state sits on top */
}

/* The Icon inside the button (Question mark, Checkmark, etc.) */
.accordion-button i {
    color: var(--gov-gold);
    font-size: 1.2rem;
}

/* Remove ugly blue outline when clicked */
.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

/* The Arrow Icon (Chevron) Styling */
.accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
    /* This complex filter turns the default black arrow into our Gold color */
    filter: brightness(0) saturate(100%) 
            invert(58%) sepia(82%) saturate(350%) 
            hue-rotate(5deg) brightness(95%) contrast(90%);
}

/* =========================================
   8. FOOTER (BOTTOM OF PAGE)
   ========================================= */
.site-footer {
    background: #111; /* Very dark grey */
    background-image: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
    padding: 50px 0 20px; 
    color: #a0a0a0; /* Grey text */
    font-size: 0.85rem;
    border-top: 4px solid var(--gov-gold); /* Gold line at the top */
}

.footer-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-subtitle {
    color: var(--gov-gold);
    font-size: 0.9rem;
    font-style: italic;
}

/* Helper class for gold text */
.text-gold { color: var(--gov-gold); }

/* Links in the footer */
.site-footer a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover { 
    color: var(--gov-gold); 
    padding-left: 5px; /* Slight movement animation */
}

/* Copyright Bar */
.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05); /* Very faint line */
    font-size: 0.75rem;
    color: #555;
}

/* =========================================
   9. MOBILE RESPONSIVENESS (PHONES/TABLETS)
   ========================================= */

/* For Tablets and smaller (Screen width < 992px) */
@media (max-width: 991.98px) {
    .navbar { padding: 10px 0; }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Center and stack the logos */
    .navbar-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 1040;
        margin: 0 auto;
    }
    
    .brand-logos {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 5px;
    }
    
    /* Slightly smaller logos */
    .navbar-brand .logo-etauliah { height: 28px; }
    .navbar-brand .logo-jheains { height: 32px; }
    
    .brand-text { margin-left: 0; }
    .brand-text small { font-size: 0.65rem; }
    
    /* Hamburger Button positioning */
    .navbar-toggler { 
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2000; 
        border: none !important;
        box-shadow: none !important;
        background: transparent;
        padding: 8px 12px;
    }

    .navbar-toggler:hover {
        background: rgba(255,255,255,0.1);
    }
    
    /* Mobile Menu Drawer */
    .navbar-collapse {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: 75%; 
        max-width: 280px;
        background-color: #ffffff;
        padding: 0; 
        z-index: 1050;
        display: block !important;
        transform: translateX(100%); /* Hides menu off-screen */
        transition: transform 0.3s ease;
        height: 100vh;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding-top: 80px;
    }
    
    /* Shows the menu */
    .navbar-collapse.show { transform: translateX(0); }
    
    .navbar-nav {
        margin-top: 10px;
        text-align: left;
        width: 100%;
        padding: 0 25px;
    }
    
    /* Mobile Menu Links */
    .nav-item {
        margin-bottom: 8px;
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 8px;
    }
    
    .nav-link {
        color: var(--gov-green) !important; /* Dark text on white menu */
        font-weight: 600;
        font-size: 0.95rem;
    }
    
    .btn-login-nav {
        display: block;
        width: 100%;
        margin-top: 20px;
        text-align: center;
        border-color: var(--gov-green) !important;
        color: var(--gov-green) !important;
        background: transparent;
    }
}

/* For Small Phones (Screen width < 576px) */
@media (max-width: 576px) {
    /* Even smaller logos to fit screen */
    .navbar-brand .logo-etauliah { height: 24px; }
    .navbar-brand .logo-jheains { height: 28px; }
    
    .brand-logos { gap: 10px; }
    
    .brand-text small { font-size: 0.85rem; }

    /* Adjust Hebahan image height */
    .hebahan-image-wrapper { height: 320px; }
}

/* =========================================
    HEBAHAN SLIDER 
   ========================================= */

.news-slider {
    padding: 20px 10px; /* Slight padding to show shadows */
}

/* The Card Box */
.news-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

/* Hover Effect: Lift Up */
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(12, 62, 40, 0.15);
}

/* Date Styling */
.news-date {
    color: var(--gov-green);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gov-gold);
    display: inline-block;
    min-width: 60px;
}

/* Text Content */
.news-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-card:hover .news-title {
    color: var(--gov-green);
}

.news-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes image to bottom */
}

/* Image at the bottom */
.news-img {
    height: 200px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: auto;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom image slightly on hover */
.news-card:hover .news-img img {
    transform: scale(1.1);
}

/* --- Navigation Arrows (Positioned Neatly) --- */
.news-nav-btn {
    width: 50px !important;
    height: 50px !important;
    background-color: var(--gov-green) !important; /* Green Circle */
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--gov-gold) !important; /* Gold Arrow */
    transition: all 0.3s ease;
    
    /* Absolute Positioning */
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    z-index: 20;
}

/* Make arrow icon bold */
.news-nav-btn::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

/* Hover State */
.news-nav-btn:hover {
    background-color: var(--gov-gold) !important;
    color: var(--gov-green) !important;
    box-shadow: 0 6px 20px rgba(12, 62, 40, 0.3);
    transform: translateY(-50%) scale(1.1); /* Grow slightly */
}

/* Specific Sides */
.swiper-button-prev {
    left: -25px; /* Pulls it slightly outside the content on desktop */
}

.swiper-button-next {
    right: -25px; /* Pulls it slightly outside the content on desktop */
}

/* Mobile Adjustment for Arrows */
@media (max-width: 991px) {
    /* Push arrows slightly inward so they aren't stuck to the screen edge */
    .swiper-button-prev { left: 2px; } 
    .swiper-button-next { right: 2px; }
    
    /* Make buttons slightly smaller on mobile to fit better */
    .news-nav-btn {
        width: 30px !important;
        height: 30px !important;
    }
    
    .news-nav-btn::after {
        font-size: 1rem !important;
    }
}