/* Design System for ActitudTravel.com */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Color Palette - Inspired by Colombia: Sunset Orange, Deep Ocean Blue, Tropical Green */
    --primary: #FF6B35;
    /* Sunset Orange - Energy & Passion */
    --primary-dark: #E55A2B;
    --primary-light: #FF8B66;
    --secondary: #004E89;
    /* Deep Ocean Blue - Professionalism & Trust */
    --accent: #20BF55;
    /* Tropical Green - Nature & Sustainability */

    --text-main: #1A1A1B;
    --text-muted: #555555;
    --text-white: #FFFFFF;

    --bg-light: #FDFDFD;
    --bg-cream: #F8F5F2;
    --bg-dark: #0F172A;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 16px;
    --container-width: 1200px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    /* Fixed variable */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    /* Reduced from 20px to save space */
    transition: transform 0.4s ease, background 0.4s ease, padding 0.4s ease;
}

.main-header.nav-hidden {
    transform: translateY(-100%);
    /* Hide header */
}

.main-header.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    /* Reduced from 150px for better baseline */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.main-header.scrolled .logo img {
    height: 60px;
    /* Consistent height when scrolled */
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav ul li a {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-white);
    /* Force white for visibility on hero */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 5px 0;
}

.main-header.scrolled .main-nav ul li a {
    color: var(--text-main);
    text-shadow: none;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    /* Darker gradient */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 95%;
    padding-top: 10px;
    /* Minimal padding for maximum vertical space */
    margin: 0 auto;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    /* Slightly smaller for space */
    font-weight: 700;
    margin-bottom: 10px;
    /* Reduced from 15px */
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--primary);
    color: var(--text-white);
    padding: 5px 12px;
    border-radius: 4px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn-secondary-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--text-white);
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.btn-secondary-outline:hover {
    background-color: var(--text-white);
    color: var(--secondary);
}

/* Search Bar */
.search-bar-wrapper {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
}

.search-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.search-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-item label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.search-item label i {
    color: var(--primary);
    margin-right: 5px;
}

.search-item input,
.search-item select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: var(--font-body);
}

.btn-search {
    align-self: flex-end;
    padding: 15px 40px;
}

/* About Section */
.about-section {
    padding: 160px 0 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-rounded {
    border-radius: 20px;
}

.shadow {
    box-shadow: var(--shadow-soft);
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.features-list {
    margin-bottom: 35px;
}

.features-list li {
    margin-bottom: 12px;
    font-weight: 500;
}

.features-list li i {
    color: var(--primary);
    margin-right: 10px;
}

/* Categories Section */
.bg-light {
    background-color: var(--bg-light);
}

.categories-section {
    padding: var(--section-padding);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: var(--text-white);
    /* Changed from var(--secondary) for readability */
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--primary);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 15px;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Tours Section */
.tours-section {
    padding: var(--section-padding);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tour-card {
    background: var(--text-white);
    /* Changed from var(--secondary) for readability */
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.tour-card:hover {
    transform: translateY(-5px);
}

.tour-image {
    position: relative;
    height: 250px;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-price {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary);
    color: var(--secondary);
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 0 20px 0 0;
}

.tour-info {
    padding: 25px;
}

.tour-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.tour-meta span i {
    color: var(--primary);
    margin-right: 5px;
}

.tour-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.tour-rating {
    margin-bottom: 15px;
    color: #FFD700;
}

.tour-rating span {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 5px;
}

.tour-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-link {
    background: none;
    color: var(--primary);
    padding: 0;
    font-weight: 700;
}

/* Certifications Section */
.certifications-section {
    padding: 60px 0;
    background: var(--bg-cream);
}

.certification-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cert-text {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
}

.sello-img {
    height: 120px;
}

.cert-info h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.cert-info p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .cert-text {
        flex-direction: column;
        gap: 20px;
    }
}

/* Footer Styles */
.main-footer {
    padding: 80px 0 0;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.color-white {
    color: var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.footer-about p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-contact ul li,
.footer-links ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--primary);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-newsletter p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: 50px;
    border: none;
    outline: none;
}

.newsletter-form .btn {
    padding: 12px 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Hero Page Standardized */
.hero {
    position: relative;
    height: 70vh;
    /* Shorter for subpages by default, handled by context elsewhere */
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-white);
    overflow: hidden;
    text-align: center;
}

#home.hero {
    height: 100vh;
    min-height: 700px;
}

.highlight {
    color: var(--primary);
}

/* Experience Cards Full */
.exp-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 60px 0;
}

.exp-card-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--text-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.exp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exp-info h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

.location {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.exp-list {
    margin: 20px 0 30px;
}

.exp-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.exp-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Services Split */
.services-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 0;
}

.service-box {
    background: var(--text-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.service-box h2 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.service-box ul {
    margin-top: 25px;
}

.service-box ul li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.service-box ul li i {
    color: var(--primary);
    margin-right: 10px;
}

@media (max-width: 900px) {

    .exp-card-full,
    .services-grid-split {
        grid-template-columns: 1fr;
    }

    .exp-img {
        height: 320px;
        /* Reduced height for mobile scannability */
    }

    .exp-info {
        padding: 30px;
    }
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .categories-grid,
    .tours-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        z-index: 2000;
        transition: var(--transition);
        display: flex;
        /* Changed from none */
        flex-direction: column;
        justify-content: center;
        padding: 40px;
    }

    .main-nav.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .main-nav ul li a {
        font-size: 1.5rem;
        color: var(--text-white) !important;
    }

    .header-cta {
        display: none;
    }

    .header-content {
        padding: 0 10px;
    }

    .logo img {
        height: 60px;
        /* Further reduction for narrow mobile screens */
        max-width: 200px;
        /* Constrain width to prevent pushing menu out */
    }

    .mobile-menu-toggle {
        display: block;
        padding: 10px;
        z-index: 2001;
        position: relative;
    }

    /* ... rest of existing mobile styles ... */
    .logo img {
        height: 80px;
        /* Much smaller for mobile visibility */
    }

    .main-header.scrolled .logo img {
        height: 50px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .search-bar {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .main-header {
        padding: 5px 0;
    }

    .logo img {
        height: 60px;
        max-width: 180px;
    }

    .hero h1 {
        font-size: 2rem;
        word-wrap: break-word;
    }
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-button {
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Booking Modal System */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 5000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-light);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-premium);
    animation: modal-slide-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-slide-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.booking-form {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
}

/* --- Quick Navigation for Experiences --- */
html {
    scroll-behavior: smooth;
}

.hero-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background: var(--text-white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-nav {
        justify-content: center;
        gap: 10px;
    }

    .btn-outline-white {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* Animation for inviting interaction */
@keyframes pulse-invite {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.btn-outline-white {
    animation: pulse-invite 3s infinite;
}

.btn-outline-white:hover {
    animation: none;
    /* Stop pulsing on hover */
}

/* Shimmer effect for extra "invitation" */
.btn-outline-white {
    position: relative;
    overflow: hidden;
}

.btn-outline-white::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 107, 53, 0.3),
            transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* --- Card Sliders for Experiences --- */
.card-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.exp-img {
    flex: 0 0 45%;
    position: relative;
    height: 450px;
    /* Constrained height for better UX */
    overflow: hidden;
}

.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Ensure subject is centered */
}

.card-slider-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Better visibility */
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 11;
    border: none;
}

.card-slider:hover .slider-arrow {
    opacity: 1;
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.slider-arrow:hover {
    background: var(--primary);
}