/* 1. VARIABLES & RESET */
:root {
    --primary: #e67e22;
    --bg-header: #ffffff;
    --text-main: #2c3e50;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-header: #1a1a1a;
    --text-main: #f0f0f0;
    --shadow: rgba(0, 0, 0, 0.5);
}

 
.sub-main p a, 
.faq-answer p a, 
.html_styles p a { 
     color: var(--primary); /* Brand red #d9534f */
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.sub-main p a:hover, 
.faq-answer p a:hover,
.html_styles p a:hover {
    color: #c9302c; /* Darker red */
    border-bottom: 1px solid #c9302c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; line-height: 1.6; background-color: var(--bg-header); color: var(--text-main); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 2. HEADER */
.header {
    background-color: var(--bg-header);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}
.header__content { display: flex; justify-content: space-between; align-items: center; }
.nav__list { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav__link { text-decoration: none; color: var(--text-main); font-weight: 500; transition: var(--transition); }
.nav__link:hover, .nav__link.active { color: var(--primary); }
.header__actions { display: flex; align-items: center; gap: 15px; }

/* 3. HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}
.hero {
    position: relative; /* Ensure the hero is the anchor for absolute children */
    overflow: hidden;
}
.hero__bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 0; /* CHANGE THIS: Keep it lower than the overlay */
}

.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1; /* CHANGE THIS: Set to a positive number */
    display: flex; 
    align-items: center;
}
.hero__content { max-width: 650px; animation: fadeInUp 0.8s ease-out; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.text-highlight { color: var(--primary); }
.hero__tagline { font-size: 1.25rem; margin-bottom: 30px; opacity: 0.9; }

/* 4. BUTTONS (FIXED) */
.button {
    display: inline-block; /* Essential for padding to work */
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    line-height: 1;
    border: 2px solid transparent;
}
.button--primary, .button--secondary {
    background-color: var(--primary);
    color: white !important;
}
.button--outline {
    background: transparent;
    border: 2px solid white;
    color: white !important;
}
.button:hover { transform: translateY(-3px); }
.button--outline:hover { background: white; color: black !important; }
.hero__actions { display: flex; gap: 15px; }

/* 5. THEME & TOGGLE */
.theme-btn {
    background: none; border: 1px solid var(--text-main);
    border-radius: 50%; width: 38px; height: 38px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: var(--text-main);
}
.nav__toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--text-main); cursor: pointer; }


/* IMPACT BAR BASE (Desktop) */
.impact-bar {
    padding: 60px 0;
    background-color: var(--bg-header);
    border-top: 1px solid var(--shadow);
}

.impact-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 20px;
}

.impact-bar__item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    transition: var(--transition);
}

.impact-bar__icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(230, 126, 34, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-bar__text {
    display: flex;
    flex-direction: column;
}

.impact-bar__number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.impact-bar__label {
    font-size: 0.85rem;
    color: var(--text-main);
    opacity: 0.8;
}


/* ABOUT US SECTION */
.about-us {
    padding: 100px 0;
    background-color: var(--bg-header);
}

.about-us__grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-us__content {
    flex: 1;
}

.about-us__subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.about-us__title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-us__text {
    font-size: 1.1rem;
    color: var(--text-main);
    opacity: 0.85;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Image Styling with Decorative Box */
.about-us__image-wrapper {
    flex: 1;
    position: relative;
}

.about-us__image-card {
    position: relative;
    border-radius: 15px;
    overflow: visible;
}

.about-us__img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 20px 20px 0px var(--primary); /* Decorative offset shadow */
}

.about-us__experience {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

.exp-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}

.exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ABOUT US SECTION */
.about-us {
    padding: 60px 0;
    background-color: var(--bg-header);
}

.about-us__flex {
    display: flex;
    align-items: center; /* Centers items vertically */
    gap: 40px;          /* Space between image and text */
}

.about-us__image, .about-us__content {
    flex: 1; /* Makes both sides equal width */
}

.about-us__image img {
    border-radius: 10px; /* Rounded corners */
    display: block;
    width: 100%;         
    height: auto;   
    object-fit: cover;
}

.about-us__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-us__content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-main);
}

/* --- PROGRAMS SECTION --- */
.programs {
    padding: 80px 0;
    background-color: var(--bg-header);
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section__subtitle {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.8;
}

/* --- GRID LAYOUT --- */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns */
    gap: 30px;
}

/* --- CARD STYLING --- */
 
.program-card {
    background: var(--bg-header);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow);
}

.program-card__image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintains 400x300 proportion automatically */
    overflow: hidden;
    background-color: #eee; 
}

.program-card__image img {
    width: 100%;
    height: auto; /* Fills the aspect-ratio box */
    object-fit: cover; /* Prevents stretching */
    display: block;
    transition: transform 0.5s ease;         
}
/* REPLACED SECTION END */

.program-card:hover .program-card__image img {
    transform: scale(1.08);
}

.program-card__content {
    padding: 25px;
}

.program-card__title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.program-card__content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.85;
}

.program-card__btn {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 80px 0;
    background-color: var(--bg-header);
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
}

/* --- FEATURE CARD STYLING --- */
.feature-card {
    background: var(--bg-header);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-card__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;           
}

.feature-card__content {
    padding: 20px;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card__content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* --- TEXT BUTTON STYLE --- */
.button--link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.button--link:hover {
    text-decoration: underline;
    letter-spacing: 0.5px;
}
/* --- STORIES SECTION --- */
.stories {
    padding: 80px 0;
    background-color: var(--bg-header);
}

.stories__grid {
    display: flex;
    gap: 30px;
    overflow-x: auto; /* Allows horizontal swipe on mobile */
    padding-bottom: 20px;
}

/* --- STORY CARD --- */
.story-card {
    flex: 0 0 100%; /* Default 1 card per view on mobile */
    background: var(--bg-header);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.story-card__img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 20px;
}

.story-card__content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-main);
}

.story-card__name {
    font-size: 1rem;
    color: var(--primary);
}

.story-card__name span {
    color: var(--text-main);
    font-weight: 400;
    font-size: 0.9rem;
}

.stories__footer {
    text-align: center;
    margin-top: 40px;
}


/* --- FOOTER MAIN CONTAINER --- */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    /* desktop: 4 columns with specific widths */
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* --- FOOTER HEADINGS --- */
.footer__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
    text-align: left; /* Left aligned for desktop columns */
}

/* --- FOOTER GENERAL --- */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}
 
.footer__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

.footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer__title--secondary {
    margin-top: 45px; /* Replaces the <br> tags */
}

 
.footer__about-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
}

.footer__widget ul {
    list-style: none;
    padding: 0;
}

.footer__widget ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #cccccc;
    display: flex;
    align-items: flex-start; 
    gap: 12px;
}

.footer__widget ul li i {
    width: 20px;
    text-align: center;
    margin-top: 6px;  
    flex-shrink: 0;   
     
}

.footer__widget a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__widget a:hover {
    color: var(--primary);
}

.footer__btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__widget .footer__btns {
    margin-bottom: 30px;  
}

.footer__widget .button {
    margin-bottom: 5px; 
}

.footer__social-strip {
    background-color: #111111;
    padding: 20px 0;
    border-top: 1px solid #333;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a { color: #fff; font-size: 1.2rem; }
.social-links a:hover { color: var(--primary); }

/* --- COPYRIGHT BAR --- */
.copyright {
    background-color: #000000;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #888;
}

.copyright__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top {
    color: #888;
    text-decoration: none;
}

.copyright p a {
    color: #888;
    text-decoration: none; /* ADD THIS to remove the underline */
}

.copyright p a:hover {
    color: var(--primary);
    text-decoration: underline; /* Optional: adds underline only when you hover */
}

.promo-banner {
    background-color: #1a1a1a; /* Dark background to contrast your header */
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.9rem;
    text-align: center;
}

.promo-banner__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Wraps on mobile */
}

.promo-banner__tag {
    background-color: var(--primary); /* Your brand red #d9534f */
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.promo-banner__text {
    margin: 0;
    font-weight: 500;
}

.promo-banner__link {
    color: #ffcc00; /* Gold color to grab attention */
    text-decoration: underline;
    font-weight: 700;
}

.promo-banner__link:hover {
    color: #ffffff;
}