/* Only layout specific to the Homepage */

/* Hero Section */
.hero-centered {
    background-color: var(--deep-blue);
    
    /* ADD BACKGROUND IMAGE HERE */
    background-image: url('../images/bg.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* Or use 'contain' or a specific percentage depending on the SVG style */
    /* Optional: Blend mode to subtly mix it with the blue background */
    /* background-blend-mode: soft-light;  */
    
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative;
    color: var(--white);
}

.hero-badge {
    display: block; font-size: 0.95rem; letter-spacing: 3px;
    color: #ffffff; margin-bottom: 25px; font-weight: 600;
    text-transform: uppercase;
}

.hero-centered h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1.8rem; color: #fff; }

.hero-subtext {
    font-size: 1.1rem; color: rgba(255, 255, 255, 0.85);
    max-width: 650px; margin: 0 auto 0.5rem;
}

/* =========================================
   HERO BUTTONS
   ========================================= */
   .btn-hero-white {
    display: inline-block; /* Ensures it behaves like a box, not text */
    padding: 14px 40px;
    
    /* Default State: White Button with Blue Text */
    background-color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50px;
    color: var(--deep-blue);
    
    /* Font Styling */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none; /* Removes default link underline */
    
    /* Animation */
    transition: all 0.3s ease;
}

.btn-hero-outline {
    display: inline-block;
    padding: 14px 40px;

    background-color: var(--light-blue);
    border: 2px solid var(--light-blue);
    border-radius: 50px;
    color: var(--deep-blue);

    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
    text-decoration: none;
}

/* Hover State */
.btn-hero-white:hover {
    background-color: transparent; /* Becomes transparent */
    color: var(--white);           /* Text turns white */
    border-color: var(--white);    /* Border stays white */
    text-decoration: none !important; /* Force remove underline on hover */
    
    /* The "Hover" Movement Effect */
    transform: translateY(-3px);   
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Adds shadow for depth */
}

/* Specific Grid for Home */
.resources-grid-section { background-color: var(--bg-color); }
.grid-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }

.card-visual {
    height: 200px; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: rgba(0,0,0,0.1); margin-bottom: 20px;
}
.visual-blue { background-color: #DCE4F2; }
.visual-cream { background-color: #F2E8DC; }
.visual-dark { background-color: #E6E6E6; }
.visual-soft { background-color: #F0F4F8; }

.card-meta {
    font-size: 0.65rem;        /* Made smaller */
    letter-spacing: 2px;       /* Spacing makes small text readable */
    text-transform: uppercase;
    color: var(--deep-blue);   /* Using the theme blue */
    opacity: 0.5;              /* 50% opacity for transparency */
    margin-bottom: 10px;
    font-weight: 700;          /* Bold weight helps legibility when transparent */
}

/* =========================================
   4. MISSION SECTION
   ========================================= */
   .mission-section {
    /* UPDATED: Reduced bottom padding from 4rem to 2rem */
    padding: 1rem 0 1rem; 
    text-align: left;
}

.mission-text {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--primary-blue);
    max-width: 1500px;
    margin-bottom: 1rem;
}

.mission-text .italic-accent {
    color: var(--primary-blue);
}

.mission-sub {
    font-size: 0.9rem;
    color: #888;
    margin-top: 2rem;
}

/* =========================================
   5. RESOURCES GRID
   ========================================= */
   .resources-grid-section {
    padding: 2rem 0 4rem;
    background-color: #F0F4F8; 
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

/* UPDATED: Now targeting an <a> tag */
.resource-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
    
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    
    /* VITAL for clickable cards */
    text-decoration: none; /* Removes underline from the whole card */
    color: inherit; /* Keeps text colors as defined below */
}

/* Hover Effect */
.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(62, 92, 154, 0.15);
    text-decoration: none; /* Ensure no underline appears on hover */
}

/* Visual Icon Circle */
.card-visual {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--deep-blue);
}

.visual-blue { background-color: #DCE4F2; }
.visual-cream { background-color: #F2E8DC; }
.visual-dark { background-color: #E6E6E6; }
.visual-soft { background-color: #F0F4F8; }

.card-meta {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--deep-blue);
    opacity: 0.5;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--deep-blue);
    line-height: 1.2;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Read More Link Styling */
.read-more {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-top: auto;
    transition: color 0.3s ease;
}

/* Make the 'Read More' turn blue when the CARD is hovered */
.resource-card:hover .read-more {
    color: var(--primary-blue);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .grid-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .grid-row { grid-template-columns: 1fr; }
}

/* =========================================
   6. TESTIMONIALS SECTION
   ========================================= */
   .testimonials-section {
    padding: 3rem 0;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 20px auto 30px;
    padding: 0 40px; /* Space for arrows */
}

.testimonial-container {
    position: relative;
    overflow: hidden;
    min-height: 280px; /* Prevents jumping */
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slide {
    display: none;
    animation: fadeEffect 0.6s ease;
    width: 100%;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    text-align: center;
    padding: 0 20px;
}

/* Big Quote Icon */
.quote-icon {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    color: #DCE4F2; /* Light Blue */
    margin-bottom: 20px;
}

/* Text Styling */
.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--deep-blue);
    margin-bottom: 25px;
}

.testimonial-name {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
}

/* Carousel Controls (Arrows) */
.carousel-control {
    background-color: transparent;
    border: none;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
    padding: 10px;
    z-index: 10;
}

.carousel-control:hover {
    color: var(--deep-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: -10px; }
.carousel-control.next { right: -10px; }

/* Dots Navigation */
.testimonial-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-blue);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .testimonial-text { font-size: 1.1rem; }
    .quote-icon { font-size: 3rem; }
    .carousel-control { display: none; } /* Hide arrows on mobile, keep dots */
    .testimonial-carousel { padding: 0; }
}

/* =========================================
   NEWS FEED SECTION
   ========================================= */
   .news-section {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.news-wrapper {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-label {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background-color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 4px;
    white-space: nowrap;
    margin-right: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
    position: relative; /* Keeps label on top of scrolling text */
}

.news-ticker-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    /* Create a fade effect on the right side only */
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.news-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: max-content; /* Allow list to be as wide as needed */
    
    /* UPDATED ANIMATION: Seamless scroll */
    animation: scrollSeamless 10s linear infinite;
}

.news-item {
    padding-right: 50px; /* Space between items */
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.news-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.news-item a:hover {
    color: #8fb3ff;
    text-decoration: underline;
}

.news-date {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-right: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2px 6px;
    border-radius: 3px;
}

/* UPDATED KEYFRAMES: Moves from 0 to -50% */
@keyframes scrollSeamless {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .news-wrapper { flex-direction: column; align-items: flex-start; }
    .news-label { margin-bottom: 10px; }
    .news-ticker-container { width: 100%; }
}

/* =========================================
   6.5 RECENT SECTION (News/Events)
   ========================================= */
   .recent-section {
    padding: 2rem 0 4rem;
    background-color: #FAF8F3;
}

.recent-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.recent-gallery-wrapper {
    width: 100%;
}

/* --- Notice Board Section --- */
.notice-board-wrapper {
    width: 100%;
    margin-top: 15px;
}

.notice-board-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 3px solid var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
    background-color: #fafafa;
}

.notice-board-item {
    display: flex;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
    align-items: flex-start;
}

.notice-board-item:last-child {
    border-bottom: none;
}

.notice-board-item:hover {
    background-color: #f5f5f5;
}

.notice-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 85px;
}

.notice-category {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 3px;
    text-align: center;
    width: 100%;
}

.category-default {
    background-color: #e3f2fd;
    color: #1565c0;
}

.category-urgent {
    background-color: #ffcdd2;
    color: #c62828;
}

.category-event {
    background-color: #e1bee7;
    color: #512da8;
}

.category-update {
    background-color: #c8e6c9;
    color: #2e7d32;
}

.notice-date {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.notice-date i {
    font-size: 0.8rem;
}

.notice-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
}

.notice-title {
    font-size: 0.88rem;
    color: var(--deep-blue);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.notice-description {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.notice-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--primary-blue);
    color: white !important;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    width: fit-content;
}

.notice-link-btn:hover {
    background-color: var(--deep-blue);
    transform: translateX(2px);
}

.notice-link-btn i {
    font-size: 0.7rem;
}

.section-subtext {
    font-size: 1rem;
    color: #888;
}

@media (max-width: 768px) {
    .notice-board-item {
        flex-direction: column;
        gap: 10px;
        padding: 15px 16px;
    }
    
    .notice-left {
        min-width: auto;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .notice-category {
        width: auto;
    }
    
    .notice-title {
        font-size: 0.9rem;
    }
    
    .notice-description {
        font-size: 0.85rem;
    }
}

/* =========================================

/* =========================================
   7. GALLERY SECTION
   ========================================= */
   .gallery-section {
    padding: 2rem 0 6rem;
    background-color: var(--white);
}

/* Pinterest-Style Masonry Grid */
.gallery-grid {
    column-count: 4;
    column-gap: 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.gallery-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Lightbox Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-wrapper {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--deep-blue);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.modal-nav:hover {
    background: var(--deep-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev { left: 30px; }
.modal-next { right: 30px; }

.modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 20px;
    border-radius: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
    
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* =========================================
   8. 3D CAROUSEL SECTION
   ========================================= */
.carousel-3d-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    padding: 1rem 0;
    min-height: 350px;
}

.carousel-3d-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.carousel-item-3d {
    position: absolute;
    width: 160px;
    height: 240px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.6;
    transform: rotateY(60deg) translateX(100px) scale(0.8);
    z-index: 1;
}

.carousel-item-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Center item (active) - Larger and highlighted */
.carousel-item-3d.active {
    width: 200px;
    height: 280px;
    transform: rotateY(0deg) translateX(0px) scale(1);
    opacity: 1;
    z-index: 50;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Previous item (left) */
.carousel-item-3d.prev {
    transform: rotateY(-60deg) translateX(-100px) scale(0.8);
    opacity: 0.6;
    z-index: 10;
}

/* Next item (right) */
.carousel-item-3d.next {
    transform: rotateY(60deg) translateX(100px) scale(0.8);
    opacity: 0.6;
    z-index: 10;
}

/* Items beyond visible range */
.carousel-item-3d.hidden {
    opacity: 0;
    transform: rotateY(90deg) translateX(200px) scale(0.5);
    z-index: 0;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
    z-index: 100;
    box-sizing: border-box;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background-color: var(--white);
    color: var(--primary-blue);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(62, 92, 154, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Separators between carousel items */
.separator {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, rgba(62, 92, 154, 0.1), rgba(62, 92, 154, 0.4), rgba(62, 92, 154, 0.1));
}

.separator.left {
    left: 25%;
    top: 50%;
    transform: translateY(-50%);
}

.separator.right {
    right: 25%;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-3d-container {
        height: 300px;
    }
    
    .carousel-item-3d {
        width: 160px;
        height: 240px;
        transform: rotateY(60deg) translateX(80px) scale(0.75);
    }
    
    .carousel-item-3d.active {
        width: 224px;
        height: 304px;
    }
    
    .carousel-item-3d.prev {
        transform: rotateY(-60deg) translateX(-80px) scale(0.75);
    }
    
    .carousel-item-3d.next {
        transform: rotateY(60deg) translateX(80px) scale(0.75);
    }
}

@media (max-width: 768px) {
    .carousel-3d-wrapper {
        min-height: 320px;
    }
    
    .carousel-3d-container {
        height: 240px;
        max-width: 480px;
    }
    
    .carousel-item-3d {
        width: 120px;
        height: 176px;
        transform: rotateY(60deg) translateX(60px) scale(0.65);
    }
    
    .carousel-item-3d.active {
        width: 160px;
        height: 224px;
    }
    
    .carousel-item-3d.prev {
        transform: rotateY(-60deg) translateX(-60px) scale(0.65);
    }
    
    .carousel-item-3d.next {
        transform: rotateY(60deg) translateX(60px) scale(0.65);
    }
    
    .carousel-controls {
        top: 50%;
        transform: translateY(-50%);
        padding: 0 15px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .separator {
        height: 60px;
    }
}
    
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }


@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

/* =========================================
   HERO VECTORS (Background Decoration)
   ========================================= */
   .hero-centered {
    position: relative;
    overflow: hidden; /* Ensures vectors don't spill out */
}

.hero-vector {
    position: absolute;
    z-index: 1; /* Above background, below text (text is z-index: 2) */
    pointer-events: none; /* Prevents them from blocking clicks */
    opacity: 0.15; /* Make them subtle (white shade) */
    filter: brightness(0) invert(1); /* Forces any image to be pure white */
}

/* Top Left */
.v1 {
    top: 10%;
    left: 5%;
    width: 200px;
    /* transform: rotate(45deg); */
}

/* Bottom Right */
.v2 {
    bottom: -10%;
    right: -5%;
    width: 400px;
    opacity: 0.1; /* Even more subtle */
}

@media (max-width: 600px) {
    .v1, .v2, .v3 {
        display: none;
    }
}

/* Top Right (Small accent) */
.v3 {
    top: 20%;
    right: 15%;
    width: 100px;
    opacity: 0.2;
    animation: floatVector 6s ease-in-out infinite;
}

/* Optional: Floating Animation */
@keyframes floatVector {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
/* =========================================
   RESPONSIVE: Remove Hero Background on Mobile
   ========================================= */

/* Tablets and below (768px) */
@media (max-width: 768px) {
    .hero-centered {
        background-image: none; /* Removes the SVG background */
        background-color: var(--deep-blue); /* Keeps solid blue background */
    }
}

/* Alternative: If you want to remove it on smaller tablets/large phones (992px) */
@media (max-width: 992px) {
    .hero-centered {
        background-image: none;
        background-color: var(--deep-blue);
    }
}

/* Alternative: If you only want to remove on very small phones (576px) */
@media (max-width: 576px) {
    .hero-centered {
        background-image: none;
        background-color: var(--deep-blue);
    }
}
.hero-content-wrapper-center {
    margin-top: -80px;
}

@media (max-width: 768px) {
    .hero-content-wrapper-center {
        margin-top: 0;
        padding-top: 30px;
    }
}
.hero-buttons.centered-btns {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hero-buttons.centered-btns {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        align-items: center;
        gap: 14px;
    }
    .hero-buttons.centered-btns .btn-hero-white,
    .hero-buttons.centered-btns .btn-hero-outline {
        width: 100%;
        max-width: 320px;
        text-align: center;
        box-sizing: border-box;
    }
    .hero-buttons.centered-btns .btn-hero-outline {
        background-color: var(--light-blue) !important;
        border: 2px solid var(--light-blue) !important;
        color: var(--deep-blue) !important;
    }
    .hero-buttons.centered-btns .btn-hero-outline:hover {
        background-color: transparent !important;
        border-color: var(--white) !important;
        color: var(--white) !important;
    }
}

