/* Gorilla Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 72, 88, 0.8) 0%, rgba(139, 115, 85, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .separator {
    opacity: 0.7;
}

.breadcrumb .current {
    font-weight: 500;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content > p {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-terracotta);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Introduction Section */
.intro-section {
    padding: 4rem 0;
    background: var(--neutral-light);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    position: relative;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-terracotta);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.intro-highlights {
    display: grid;
    gap: 1rem;
}

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

.highlight-item:hover {
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-terracotta);
    min-width: 30px;
}

.highlight-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.image-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

/* History Section */
.history-section {
    padding: 4rem 0;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-terracotta), var(--primary-brown));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--accent-terracotta);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 100px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    background: var(--neutral-light);
    border-radius: 15px;
    margin: 0 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Habitat Section */
.habitat-section {
    padding: 4rem 0;
    background: var(--neutral-cream);
}

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

.habitat-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.habitat-card:hover {
    transform: translateY(-10px);
}

.habitat-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.habitat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.habitat-card:hover .habitat-image img {
    transform: scale(1.05);
}

.habitat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem 1.5rem 1.5rem;
}

.habitat-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.habitat-content {
    padding: 2rem;
}

.habitat-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.habitat-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.habitat-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--neutral-beige);
}

.habitat-content li:last-child {
    border-bottom: none;
}

.habitat-stats {
    display: flex;
    gap: 1rem;
}

.habitat-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--neutral-light);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.habitat-stats .stat i {
    color: var(--accent-terracotta);
}

/* Families Section */
.families-section {
    padding: 4rem 0;
    background: var(--white);
}

.country-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem 0;
    padding: 0.5rem;
    background: var(--neutral-light);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
    flex: 1;
    min-height: 60px;
    justify-content: center;
}

.tab-btn.active {
    background: var(--primary-brown);
    color: white;
    border-color: var(--accent-terracotta);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    background: var(--white);
    border-color: var(--accent-terracotta);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tab-count {
    font-size: 0.65rem;
    opacity: 0.9;
    font-weight: 500;
}

.country-content {
    display: none;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--neutral-beige);
}

.country-content.active {
    display: block;
}

.country-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--neutral-light);
    border-radius: 15px;
}

.country-intro h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.families-showcase h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.families-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.family-card {
    background: var(--white);
    border: 2px solid var(--neutral-beige);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.family-card:hover {
    border-color: var(--accent-terracotta);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.family-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.family-header h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin: 0;
}

.family-size {
    background: var(--accent-terracotta);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.family-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.family-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Discounts Section */
.discounts-section {
    padding: 4rem 0;
    background: var(--neutral-light);
}

.discounts-content {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.discount-card, .services-card, .fees-card, .notice-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid var(--neutral-beige);
}

.discount-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.discount-icon, .services-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-terracotta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.discount-header h3, .services-header h3 {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin: 0;
    flex: 1;
}

.discount-badge {
    background: var(--accent-terracotta);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.discount-info h4 {
    color: var(--primary-brown);
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.2rem;
}

.discount-info h5 {
    color: var(--primary-brown);
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
}

.pricing-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--neutral-light);
    border-radius: 10px;
    min-width: 120px;
}

.price-item.discount {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-terracotta));
    color: white;
}

.price-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-arrow {
    font-size: 1.5rem;
    color: var(--accent-terracotta);
    font-weight: bold;
}

.discount-conditions ul, .eligibility-requirements ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.discount-conditions li, .eligibility-requirements li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.application-process ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.application-process li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

/* Services Card - Redesigned */
.services-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--neutral-light) 100%);
    border: 2px solid var(--neutral-beige);
    position: relative;
    overflow: hidden;
}

.services-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-terracotta));
}

.services-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--neutral-beige);
}

.services-header .services-icon {
    margin: 0 auto 1rem auto;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-terracotta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.services-header h3 {
    font-size: 1.8rem;
    color: var(--primary-brown);
    margin: 0;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--neutral-beige);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-terracotta));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--accent-terracotta);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-terracotta));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item h4 {
    color: var(--primary-brown);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-item p {
    color: var(--text-medium);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Service Flow Indicators */
.services-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg, transparent, var(--neutral-beige), transparent);
    pointer-events: none;
}

.services-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neutral-beige), transparent);
    pointer-events: none;
}

.services-grid {
    position: relative;
}

/* Fees Table */
.fees-header {
    text-align: center;
    margin-bottom: 2rem;
}

.fees-header h3 {
    color: var(--primary-brown);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.fees-table {
    overflow-x: auto;
}

.fees-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.fees-table th {
    background: var(--primary-brown);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.fees-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-beige);
    color: var(--text-dark);
}

.fees-table tr:last-child td {
    border-bottom: none;
}

.fees-table tr:nth-child(even) {
    background: var(--neutral-light);
}

/* Notice Card */
.notice-card {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 5px solid var(--accent-terracotta);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.notice-header i {
    color: var(--accent-terracotta);
    font-size: 1.3rem;
}

.notice-header h4 {
    color: var(--primary-brown);
    margin: 0;
    font-size: 1.2rem;
}

.notice-content p {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.notice-content .disclaimer {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Conservation Section */
.conservation-section {
    padding: 4rem 0;
    background: var(--neutral-cream);
}

.conservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.conservation-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.conservation-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.conservation-benefits {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefit-item i {
    font-size: 1.2rem;
    color: var(--accent-terracotta);
    margin-top: 0.1rem;
}

.benefit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.3rem;
}

.benefit-item p {
    color: var(--text-medium);
    margin: 0;
    font-size: 0.9rem;
}

.conservation-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid var(--neutral-beige);
}

.stat-card.success {
    border-color: var(--primary-green);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 0.3rem;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    font-weight: 500;
}

.stat-arrow {
    font-size: 1.5rem;
    color: var(--accent-terracotta);
}

/* Tours Section */
.tours-section {
    padding: 4rem 0;
    background: var(--white);
}

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

.tour-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-beige);
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.tour-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent-terracotta) 0%, var(--primary-brown) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tour-duration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-brown);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(10px);
}

.tour-content {
    padding: 1.5rem;
}

.tour-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.tour-description {
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.highlight-tag {
    background: var(--primary-green);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-beige);
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-bottom: 0.2rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-terracotta);
}

.price-unit {
    font-size: 0.8rem;
    color: var(--text-medium);
}

.tour-btn {
    background: var(--accent-terracotta);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.tour-btn:hover {
    background: var(--primary-brown);
    transform: translateX(3px);
}

.no-tours-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--neutral-light);
    border-radius: 20px;
}

.no-tours-icon {
    font-size: 4rem;
    color: var(--accent-terracotta);
    margin-bottom: 1.5rem;
}

.no-tours-message h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.no-tours-message p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    background: var(--accent-terracotta);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--primary-brown);
    transform: translateY(-2px);
}

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    background: var(--primary-brown);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: var(--accent-terracotta);
    transform: translateY(-2px);
}

/* Load More Functionality */
.tour-card.hidden {
    display: none;
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: var(--accent-terracotta);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--primary-brown);
    transform: translateY(-2px);
}

.load-more-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.load-more-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--accent-terracotta) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-terracotta);
    color: white;
    border-color: var(--accent-terracotta);
}

.btn-primary:hover {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-brown);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.feature i {
    color: var(--accent-sage);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-terracotta);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .intro-content {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .intro-content,
    .conservation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .habitat-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content > p {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .intro-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .intro-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .country-tabs {
        flex-direction: column;
        gap: 0.3rem;
        max-width: 300px;
        padding: 0.3rem;
    }
    
    .tab-btn {
        flex: none;
        min-height: 50px;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .families-grid {
        grid-template-columns: 1fr;
    }
    
    .conservation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .conservation-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-arrow {
        transform: rotate(90deg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid::before,
    .services-grid::after {
        display: none;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .service-item h4 {
        font-size: 1.1rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
    
    .services-header .services-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .services-header h3 {
        font-size: 1.4rem;
    }
    
    .pricing-comparison {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-arrow {
        transform: rotate(90deg);
        align-self: center;
    }
    
    .discount-header {
        flex-direction: column;
        text-align: center;
    }
    
    .fees-table {
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-header {
        height: 50vh;
        min-height: 400px;
    }
    
    .page-header-content {
        padding: 0 1.5rem;
    }
    
    .page-header-content h1 {
        font-size: 2.5rem;
    }
    
    .page-header-content p {
        font-size: 1.1rem;
    }
    
    .breadcrumb {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .intro-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .intro-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .intro-highlights {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .intro-stats {
        position: static;
        margin-top: 1rem;
        background: var(--white);
        grid-template-columns: repeat(3, 1fr);
    }
    
    .activities-content-section {
        padding: 4rem 0;
    }
    
    .activities-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .activity-image {
        height: 150px;
    }
    
    .activity-content {
        padding: 1.2rem;
    }
    
    .activity-item h3 {
        font-size: 1.2rem;
    }
    
    .activity-description {
        font-size: 0.9rem;
    }
    
    .activity-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tour-image {
        height: 180px;
    }
    
    .tour-content {
        padding: 1.2rem;
    }
    
    .tour-footer {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .tour-btn {
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content > p {
        font-size: 1rem;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-year {
        min-width: 50px;
        font-size: 0.8rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tour-image {
        height: 160px;
    }
    
    .tour-content {
        padding: 1rem;
    }
    
    .tour-title {
        font-size: 1.1rem;
    }
}
/* ============================================
   Modern Gorilla Families Section Styling
   ============================================ */

.families-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.families-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Country Content */
.country-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.country-content.active {
    display: block;
}

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

.country-intro {
    text-align: center;
    margin-bottom: 40px;
}

.country-intro h3 {
    font-size: 32px;
    color: #016905;
    margin-bottom: 10px;
}

/* Families Grid */
.families-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Family Card */
.family-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.family-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 105, 5, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.family-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.family-card:hover::before {
    opacity: 1;
}

.family-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}



.family-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.tag {
    background: #f0f0f0;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.family-card:hover .tag {
    background: #016905;
    color: white;
}

/* View Details Button */
.view-details-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #016905;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.view-details-btn:hover {
    background: #014d04;
    transform: translateX(3px);
}

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

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

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #016905;
}

.modal-header {
    border-bottom: 2px solid #016905;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.modal-header h2 {
    color: #016905;
    font-size: 28px;
    margin: 0 0 10px 0;
}

.modal-header .family-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    color: #016905;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-section p {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.modal-tag {
    background: #e8f5e9;
    color: #016905;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Family Categories */
.family-categories {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.family-categories h4 {
    color: #016905;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.family-categories p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .families-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .country-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .modal-content {
        padding: 25px;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 22px;
    }
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #016905;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #014d04;
}

