/* Custom styles to supplement Bootstrap 5 */
/* Add overrides here if absolutely necessary */

:root {
    /* BRAND PALETTE */
    --primary-color: #00B1BE;       /* Teal - Brand Identity */
    --secondary-color: #00919C;     /* Darker Teal - Hover, Borders */
    --tertiary-color: #CFFCFF;      /* Light Cyan - Accents, Highlights */
    --accent-color: #2b2b2b;        /* Dark Charcoal - Contrast Text/Elements */
    
    /* MODERN UI TOKENS */
    --bg-color: #f3f4f6;            /* Light Gray - Modern Canvas */
    --card-bg: #ffffff;             /* White - Component Background */
    --line-color: #d1d5db;          /* Subtle Gray - Borders */
    
    --text-color: #2b2b2b;
    --white: #ffffff;
    --shadow: none; /* Removed for modern-clean aesthetic */
    --transition: all 0.3s ease;

    /* BOOTSTRAP OVERRIDES */
    --bs-primary: #00B1BE;
    --bs-primary-rgb: 0, 177, 190;
    --bs-secondary: #000000;        /* Mapping secondary to brand secondary */
    --bs-secondary-rgb: 0, 145, 156;
    --bs-body-bg: #f3f4f6;          /* Apply global background */
    --bs-link-color: #00919C;       /* Use darker teal for links for readability */
    --bs-link-hover-color: #00B1BE;
    --bs-border-color: #d1d5db;     /* Global border color */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bs-body-bg);
    margin: 0;
    padding: 76px 0 0 0; /* Padding for fixed navbar globally */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure footer pushes to bottom if content is short, but here we just want to kill space */
footer {
    margin-top: auto;
}

.btn-primary, .btn-secondary, .btn-outline-primary, .btn-outline-secondary {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
}

/* Primary Color Logic */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #CFFCFF !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background-color: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus {
    background-color: #CFFCFF !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
}

/* Secondary Actions / Variants */
.btn-secondary, .btn-outline-secondary {
    border-color: var(--line-color) !important;
    color: var(--accent-color) !important;
}

.btn-secondary:hover, .btn-outline-secondary:hover {
    background-color: #CFFCFF !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.text-primary {
    color: #00919C !important; /* Use darker orange for text for better readability against light backgrounds */
}

.text-secondary {
    color: #000000 !important; /* Use darker orange for text for better readability against light backgrounds */
}

.bg-primary {
    background-color: #00B1BE !important;
}

/* Fix: Ensure text on bg-primary is black, even if class says text-white */
.bg-primary.text-white, 
.bg-primary .text-white {
    color: var(--accent-color) !important;
}

/* Modern Card Styling Global */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--line-color);
    box-shadow: none !important;
}

/* Global Shadow Removal */
.shadow, .shadow-sm, .shadow-lg {
    box-shadow: none !important;
}

/* Accordion (FAQ) Brand Alignment */
.accordion-item {
    border-color: #eee !important;
}
.accordion-button:not(.collapsed) {
    background-color: #CFFCFF !important; /* Light brand orange */
    color: var(--secondary-color) !important; /* Dark brand orange */
    box-shadow: none !important;
}
.accordion-button:link, .accordion-button:visited {
    color: var(--accent-color);
}
.accordion-button:focus {
    box-shadow: none !important;
    border-color: #eee !important;
    outline: none !important;
}
.accordion-button::after {
    filter: sepia(1) saturate(5) hue-rotate(150deg); /* Tint arrow to teal-ish */
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background-color: var(--white);
  box-shadow: none !important; /* Removed shadow for modern-clean look */
  border-bottom: 1px solid var(--line-color);
  z-index: 1000;
}
.nav-item {
  padding-right: 20px;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.95rem; /* Standardized sizing based on Syer page reference */
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active,
.dropdown-toggle.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Standardized Dropdown Menu (Submenu) */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #CFFCFF !important;
    color: var(--primary-color) !important;
}

.dropdown-item.active {
    background-color: #CFFCFF !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Sidebar Dropdown & Input Styling (Brand Aligned) */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 177, 190, 0.15) !important;
    outline: none !important;
}

/* Specific fix for checkbox/radio focus if needed */
.form-check-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 177, 190, 0.15) !important;
}

.form-select, .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.hero-section {
  margin-top: -80px;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  position: relative;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
  overflow: hidden;
}

/* Fade Transition */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.hero-section .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

/* Carousel Caption - Vertically Centered, Left Aligned */
.hero-section .carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10%;
  right: 50%;
  text-align: left;
  padding: 20px;
  z-index: 10;
}

.hero-section .carousel-caption #heroTitle {
  transition: opacity 0.3s ease-in-out;
}

/* Custom Navigation Buttons (Bottom Right) */
.hero-nav-controls {
  position: absolute;
  bottom: 60px;
  left: 11%;
  z-index: 15;
  display: flex;
  gap: 10px;
}

.hero-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.hero-nav-btn:hover {
  background-color: var(--tertiary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 177, 190, 0.3);
}

.hero-nav-btn svg {
  pointer-events: none;
}

/* Progress Bar */
.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 15;
}

.hero-progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  width: 0;
  transition: width 1s ease-out;
}

/* Progress animation based on active slide */
.carousel-item:nth-child(1).active ~ .hero-progress-bar .hero-progress-fill { width: 9.09%; }
.carousel-item:nth-child(2).active ~ .hero-progress-bar .hero-progress-fill { width: 18.18%; }
.carousel-item:nth-child(3).active ~ .hero-progress-bar .hero-progress-fill { width: 27.27%; }
.carousel-item:nth-child(4).active ~ .hero-progress-bar .hero-progress-fill { width: 36.36%; }
.carousel-item:nth-child(5).active ~ .hero-progress-bar .hero-progress-fill { width: 45.45%; }
.carousel-item:nth-child(6).active ~ .hero-progress-bar .hero-progress-fill { width: 54.54%; }
.carousel-item:nth-child(7).active ~ .hero-progress-bar .hero-progress-fill { width: 63.63%; }
.carousel-item:nth-child(8).active ~ .hero-progress-bar .hero-progress-fill { width: 72.72%; }
.carousel-item:nth-child(9).active ~ .hero-progress-bar .hero-progress-fill { width: 81.81%; }
.carousel-item:nth-child(10).active ~ .hero-progress-bar .hero-progress-fill { width: 90.90%; }
.carousel-item:nth-child(11).active ~ .hero-progress-bar .hero-progress-fill { width: 100%; }

/* Mobile Responsive Hero Banner */
@media (max-width: 768px) {
  .hero-section {
    height: 100vh;
  }
  
  .hero-section .carousel-item img {
    object-position: center;
  }
  
  .hero-section .carousel-caption {
    display: block !important;
    left: 5%;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    border-radius: 8px;
  }
  
  .hero-section .carousel-caption h1 {
    font-size: 1.75rem !important;
  }
  
  .hero-section .carousel-caption .lead {
    font-size: 0.95rem !important;
  }
  
  .hero-section .carousel-caption .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
  }
  
  .hero-nav-controls {
    bottom: 30px;
    right: 20px;
    gap: 8px;
  }
  
  .hero-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .hero-nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Hide default carousel controls */
.carousel-control-prev,
.carousel-control-next {
  display: none;
}

/* Hide default carousel indicators */
.carousel-indicators {
  display: none;
}

h1 {
  color: rgb(0, 0, 0)
}
.lead {
  color: rgb(34, 34, 34)
}

/* =========================================
   OBJEKTIF SECTION
   ========================================= */
#objektif {
    /* Overlay using linear-gradient with brand orange (rgba of #00B1BE) */
    background: linear-gradient(rgba(0, 177, 190, 0.7), rgba(0, 177, 190, 1)), url('../images/bg1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

/* =========================================
   PAGE SPECIFIC HEADERS
   ========================================= */
.organisasi-header {
    background: linear-gradient(rgba(0, 177, 190, 0.9), rgba(0, 177, 190, 0.9)), url('../images/bg2.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    /* Ensure text pops */
    color: var(--white);
}

.keanggotaan-header {
    background: linear-gradient(rgba(0, 177, 190, 0.9), rgba(0, 177, 190, 0.9)), url('../images/bg3.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
}

.syer-header {
    background: linear-gradient(rgba(0, 177, 190, 0.9), rgba(0, 177, 190, 0.9)), url('../images/bg4.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
}

/* Ensure content on top is readable */
#objektif h2 {
    color: var(--text-color);
    /* If needed, we can specific bg or text color adjustments here */
}

/* =========================================
   PEMBIAYAAN SECTION STYLES (Scoped)
   ========================================= */

/* Container & Section */
.container-pembiayaan {
    max-width: 1800px;
    margin: 0 auto;
    margin-top: 70px;
    padding: 0 20px;
}

.services-section .section-title {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: 800;
}

.services-section {
    padding: 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Card Styles - Scoped to .services-section to avoid Bootstrap conflict */
.services-section .card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 500px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none; /* Remove potential bootstrap border */
}

.services-section .card:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 10px 30px rgba(0, 177, 190, 0.4);
}

.services-section .card-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.services-section .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.services-section .card-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3rem; 
    font-weight: 500;
    color: var(--white);
    z-index: 2;
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3); improved visibility */
}

.services-section .card-overlay-bar {
    position: absolute;
    bottom: 0;           
    left: 0;             
    width: 100%;         
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    /* --bs-primary: #00B1BE */
    backdrop-filter: none;
    padding: 15px 20px; 
    display: flex;
    align-items: flex-end; 
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: var(--transition);
}

.services-section .overlay-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
    z-index: 1;
}

.services-section .overlay-label {
    font-size: 0.9rem;
    font-weight: 400; 
    color: var(--white);
    margin-bottom: 2px;
    transition: var(--transition);
}

.services-section .card-overlay-bar h3 {
    font-size: 1.1rem; 
    margin: 0;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    line-height: 1.2;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

/* Hover Effects Overlay */
.services-section .card-overlay-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--secondary-color) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.2s ease-in;
    z-index: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.services-section .card:hover .card-overlay-bar::before {
    opacity: 1;
}

/* Hover Zoom Effect */
.services-section .card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Hover State Text Colors */
.services-section .card:hover .overlay-label {
    color: var(--text-color);
}

/* .services-section .card:hover .card-overlay-bar h3 {
    color: var(--text-color);
} */

/* Responsive */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE NAVBAR FIX
   ========================================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        position: absolute;
        top: 70px; /* Aligns with the bottom of the fixed navbar */
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

/* Sidebar Navigation Styles */
.side-nav-btn {
    text-align: left;
    border: none;
    padding: 15px 20px;
    font-weight: 500;
    color: var(--text-color);
    background-color: transparent;
    border-radius: 8px !important; /* Soft corners */
    margin-bottom: 5px;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-nav-btn:hover {
    background-color: #CFFCFF;
    color: var(--primary-color);
}

.side-nav-btn.active {
    background-color: var(--primary-color) !important;
    color: white !important; /* White text on Orange */
    font-weight: 600;
    box-shadow: none !important;
}

/* Arrow indicator for active state */
.side-nav-btn.active::after {
    content: '→'; /* Or use a Chevron Unicode if preferred */
    font-family: monospace; /* For consistent sizing */
    font-weight: bold;
}

/* =========================================
   JARINGAN SLIDER
   ========================================= */
#jaringan {
    margin-top: 3rem; /* Add extra spacing before this section */
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Fade out effect on sides */
.slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Allow clicks through fade */
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.slider-track {
    display: flex;
    width: fit-content; /* Ensure width accommodates all items */
    animation: scroll 30s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px; /* Adjust based on desired spacing */
    padding: 0 40px;
}

.slide-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* Consitent height */
    opacity: 0.9;
    transition: all 0.3s ease;
}

.slide-item img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move half the length (since we doubled items) */
    }
}

/* =========================================
   FOOTER UPDATES
   ========================================= */
.footer-custom {
    background-color: var(--tertiary-color); 
    color: var(--accent-color);
    overflow-x: hidden; /* Prevent overflow */
}

.footer-logo {
    height: 45px; /* 50% of previous 90px */
    width: auto;
    background-color: transparent !important; /* Remove white bg */
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Footer Titles - Single Line */
.footer-title-large {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.1rem; /* Default */
}

.footer-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .footer-title-large {
        font-size: 0.85rem; /* Smaller on mobile to fit 1 line */
    }
    .footer-subtitle {
        font-size: 0.75rem;
    }
}

.text-dark-orange {
    color: #00919C !important; 
}

/* Copyright Section */
.copyright-section {
    background-color: var(--secondary-color); /* Dark Brown/Orange */
    color: var(--white) !important;
    padding: 0; /* Let inner div handle padding if needed, or keeping it tight */
    margin: 0; /* Ensure no external spacing */
    width: 100%;
}
.copyright-section .small {
    font-size: 0.75rem;
}

/* Fix for horizontal scroll on mobile generally */
body, html {
    overflow-x: hidden;
}

/* --- Gallery Redesign --- */
.gallery-search-input {
    border: 1px solid #dee2e6 !important;
    border-radius: 10px !important;
    padding: 0.8rem 1.2rem 0.8rem 3rem !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.gallery-search-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 177, 190, 0.1) !important;
    outline: none;
}
.gallery-search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 5;
    pointer-events: none;
}

.gallery-item {
    padding: 10px;
}
.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}
.gallery-card:hover {
    transform: scale(1.02);
}
.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-end;
}
.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}
.gallery-title-overlay {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pagination Styling */
.pagination .page-link {
    color: var(--secondary-color);
    border: none;
    margin: 0 5px;
    border-radius: 8px !important;
    font-weight: 500;
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    color: white !important;
}
.pagination .page-link:hover {
    background-color: #fff3e0;
    color: var(--primary-color);
}
/* End Gallery Redesign */

/* Navbar Toggle Fix */
/* Ensure navbar buttons stay visible and top */
.navbar {
    z-index: 1030; /* Bootstrap default is 1030, ensuring it stays high */
}
.navbar-toggler {
    z-index: 1031; /* Ensure above everything */
}
/* Ensure collapse doesn't overlap header if something weird happens */
.navbar-collapse {
    z-index: 1020;
}

/* Timeline Component (Organisasi) */
.timeline-item { 
    border-left: 2px solid var(--primary-color); 
    padding-left: 2rem; 
    padding-bottom: 2rem; 
    position: relative; 
}
.timeline-item::before { 
    content: ''; 
    position: absolute; 
    left: -9px; 
    top: 0; 
    width: 16px; 
    height: 16px; 
    border-radius: 50%; 
    background: var(--primary-color); 
    border: 2px solid white; 
}

/* Bulletin Page Styles */
.buletin-card:hover { 
    transform: translateY(-5px); 
    transition: transform 0.3s ease; 
    cursor: pointer; 
}
@media (max-width: 768px) {
    .buletin-card img {
        height: 200px;
        object-fit: cover;
    }
}

/* Laporan Tahunan Page Styles */
.report-card { 
    border: 1px solid #eee !important; 
}
.report-card:hover { 
    transform: translateY(-5px); 
    transition: transform 0.3s ease; 
}
.report-thumb { 
    height: 260px; 
    object-fit: cover; 
    object-position: top; 
    width: 100%; 
    border-bottom: 1px solid #eee; 
}


/* =========================================
   CTA REGISTRATION SECTION (Card Hero Style)
   ========================================= */
.cta-hero-card {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    border-radius: 16px;
    height: 400px;
    box-shadow: 0 10px 40px rgba(0, 177, 190, 0.2);
}

.cta-hero-card-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    object-fit: cover;
    object-position: center;
    /* opacity: 0.3; */
}

.cta-hero-card-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 60%;
}

.cta-hero-card-content .btn {
    background-color: var(--tertiary-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--tertiary-color) !important;
    transition: all 0.3s ease;
}

.cta-hero-card-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 177, 190, 0.3) !important;
}

.cta-hero-card-content h1 {
    color: white !important;
    margin-bottom: 1rem;
}

.cta-hero-card-content .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .cta-hero-card {
        height: 350px;
    }
    
    .cta-hero-card-content {
        padding: 40px;
        max-width: 65%;
    }
    
    .cta-hero-card-image {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .cta-hero-card {
        height: auto;
        min-height: 300px;
    }
    
    .cta-hero-card-image {
        width: 100%;
        opacity: 0.2;
    }
    
    .cta-hero-card-content {
        padding: 30px;
        max-width: 100%;
    }
    
    .cta-hero-card-content h1 {
        font-size: 1.75rem !important;
    }
    
    .cta-hero-card-content .lead {
        font-size: 0.95rem !important;
    }
    
    .cta-hero-card-content .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem;
    }
}
