/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --light-blue: rgba(224, 242, 254, 0.4);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Beautiful gradient using deep blue as predominant color */
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 35%, #1e40af 70%, #1e3a8a 100%);
    --primary-gradient-hover: linear-gradient(135deg, #1e40af 0%, #2563eb 35%, #3b82f6 70%, #1e40af 100%);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Increase all paragraph font sizes by 10% */
p {
    font-size: 1.1em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
}

.logo-img {
    height: 90px;
    width: auto;
    max-width: 200px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Nunito Sans', sans-serif;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.hero-overlay .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 2.5rem 0;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-align: center;
    min-width: 120px;
}

.hero-feature i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.5));
}

/* Special styling for flag icons */
.hero-feature .fi {
    font-size: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.8);
    display: inline-block;
    width: 2rem;
    height: 1.5rem;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-feature span {
    font-size: 1.125rem;
    font-weight: 800;
    font-family: 'Nunito Sans', sans-serif;
    opacity: 1;
    white-space: nowrap;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
}

.hero-feature:hover i,
.hero-feature:hover .fi {
    opacity: 1;
    transform: translateY(-2px);
}

/* Colored icons for hero features */
.hero-feature .trophy-gold {
    color: #fbbf24;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}

.hero-feature .route-blue {
    color: #60a5fa;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
}

.hero-feature:hover .trophy-gold {
    color: #f59e0b;
}

.hero-feature:hover .route-blue {
    color: #3b82f6;
}

.cta-button {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Nunito Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
    /* Remove link styling */
    text-decoration: none;
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient-hover);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(30, 58, 138, 0.4);
}

.cta-button:hover::before {
    opacity: 1;
}

/* Info Sections */
.info-section {
    margin-top: 3rem; /* Standard spacing - matches itinerary spacing */
}

/* Only add bottom padding to the last info section */
.info-section:last-of-type {
    padding-bottom: 3rem;
}

/* Tours Sections */
.tours-section {
    padding: 0 0 4rem 0;
}

.tours-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    font-family: 'Nunito Sans', sans-serif;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px; /* Add padding for buttons */
    margin: 0 -60px; /* Negative margin to maintain content width */
}

.carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
    user-select: none;
    padding: 1rem 0;
}

.tour-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 0 0 300px;
}

.tour-card {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.tour-card-link .tour-card {
    flex: none;
    width: 100%;
}

.tour-card:hover,
.tour-card-link:hover .tour-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tour-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tour-info {
    padding: 1.5rem;
}

.tour-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-family: 'Nunito Sans', sans-serif;
}

.tour-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    align-items: center;
}

.tour-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.tour-rating .far {
    color: #d1d5db;
}

/* Half-filled stars for tour cards */
.tour-rating .star-half {
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.tour-rating .star-half::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #fbbf24;
}

.tour-rating .star-half::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

/* Tour card specific star classes (1rem size) */
.tour-rating .star-ninety {
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.tour-rating .star-ninety::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 90%;
    overflow: hidden;
    color: #fbbf24;
}

.tour-rating .star-ninety::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

.tour-rating .star-eighty {
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.tour-rating .star-eighty::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    overflow: hidden;
    color: #fbbf24;
}

.tour-rating .star-eighty::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

.tour-rating .star-seventy {
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.tour-rating .star-seventy::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    overflow: hidden;
    color: #fbbf24;
}

.tour-rating .star-seventy::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

.tour-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stars-and-score {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-score {
    margin-left: 0.25rem;
    font-size: 0.8rem;
    color: #000;
    font-weight: 700;
}

.review-count {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0rem;
    display: block;
    align-self: flex-start;
}

.tour-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Nunito Sans', sans-serif;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0rem;
}

.medellin-up-close-logo-container {
    text-align: center;
    margin: 2rem 0;
}

.medellin-up-close-logo {
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medellin-up-close-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
}

@media (max-width: 768px) {
    .medellin-up-close-logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .medellin-up-close-logo {
        max-width: 100px;
    }
    
    .medellin-up-close-logo-container {
        margin: 1.5rem 0;
    }
}

/* Pablo Escobar Tours Logo in About Us - Simple styling without borders/background */
.pablo-logo-container {
    text-align: center;
    margin: 2rem 0;
}

.pablo-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
    /* No border-radius, box-shadow, or background - simple display */
}

@media (max-width: 768px) {
    .pablo-logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .pablo-logo {
        max-width: 100px;
    }
    
    .pablo-logo-container {
        margin: 1.5rem 0;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue); /* Solid color instead of gradient */
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow);
}

/* Removed gradient ::before pseudo-element */

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: #2563eb; /* Lighter blue on hover */
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.carousel-btn:disabled,
.carousel-btn[style*="opacity: 0.5"] {
    background: #94a3b8; /* Gray color for disabled state */
    cursor: not-allowed;
}

.carousel-btn:disabled:hover,
.carousel-btn[style*="opacity: 0.5"]:hover {
    transform: translateY(-50%); /* No scale on disabled hover */
    background: #94a3b8; /* Keep gray on disabled hover */
    box-shadow: var(--shadow); /* Normal shadow on disabled hover */
}

.prev-btn {
    left: -15px; /* Close to left border */
}

.next-btn {
    right: -15px; /* Close to right border */
}

/* More Reasons Section */
.more-reasons-section {
    padding: 4rem 0;
    text-align: center;
}

.more-reasons-section h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-family: 'Nunito Sans', sans-serif;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    margin-bottom: 1.5rem;
}

.reason-icon i {
    font-size: 3.3rem;
    color: #2563eb;
    transition: all 0.3s ease;
}

.reason-card:hover .reason-icon i {
    transform: scale(1.1);
    color: #3b82f6;
}

.reason-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.reason-card p {
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
    font-size: 1rem;
}

/* Endorsed Section */
.endorsed-section {
    background-color: var(--light-blue);
    padding: 4rem 0;
    text-align: center;
}

.endorsed-section h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Nunito Sans', sans-serif;
}

.endorsed-section p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.review-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: 'Nunito Sans', sans-serif;
}

.review-count {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.review-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.review-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.125rem;
    color: #374151;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0 0 0;
    background-color: #f8fafc;
    margin-bottom: 0;
}

.faq-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: white;
    transition: background-color 0.3s ease;
    border: none;
    width: 100%;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    flex: 1;
    text-align: left;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #4a5568;
}

.faq-answer ul {
    margin: 1rem 0 0 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0 0 0;
    }
    
    .faq-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-container {
        padding-bottom: 3rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .faq-icon {
        margin-left: 0.75rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: white;
    padding: 2rem 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-info {
    text-align: right;
    max-width: 400px;
}

.footer-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Credit Section */
.footer-credit {
    background-color: #000000;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.gramatics-logo {
    margin-top: 0.5rem;
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gramatics-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .about-content p {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-credit {
        padding: 0.75rem 0;
    }
    
    .footer-credit p {
        font-size: 0.8rem;
    }
    
    .gramatics-logo {
        height: 25px;
    }
}

/* Pricing Grid Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-header strong {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-details div {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-family: 'Source Sans Pro', sans-serif;
}

.pricing-total {
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Ensure carousel buttons are visible on tablets */
    .carousel-btn {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .header-content {
        padding: 0.5rem 0; /* Reduce padding to make room for larger logo */
    }
    
    .logo-img {
        height: 70px; /* Increase logo size */
        max-width: 180px; /* Allow wider logo */
    }
    
    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
        margin-right: 0.5rem;
        z-index: 1001;
        position: relative;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-list {
        display: none;
    }
    
    .nav-list.mobile-open {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background-color: white !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
        padding: 1rem !important;
        gap: 1rem !important;
        z-index: 9999 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid #e2e8f0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 300px !important;
        overflow-y: auto !important;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        gap: 2rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .hero-feature i,
    .hero-feature .fi {
        font-size: 1.75rem;
    }
    
    .hero-feature .fi {
        width: 1.75rem;
        height: 1.31rem;
    }
    
    .hero-feature span {
        font-size: 0.9rem;
    }
    
    .tours-section h2,
    .more-reasons-section h2,
    .endorsed-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem; /* Tablet spacing */
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .carousel {
        gap: 1rem;
    }
    
    .carousel-container {
        padding: 0 50px; /* Smaller padding on tablet */
        margin: 0 -50px;
    }
    
    .tour-card,
    .tour-card-link {
        flex: 0 0 280px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -10px; /* Close to left border on tablet */
    }
    
    .next-btn {
        right: -10px; /* Close to right border on tablet */
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-features {
        gap: 1.5rem;
        margin: 1.25rem 0 1.5rem 0;
    }
    
    .hero-feature {
        min-width: 100px;
    }
    
    .hero-feature i,
    .hero-feature .fi {
        font-size: 1.5rem;
    }
    
    .hero-feature .fi {
        width: 1.5rem;
        height: 1.125rem;
    }
    
    .hero-feature span {
        font-size: 0.85rem;
    }
    
    .tour-card,
    .tour-card-link {
        flex: 0 0 250px;
    }
    
    .tours-section h2,
    .more-reasons-section h2,
    .endorsed-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem; /* Mobile spacing */
    }
    
    .reason-card {
        padding: 1.5rem;
    }
    
    .reason-icon i {
        font-size: 2.75rem;
    }
    
    .carousel-container {
        padding: 0; /* Remove side padding on mobile */
        margin: 0; /* Remove negative margin on mobile */
        position: relative;
        overflow: hidden; /* Ensure no overflow on container */
    }
    
    .carousel {
        gap: 1rem;
        justify-content: flex-start; /* Allow proper positioning for centering */
        overflow: visible; /* Allow carousel to extend for proper centering */
        width: max-content; /* Allow carousel to be wider than container for centering */
    }
    
    .tour-card-link {
        flex: 0 0 280px; /* Slightly smaller cards on mobile */
        max-width: calc(100vw - 40px); /* Ensure cards don't exceed screen width */
    }
    
    /* Reduce line spacing for tour card text on mobile */
    .tour-info {
        padding: 1rem; /* Reduce padding */
    }
    
    .tour-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem; /* Reduce margin */
        line-height: 1.2; /* Tighter line height */
    }
    
    .tour-rating {
        margin-bottom: 0.5rem; /* Reduce margin */
        gap: 0.2rem; /* Tighter gap */
    }
    
    .tour-rating i {
        font-size: 0.9rem; /* Slightly smaller stars */
    }
    
    .tour-rating .rating-score {
        font-size: 0.9rem;
        line-height: 1;
    }
    
    .tour-rating .review-count {
        font-size: 0.8rem;
        line-height: 1;
    }
    
    .tour-price {
        font-size: 1.3rem;
        line-height: 1.1; /* Tighter line height */
        margin-bottom: 0.25rem;
    }
    
    .price-note {
        font-size: 0.8rem;
        line-height: 1; /* Tighter line height */
        margin-bottom: 0;
    }
    
    
    /* Mobile: Add space for bottom buttons */
    .carousel-container {
        padding-bottom: 60px; /* Space for bottom buttons */
    }
    
    .carousel-btn {
        position: absolute !important;
        top: auto !important;
        bottom: 10px !important;
        transform: none !important;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev-btn {
        left: calc(50% - 50px) !important;
        right: auto !important;
    }
    
    .carousel-btn.next-btn {
        right: calc(50% - 50px) !important;
        left: auto !important;
    }
    
    /* Hide side positioning on mobile */
    .prev-btn {
        left: auto !important;
    }
    
    .next-btn {
        right: auto !important;
    }
    
}

/* Tour Page Styles */
.tour-page {
    margin-top: 80px;
    padding: 2rem 0;
}

.tour-header {
    text-align: left;
    margin-bottom: 3rem;
    margin-top: 2vw;
}

.tour-header h1 {
    font-size: 22pt;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.tour-rating-display {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    align-items: baseline;
}

.rating-stars i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.rating-stars .far {
    color: #d1d5db;
}

/* Half-filled star system */
.star-half {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
}

.star-half::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #fbbf24;
}

.star-half::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

/* 90% filled star for 4.9 ratings */
.star-ninety {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
}

.star-ninety::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 90%;
    overflow: hidden;
    color: #fbbf24;
}

.star-ninety::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

/* 80% filled star for 4.8 ratings */
.star-eighty {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
}

.star-eighty::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    overflow: hidden;
    color: #fbbf24;
}

.star-eighty::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

/* 70% filled star for 4.7 ratings */
.star-seventy {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
}

.star-seventy::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    overflow: hidden;
    color: #fbbf24;
}

.star-seventy::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #d1d5db;
}

.rating-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Nunito Sans', sans-serif;
}

.rating-count {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Main Content Layout */
.tour-main-content {
    margin-bottom: 4rem;
}

.content-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.gallery-container {
    flex: 0 0 70%;
}

.pricing-container {
    flex: 0 0 calc(30% - 2rem);
}

/* Featured Image Styles */
.featured-image-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(30, 58, 138, 0.2);
}

.featured-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.featured-image-container:hover .featured-image {
    transform: scale(1.02);
}

/* Enhanced Photo Gallery Styles */
.enhanced-photo-gallery {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    order: 1;
}

.gallery-main-display {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    order: 2;
    position: relative;
}

.gallery-main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.gallery-nav-btn:hover i {
    color: #1e40af;
}

.gallery-prev-btn {
    left: 15px;
}

.gallery-next-btn {
    right: 15px;
}

.thumbnail-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
    user-select: none;
}

.thumbnail-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.2);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 1px var(--primary-blue);
}

.thumbnail-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image {
    transform: scale(1.05);
}

/* Pricing Card Styles */
.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    height: fit-content;
}

.price-label {
    font-size: 18pt;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    line-height: 1.2em;
}

.price-amount {
    font-size: 26pt;
    color: var(--text-dark);
    font-weight: 900;
    margin-bottom: 2rem;
    font-family: 'Nunito Sans', sans-serif;
}

.book-now-btn {
    width: 100%;
    margin: 0;
}

/* Overview Section */
.tour-overview {
    margin-top: 4rem;
}

/* Desktop: Make content below gallery match gallery width (70%) */
@media (min-width: 1025px) {
    .tour-overview,
    .tour-content-section {
        width: 70%;
        max-width: none;
    }
    
    /* Make pricing card sticky to top of viewport on desktop only */
    .pricing-container {
        position: fixed;
        top: calc(80px + 2vw + 2rem);
        right: 20px;
        width: calc(30% - 4rem);
        z-index: 1000;
    }
    
    .pricing-card {
        position: static;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    /* Adjust main content to account for fixed pricing card */
    .content-row {
        position: relative;
    }
    
    .gallery-container {
        width: 70%;
        margin-right: auto;
    }
}

.tour-overview h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

/* Tour Details Section */
.tour-details {
    margin-top: 3rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    min-width: 24px;
    text-align: center;
}

.detail-item span {
    font-size: 1rem;
    color: var(--text-dark);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

/* Tour Itinerary Section */
.tour-itinerary {
    margin-top: 3rem;
}

.tour-itinerary h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.itinerary-list {
    list-style-type: disc;
    padding-left: 2rem;
    margin: 0;
}

.itinerary-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    color: var(--text-dark);
}

.itinerary-list li strong {
    color: var(--primary-blue);
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive Design for Tour Page */
@media (max-width: 1024px) {
    .content-row {
        flex-direction: column;
    }
    
    .gallery-container,
    .pricing-container {
        flex: none;
        width: 100%;
    }
    
    .pricing-card {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .tour-header h1 {
        font-size: 20pt;
    }
    
    .tour-rating-display {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    
    .featured-image-container {
        margin-bottom: 1.5rem;
    }
    
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .thumbnail-image {
        height: 60px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav-btn i {
        font-size: 1rem;
    }
    
    .gallery-prev-btn {
        left: 10px;
    }
    
    .gallery-next-btn {
        right: 10px;
    }
    
    .price-label {
        font-size: 16pt;
    }
    
    .price-amount {
        font-size: 24pt;
    }
    
    .tour-overview h2 {
        font-size: 1.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 1rem;
    }
    
    .pricing-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .pricing-header strong {
        font-size: 1rem;
    }
    
    .tour-itinerary h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-row {
        gap: 1rem;
    }
    
    .featured-image-container {
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .tour-page {
        padding: 1rem 0;
    }
    
    .tour-header h1 {
        font-size: 18pt;
    }
    
    .price-label {
        font-size: 14pt;
    }
    
    .price-amount {
        font-size: 22pt;
    }
    
    .tour-overview h2,
    .tour-itinerary h2 {
        font-size: 1.25rem;
    }
}

/* Tour Actions Section */
.tour-actions-section {
    padding: 3rem 2rem;
    margin-top: 2rem;
    background-color: #f8fafc;
}

.tour-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.tour-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 400px;
    width: 100%;
    justify-content: flex-start;
    /* Remove link styling */
    text-decoration: none;
    color: inherit;
}

.tour-action-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Maintain no link styling on hover */
    text-decoration: none;
    color: inherit;
}

.tour-action-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    min-width: 24px;
    text-align: center;
}

.tour-action-item span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.4;
}

/* Info Sections (What is Included, Not Included, Meeting Point) */
/* Note: Main styling is above - this is just for reference */

.info-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.included-icon {
    color: #10b981;
}

.not-included-icon {
    color: #ef4444;
}

.addon-icon {
    color: var(--primary-blue);
}

/* Expandable Add-ons Styling */
.addons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.addon-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.addon-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.addon-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background-color: #f8fafc;
    transition: background-color 0.3s ease;
}

.addon-header:hover {
    background-color: #f1f5f9;
}

.addon-title {
    flex: 1;
    font-weight: 600;
    color: var(--text-dark);
}

.addon-toggle {
    color: var(--primary-blue);
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.addon-item.expanded .addon-toggle {
    transform: rotate(180deg);
}

.addon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.addon-item.expanded .addon-content {
    max-height: 500px;
}

.addon-content > * {
    padding: 0 1rem;
}

.addon-content p {
    padding: 1rem;
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

.addon-pricing {
    padding: 0 1rem 1rem 1rem;
}

.addon-pricing h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 600;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    padding: 0.25rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.meeting-point-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Mobile responsiveness for info sections and tour actions */
@media (max-width: 768px) {
    .info-section:last-of-type {
        padding-bottom: 2rem;
    }
    
    .info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .info-icon {
        font-size: 1.1rem;
        margin-right: 0.75rem;
    }
    
    .meeting-point-content p {
        font-size: 1rem;
    }
    
    .tour-actions-section {
        padding: 2rem 1rem;
    }
    
    .tour-actions {
        gap: 1rem;
        align-items: flex-start;
    }
    
    .tour-action-item {
        max-width: 100%;
        padding: 1rem 1.5rem;
    }
    
    .tour-action-item i {
        font-size: 1.25rem;
    }
    
    .tour-action-item span {
        font-size: 0.95rem;
    }
}

/* Terms and Conditions Page Styles */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-index {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.terms-index h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.terms-index ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.terms-index ul:last-child {
    margin-bottom: 0;
}

.terms-index li {
    margin-bottom: 0.5rem;
}

.terms-index a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.terms-index a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.terms-content h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin: 3rem 0 1rem 0;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.terms-content h3:first-of-type {
    border-top: none;
    padding-top: 0;
}

.terms-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .terms-index {
        padding: 1.5rem;
    }
    
    .terms-index h3 {
        font-size: 1.1rem;
    }
    
    .terms-content h3 {
        font-size: 1.1rem;
        margin: 2.5rem 0 0.75rem 0;
        padding-top: 1.5rem;
    }
}
