/* Homepage Section Styles */
.cfp-homepage-section {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.cfp-hero-content {
    max-width: 900px;
    width: 100%;
}




.cfp-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin:0 0 35px 0;
    color: #000000;
}

.cfp-description {
    font-size: 1.1rem;
    color: #000000;
    margin: 0 0 35px 0;
    line-height: 1.6;
}

.cfp-button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cfp-btn {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
        height: 50px !important;
}

.cfp-btn-icon-home {
    width: 20px;
    height: 20px;
}

.cfp-btn-primary-home-trail {
    background: #4888E8;
    color: white!important;
     margin-bottom: 10px!important;

}



.cfp-btn-primary-home {
    background: #1ED43C;
    color: white!important;
     margin-bottom: 10px!important;

}



.cfp-btn-secondary-home {
    background: #4888E8;
    color: white!important;
    margin-bottom: 10px!important;
}


.cfp-hero-image {
    max-width: 1200px;
    width: 100%;
}


.cfp-tour-image:hover {
    transform: translateY(-5px);
}

/* Animation classes */
.cfp-animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .cfp-main-title {
        font-size: 3rem;
    }
    
    .cfp-tour-image {
        min-height: 400px;
        max-height: 600px;
    }
}

@media (max-width: 767px) {
    .cfp-homepage-section {
        padding: 60px 20px;
        gap: 40px;
    }
    
    .cfp-main-title {
        font-size: 2.2rem;
    }
    
    .cfp-subtitle {
        font-size: 1.3rem;
    }
    
    .cfp-description {
        font-size: 1rem;
    }
    
    .cfp-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .cfp-tour-image {
        min-height: 300px;
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .cfp-main-title {
        font-size: 1.8rem;
    }
    
    .cfp-subtitle {
        font-size: 1.1rem;
    }
    
    .cfp-button-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .cfp-btn {
        width: 100%;
        justify-content: center;
    }
}

.cfp-btn .-home{
    height:50px!important;
}


.cfp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.1; /* 👈 text little up */
}

.cfp-btn-icon-home {
    width: 18px;
    height: auto;
    margin-top: 5px; /* icon down → text up effect */
}


.cfp-btn {
    padding: 10px 28px !important;   
    line-height: 0.1 !important;       /* avoid extra top space */
    display: inline-flex !important;
    align-items: center !important;  /* center icon + text vertically */
    gap: 8px !important;
}
/* Mobile: Bigger image but no crop */
@media (max-width: 767px) {
    .cfp-tour-image {
        width: 100%;
        height: auto;
        min-height: 380px !important;   /* Increase visible size */
        object-fit: contain !important; /* No crop */
    }
}

@media (max-width: 480px) {
    .cfp-tour-image {
        min-height: 350px !important;
        object-fit: contain !important; /* Keep full image visible */
    }
}



/* FIX: Mobile image too small */
@media (max-width: 767px) {
    .cfp-tour-image {
        width: 100%;
        height: auto;
        min-height: 380px !important;  /* Bigger look */
        object-fit: cover !important;  /* Fill properly */
    }
}

@media (max-width: 480px) {
    .cfp-tour-image {
        min-height: 320px !important;
        object-fit: cover !important;
    }
}


/* ===============================
   FONT (PURE POPPINS)
================================ */
.cfp-homepage-section,
.cfp-homepage-section * {
    font-family: 'Poppins', sans-serif !important;
}

/* ===============================
   LAYOUT
================================ */
.cfp-homepage-section {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.cfp-hero-content {
    max-width: 900px;
    width: 100%;
}

/* ===============================
   MAIN TITLE (40px)
================================ */
.cfp-main-title {
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 60px !important;
    letter-spacing: 0px !important;
    color: #000000 !important;
    margin: 0 0 20px 0 !important;
    text-align: center;
}

/* Highlight text */
.cfp-title-highlight {
    font-weight: 700 !important;
    color: #4888E8 !important;
}

/* ===============================
   SUB TITLE (19px)
================================ */
.cfp-subtitle {
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 30px !important;
    color: #000000 !important;
    margin: 0 0 35px 0 !important;
    text-align: center;
}

/* ===============================
   BUTTON GROUP
================================ */
.cfp-button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================
   BUTTON BASE
================================ */
.cfp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 12px 28px !important;
    height: 50px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;   /* IMPORTANT: fixes "a" text */
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Button icons */
.cfp-btn-icon-home {
    width: 18px !important;
    height: auto !important;
    margin-top: 0 !important;
}

/* ===============================
   BUTTON COLORS
================================ */
.cfp-btn-primary-home-trail {
    background: #4888E8 !important;
    color: #FFFFFF !important;
}

.cfp-btn-primary-home {
    background: #09B125 !important;
    color: #FFFFFF !important;
}

.cfp-btn-secondary-home {
    background: #F7FAFD !important;
    color: #09B125 !important;
    border: 2px solid #4888E8 !important;
}

/* ===============================
   HERO IMAGE
================================ */
.cfp-hero-image {
    max-width: 1200px;
    width: 100%;
}

.cfp-tour-image {
    width: 100%;
    height: auto;
    min-height: 500px;
    max-height: 800px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.cfp-tour-image:hover {
    transform: translateY(-5px);
}

/* ===============================
   ANIMATION
================================ */
.cfp-animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .cfp-main-title {
        font-size: 34px !important;
        line-height: 50px !important;
    }

    .cfp-tour-image {
        min-height: 420px;
        max-height: 600px;
    }
}

@media (max-width: 767px) {
    .cfp-homepage-section {
        padding: 60px 20px;
        gap: 40px;
    }

    .cfp-main-title {
        font-size: 28px !important;
        line-height: 40px !important;
    }

    .cfp-subtitle {
        font-size: 16px !important;
        line-height: 26px !important;
    }

    .cfp-btn {
        width: 100% !important;
    }

    .cfp-tour-image {
        min-height: 380px !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .cfp-main-title {
        font-size: 24px !important;
        line-height: 34px !important;
    }

    .cfp-subtitle {
        font-size: 15px !important;
    }

    .cfp-button-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .cfp-tour-image {
        min-height: 320px !important;
    }
}
