/* =========================================
   CARGAS 2025 - Premium Corporate Design
   COLOR SCHEME: Green Primary, Navy Accents
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* PRIMARY: Green (was Navy) */
    --cargas-primary: #00a651;
    --cargas-primary-dark: #008542;
    --cargas-primary-light: #00c853;

    /* ACCENT: Navy (was Green) */
    --cargas-accent: #0a1628;
    --cargas-accent-light: #1a2d4a;

    /* Keep Yellow */
    --cargas-yellow: #ffe100;
    --cargas-gold: #d4af37;

    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Premium Gradients - SWAPPED */
    --gradient-primary: linear-gradient(135deg, #00a651 0%, #00c853 50%, #69f0ae 100%);
    --gradient-dark: linear-gradient(180deg, #00a651 0%, #008542 100%);
    --gradient-accent: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 40px rgba(0, 166, 81, 0.3);
    --shadow-dark: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Typography */
    --font-primary: 'Cairo', sans-serif;
}

/* =========================================
   GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--cargas-accent);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary {
    background-color: var(--cargas-primary) !important;
}

.bg-accent {
    background-color: var(--cargas-accent) !important;
}

.text-primary {
    color: var(--cargas-primary) !important;
}

.text-accent {
    color: var(--cargas-accent) !important;
}

.text-gold {
    color: var(--cargas-gold) !important;
}

/* =========================================
   TOP BAR - NAVY Background
   ========================================= */
.top-bar {
    background: var(--gradient-accent);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 166, 81, 0.3);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.top-bar-item i {
    color: var(--cargas-primary);
    font-size: 1rem;
}

.top-bar-item a {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-item a:hover {
    color: var(--cargas-primary);
}

/* Hotline Badge */
.hotline-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 166, 81, 0.2);
    border: 1px solid rgba(0, 166, 81, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
}

.hotline-badge i {
    font-size: 1.3rem;
    color: var(--cargas-primary);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hotline-badge span {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--cargas-primary);
    transform: translateY(-2px);
}

.government-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.government-badge img {
    height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* =========================================
   MAIN NAVBAR - White with Green accents
   ========================================= */
.navbar-premium {
    background: var(--white);
    padding: 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-premium .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    padding: 15px 0;
}

.navbar-brand img {
    height: 65px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 25px 18px;
    color: var(--cargas-accent);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu>li:hover>a::before,
.nav-menu>li>a.active::before {
    width: 80%;
}

.nav-menu>li:hover>a {
    color: var(--cargas-primary);
}

/* Dropdown Menu */
.dropdown-menu-premium {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    z-index: 1000;
}

.nav-menu>li:hover .dropdown-menu-premium {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-premium li {
    list-style: none;
}

.dropdown-menu-premium a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9rem;
    border-right: 3px solid transparent;
}

.dropdown-menu-premium a:hover {
    background: var(--gray-50);
    color: var(--cargas-primary);
    border-right-color: var(--cargas-primary);
}

.dropdown-header {
    padding: 8px 20px;
    color: var(--cargas-accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 8px;
}

/* ========== MEGA MENU STYLES ========== */
.has-megamenu {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 900px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-menu-small {
    width: 550px;
}

.nav-menu>li.has-megamenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: flex;
    padding: 30px;
    gap: 30px;
}

/* Mega Columns */
.mega-column {
    flex: 1;
    min-width: 180px;
}

.mega-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #00a651;
}

.mega-title i {
    color: #00a651;
    font-size: 1rem;
}

.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-column ul li {
    margin-bottom: 4px;
}

.mega-column ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mega-column ul li a i {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: color 0.3s ease;
    width: 18px;
    text-align: center;
}

.mega-column ul li a:hover {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08) 0%, rgba(0, 166, 81, 0.04) 100%);
    color: #00a651;
    transform: translateX(-5px);
}

.mega-column ul li a:hover i {
    color: #00a651;
}

/* Featured Column */
.mega-featured {
    flex: 1.2;
    min-width: 220px;
}

.mega-featured-card {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mega-featured-card.green {
    background: linear-gradient(135deg, #00a651 0%, #008542 100%);
}

.mega-featured-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.mega-featured-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mega-featured-badge {
    display: inline-block;
    background: rgba(255, 225, 0, 0.2);
    color: #ffe100;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    width: fit-content;
}

.mega-featured-card.green .mega-featured-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mega-featured-content h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.mega-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffe100;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
}

.mega-featured-link:hover {
    gap: 12px;
    color: #fff;
}

.mega-featured-link.light {
    color: #fff;
}

.mega-featured-link.light:hover {
    color: #ffe100;
}

/* Stats in Mega Menu */
.mega-stats {
    padding: 25px 20px;
    display: flex;
    gap: 20px;
}

.mega-stat-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.mega-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.mega-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* CTA Button in Navbar - NOW NAVY */
.nav-cta {
    margin-right: 20px;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-accent);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(10, 22, 40, 0.4);
}

.btn-premium i {
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cargas-accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle:hover span {
    background: var(--cargas-primary);
}

/* Mobile Navigation Collapse */
#mobileNav {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#mobileNav .container {
    padding-top: 20px;
    padding-bottom: 20px;
}

#mobileNav ul {
    margin: 0;
}

#mobileNav ul li {
    border-bottom: 1px solid #f1f5f9;
}

#mobileNav ul li:last-child {
    border-bottom: none;
    margin-top: 15px;
}

#mobileNav ul li a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0a1628;
    transition: all 0.3s ease;
}

#mobileNav ul li a:hover {
    color: #00a651;
    padding-right: 10px;
}

#mobileNav ul li a i {
    margin-left: 10px;
    color: #00a651;
}

#mobileNav .btn-success {
    background: linear-gradient(135deg, #00a651 0%, #008542 100%);
    border: none;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(0, 166, 81, 0.3);
}

#mobileNav .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.4);
}

/* Mobile Toggle Animation when open */
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* =========================================
   HERO CAROUSEL SECTION
   ========================================= */
.hero-carousel-section {
    position: relative;
    overflow: hidden;
}

.hero-carousel-section .carousel {
    position: relative;
}

/* Slide Base */
.hero-slide {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Ken Burns Zoom Effect */
.carousel-item.active .hero-slide {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.85) 0%, rgba(0, 133, 66, 0.75) 50%, rgba(10, 22, 40, 0.7) 100%);
    z-index: 1;
}

.hero-overlay.overlay-dark {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(0, 166, 81, 0.7) 100%);
}

/* Content */
.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 100px 0;
}

.carousel-item .hero-slide-content>* {
    opacity: 0;
    transform: translateY(30px);
}

.carousel-item.active .hero-slide-content>* {
    animation: slideUp 0.8s ease forwards;
}

.carousel-item.active .hero-slide-content>*:nth-child(1) {
    animation-delay: 0.2s;
}

.carousel-item.active .hero-slide-content>*:nth-child(2) {
    animation-delay: 0.4s;
}

.carousel-item.active .hero-slide-content>*:nth-child(3) {
    animation-delay: 0.6s;
}

.carousel-item.active .hero-slide-content>*:nth-child(4) {
    animation-delay: 0.8s;
}

/* Badge */
.hero-carousel-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.hero-carousel-section .hero-badge i {
    font-size: 1rem;
}

/* Title */
.hero-slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-slide-title .highlight-text {
    display: block;
    color: #ffe100;
    text-shadow: 2px 4px 15px rgba(255, 225, 0, 0.4);
}

.hero-slide-title .counter-number {
    font-size: clamp(3rem, 7vw, 5rem);
    color: #ffe100;
    display: block;
    line-height: 1;
    text-shadow: 3px 5px 20px rgba(255, 225, 0, 0.4);
}

/* Text */
.hero-slide-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Buttons */
.hero-slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-slide-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-slide-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-slide-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.btn-slide-primary:hover::before {
    left: 100%;
}

.btn-slide-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-slide-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

/* Progress Bar */
.carousel-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 100;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00a651, #ffe100);
    width: 0;
    animation: progressBar 5s linear infinite;
}

@keyframes progressBar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-carousel-section:hover .carousel-control-prev,
.hero-carousel-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    right: 30px;
    left: auto;
}

.carousel-control-next {
    left: 30px;
    right: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 166, 81, 0.8);
}

.carousel-nav-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

/* Custom Indicators */
.carousel-indicators-custom {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
    padding: 12px 25px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
}

.carousel-indicators-custom button {
    width: auto;
    height: auto;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-indent: 0;
}

.carousel-indicators-custom button.active {
    background: #00a651;
}

.carousel-indicators-custom button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators-custom button.active:hover {
    background: #00a651;
}

.indicator-label {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 20px 0;
}

.stats-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.stat-bar-item>i {
    font-size: 1.5rem;
    color: #00a651;
}

.stat-bar-content {
    display: flex;
    flex-direction: column;
}

.stat-bar-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-bar-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-bar-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-slide {
        min-height: 75vh;
    }

    .hero-slide-content {
        padding: 80px 0;
        text-align: center;
    }

    .hero-slide-buttons {
        justify-content: center;
    }

    .carousel-indicators-custom {
        bottom: 100px;
        padding: 8px 15px;
        gap: 8px;
    }

    .carousel-indicators-custom button {
        padding: 6px 12px;
    }

    .indicator-label {
        font-size: 0.7rem;
    }

    .stats-bar-inner {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-bar-divider {
        display: none;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        min-height: 70vh;
    }

    .hero-slide-title {
        font-size: 2rem;
    }

    .hero-slide-text {
        font-size: 1rem;
    }

    .carousel-indicators-custom {
        display: none;
    }

    .stats-bar-inner {
        gap: 15px;
    }

    .stat-bar-item {
        flex: 0 0 45%;
        justify-content: center;
    }

    .stat-bar-number {
        font-size: 1.1rem;
    }

    .stat-bar-label {
        font-size: 0.7rem;
    }
}

/* =========================================
   SECTION STYLES
   ========================================= */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 22, 40, 0.1);
    color: var(--cargas-accent);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cargas-accent);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =========================================
   FEATURE CARDS - NAVY Icons
   ========================================= */
.feature-card-premium {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card-premium:hover::before {
    transform: scaleX(1);
}

.feature-icon-premium {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.1) 0%, rgba(10, 22, 40, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-icon-premium i {
    font-size: 1.8rem;
    color: var(--cargas-accent);
}

.feature-card-premium:hover .feature-icon-premium {
    background: var(--cargas-accent);
}

.feature-card-premium:hover .feature-icon-premium i {
    color: var(--white);
}

.feature-card-premium h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card-premium p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.feature-list li i {
    color: var(--cargas-primary);
    font-size: 0.8rem;
}

/* =========================================
   STATS SECTION - GREEN Background
   ========================================= */
.stats-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(10, 22, 40, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--cargas-accent);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* =========================================
   NEWS CARDS
   ========================================= */
.news-card-premium {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-premium:hover .news-image-wrapper img {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    background: var(--cargas-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
}

.news-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-body h5 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    color: var(--gray-600);
    font-size: 0.9rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cargas-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
}

.news-link:hover {
    color: var(--cargas-primary);
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(-5px);
}

/* =========================================
   FOOTER - NAVY Background (Kept Dark)
   ========================================= */
.footer-premium {
    background: var(--cargas-accent);
    color: var(--white);
    position: relative;
}

.footer-top-bar {
    background: var(--cargas-primary);
    padding: 30px 0;
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-cta h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.footer-cta .btn-premium {
    background: var(--white);
    color: var(--cargas-primary) !important;
    box-shadow: none;
}

.footer-cta .btn-premium:hover {
    background: var(--cargas-accent);
    color: var(--white) !important;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--cargas-primary);
    border-radius: 2px;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cargas-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--cargas-primary);
}

.footer-links a:hover::before {
    transform: scale(1.5);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(0, 166, 81, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cargas-primary);
    flex-shrink: 0;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item a {
    color: var(--white);
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--cargas-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--cargas-primary);
    font-weight: 600;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* Medium-Large Screens (992px to 1199px) */
@media (max-width: 1199px) {
    .mega-menu {
        width: 95%;
        max-width: 900px;
    }

    .mega-menu-small {
        width: 500px;
    }

    .nav-menu>li>a {
        padding: 25px 14px;
        font-size: 0.9rem;
    }

    .mega-menu-inner {
        padding: 25px;
        gap: 20px;
    }

    .mega-column {
        min-width: 150px;
    }

    .mega-featured {
        min-width: 200px;
    }
}

/* Tablet Landscape (992px and below) */
@media (max-width: 991px) {

    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .navbar-brand img {
        height: 55px;
    }

    .nav-cta {
        margin-right: 15px;
    }

    .btn-premium {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }

    .top-bar-item {
        font-size: 0.85rem;
    }

    .hotline-badge span {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero-slide {
        min-height: 70vh;
    }

    .hero-slide-content {
        text-align: center;
        padding: 80px 0;
    }

    .hero-slide-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-slide-buttons {
        justify-content: center;
    }

    .carousel-indicators-custom {
        bottom: 100px;
        padding: 8px 15px;
        gap: 8px;
    }

    .carousel-indicators-custom button {
        padding: 6px 12px;
    }

    .indicator-label {
        font-size: 0.7rem;
    }

    .stats-bar-inner {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-bar-divider {
        display: none;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    /* Sections */
    .section-padding {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Feature Cards */
    .feature-card-premium {
        padding: 30px 25px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    /* Footer */
    .footer-cta {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-cta h4 {
        font-size: 1.2rem;
    }

    .footer-main {
        padding: 50px 0 30px;
    }

    /* Floating Cards */
    .hero-floating-card {
        display: none;
    }
}

/* Tablet Portrait (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .footer-widget {
        margin-bottom: 40px;
    }

    .stats-bar-inner {
        gap: 25px;
    }

    .stat-bar-item {
        flex: 0 0 auto;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {

    /* Top Bar */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }

    .top-bar-right {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hotline-badge {
        padding: 5px 12px;
    }

    .hotline-badge span {
        font-size: 0.9rem;
    }

    /* Navbar */
    .navbar-brand img {
        height: 50px;
    }

    .nav-cta {
        display: none !important;
    }

    /* Hero */
    .hero-slide {
        min-height: 60vh;
    }

    .hero-slide-content {
        padding: 60px 0;
    }

    .hero-slide-title {
        font-size: 2rem;
    }

    .hero-slide-title .counter-number {
        font-size: 3rem;
    }

    .hero-slide-text {
        font-size: 1rem;
    }

    .hero-carousel-section .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .hero-slide-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-slide-primary,
    .btn-slide-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .carousel-indicators-custom {
        display: none;
    }

    .stats-bar-inner {
        gap: 15px;
        padding: 0 10px;
    }

    .stat-bar-item {
        flex: 0 0 45%;
        justify-content: center;
    }

    .stat-bar-number {
        font-size: 1.1rem;
    }

    .stat-bar-label {
        font-size: 0.7rem;
    }

    /* Sections */
    .section-padding {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Cards */
    .feature-card-premium,
    .news-card-premium {
        border-radius: 16px;
    }

    .news-body {
        padding: 20px;
    }

    .news-body h5 {
        font-size: 1.1rem;
    }

    /* Stats */
    .stat-number {
        font-size: 2.2rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    /* Footer */
    .footer-about-text {
        font-size: 0.9rem;
    }

    .footer-widget h5 {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-contact-item i {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Mobile Portrait (575px and below) */
@media (max-width: 575px) {

    /* General */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Top Bar */
    .social-icons {
        gap: 5px;
    }

    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .government-badge img {
        height: 22px;
    }

    /* Navbar */
    .navbar-brand img {
        height: 45px;
    }

    .mobile-toggle span {
        width: 22px;
    }

    /* Hero */
    .hero-slide {
        min-height: 55vh;
    }

    .hero-slide-content {
        padding: 50px 0;
    }

    .hero-slide-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .hero-slide-title .counter-number {
        font-size: 2.5rem;
    }

    .hero-slide-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-carousel-section .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
        gap: 6px;
    }

    .hero-stats-bar {
        padding: 15px 0;
    }

    .stat-bar-item {
        flex: 0 0 48%;
        gap: 8px;
    }

    .stat-bar-item>i {
        font-size: 1.2rem;
    }

    .stat-bar-number {
        font-size: 1rem;
    }

    .stat-bar-label {
        font-size: 0.65rem;
    }

    /* Section */
    .section-padding {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    /* Cards */
    .feature-card-premium {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.4rem;
    }

    /* Stats Section */
    .stat-item {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* News */
    .news-image-wrapper {
        height: 180px;
    }

    .news-body {
        padding: 18px;
    }

    .news-body h5 {
        font-size: 1rem;
    }

    /* Footer */
    .footer-top-bar {
        padding: 20px 0;
    }

    .footer-cta h4 {
        font-size: 1rem;
    }

    .footer-cta .btn-premium {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-widget {
        margin-bottom: 35px;
        text-align: center;
    }

    .footer-widget h5::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    /* Go Top Button */
    .go-top-btn {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Go Top Button */
.go-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--cargas-accent);
    color: var(--white);
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.go-top-btn:hover {
    background: var(--cargas-primary);
    transform: translateY(-3px);
}

/* =========================================
   PREMIUM ANIMATIONS & VISUAL EFFECTS
   ========================================= */

/* Floating Animation for Hero Cards */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 166, 81, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 166, 81, 0.7);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Apply floating animation to hero cards */
.hero-floating-card.card-1 {
    animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-2 {
    animation: floatSlow 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Enhanced Hero Content Animation */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    animation: slideUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: backwards;
}

.hero-title {
    animation: slideUp 0.8s ease-out;
    animation-delay: 0.4s;
    animation-fill-mode: backwards;
}

.hero-text {
    animation: slideUp 0.8s ease-out;
    animation-delay: 0.6s;
    animation-fill-mode: backwards;
}

.hero-buttons {
    animation: slideUp 0.8s ease-out;
    animation-delay: 0.8s;
    animation-fill-mode: backwards;
}

.hero-stats {
    animation: slideUp 0.8s ease-out;
    animation-delay: 1s;
    animation-fill-mode: backwards;
}

/* Enhanced Feature Cards */
.feature-card-premium {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 35px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 166, 81, 0.1);
}

.feature-card-premium:hover::before {
    transform: scaleX(1);
}

.feature-card-premium:hover::after {
    opacity: 1;
}

/* Enhanced Stats Section */
.stat-item {
    text-align: center;
    padding: 40px 25px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(10, 22, 40, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
}

.stat-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon::before {
    opacity: 1;
    inset: -10px;
}

.stat-icon i {
    font-size: 1.6rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon i {
    transform: scale(1.1);
}

/* Enhanced News Cards */
.news-card-premium {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.news-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card-premium:hover .news-image-wrapper::after {
    opacity: 1;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-premium:hover .news-image-wrapper img {
    transform: scale(1.1);
}

.news-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-body h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.news-card-premium:hover .news-body h5 {
    color: var(--cargas-primary);
}

/* Glassmorphism Effect for BP Partnership Section */
.bp-partnership-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.bp-partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Button Hover Effects */
.btn-premium {
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-hero-primary {
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

/* Section Divider with Gradient */
.section-divider {
    height: 120px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

/* Smooth Section Transitions */
section {
    position: relative;
}

/* Image hover zoom effect */
.zoom-on-hover {
    overflow: hidden;
    border-radius: 20px;
}

.zoom-on-hover img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-on-hover:hover img {
    transform: scale(1.08);
}

/* Experience Badge Glow */
.experience-badge {
    animation: glow 3s ease-in-out infinite;
}

/* Staggered animation delays for grid items */
.row>[class*="col-"]:nth-child(1) {
    animation-delay: 0.1s;
}

.row>[class*="col-"]:nth-child(2) {
    animation-delay: 0.2s;
}

.row>[class*="col-"]:nth-child(3) {
    animation-delay: 0.3s;
}

.row>[class*="col-"]:nth-child(4) {
    animation-delay: 0.4s;
}

.row>[class*="col-"]:nth-child(5) {
    animation-delay: 0.5s;
}

.row>[class*="col-"]:nth-child(6) {
    animation-delay: 0.6s;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Link underline animation */
.animated-link {
    position: relative;
}

.animated-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cargas-primary);
    transition: width 0.3s ease;
}

.animated-link:hover::after {
    width: 100%;
}

/* Responsive animation adjustments */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .feature-card-premium {
        padding: 30px 25px;
    }

    .hero-floating-card {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .feature-card-premium,
    .news-card-premium {
        border-radius: 16px;
    }

    .news-body {
        padding: 20px;
    }
}