/* ============================================
   THEME CUSTOM STYLES FOR TRAVEL WEBSITE
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(18, 136, 116, 0.9), rgba(27, 163, 122, 0.85)),
                url('https://images.unsplash.com/photo-1565557623262-b51c2513a641?w=1920') center/cover;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cpath fill="rgba(255,255,255,0.05)" d="M0 0h100v100H0z"/%3E%3C/svg%3E');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

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

/* Services Section */
.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #128874;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #128874, #1BA37A);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2b3e;
    margin-bottom: 0.75rem;
}

.service-desc {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #128874;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #128874, #1BA37A);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2b3e;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Package Cards */
.package-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.package-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #128874;
    color: #fff;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.package-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2b3e;
    margin-bottom: 0.75rem;
}

.package-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.875rem;
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.package-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-label {
    font-size: 0.875rem;
    color: #666;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #128874;
}

.price-value span {
    font-size: 0.875rem;
    font-weight: 400;
    color: #999;
}

/* Program Cards */
.program-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 1rem;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.program-image {
    width: 140px;
    flex-shrink: 0;
}

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

.program-content {
    padding: 1.25rem;
    flex: 1;
}

.program-date {
    font-size: 0.8125rem;
    color: #128874;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.program-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2b3e;
    margin-bottom: 0.5rem;
}

.program-info {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.program-price {
    font-weight: 700;
    color: #128874;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    color: #f0f0f0;
}

.testimonial-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #128874;
}

.testimonial-info h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2b3e;
    margin-bottom: 0.25rem;
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: #999;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #128874, #1BA37A);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(15deg);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* Blog Section */
.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.8125rem;
    color: #128874;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2b3e;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover {
    color: #128874;
}

.blog-excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

/* Why Choose Us */
.why-us-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.why-us-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #128874;
}

.why-us-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #128874, #1BA37A);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.why-us-icon i {
    font-size: 2rem;
    color: #fff;
}

.why-us-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2b3e;
    margin-bottom: 0.75rem;
}

.why-us-desc {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
}

/* Partners/Logos */
.partner-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #128874, #1BA37A);
    padding: 5rem 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cpath fill="rgba(255,255,255,0.05)" d="M0 0h100v100H0z"/%3E%3C/svg%3E');
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb span {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-stats {
        position: relative;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .program-card {
        flex-direction: column;
    }
    
    .program-image {
        width: 100%;
        height: 180px;
    }
}

/* Animations on Scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #128874;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f6b5e;
}

/* Navbar */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #128874;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 80%;
}

/* Top Bar */
.topbar {
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

/* Accordion */
.accordion-item {
    border: 1px solid #f0f0f0;
    border-radius: 0.5rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: #1f2b3e;
    background: #fff;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: #128874;
    background: #f8f9fa;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23384059'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23128874'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1rem 1.25rem;
    color: #666;
    line-height: 1.6;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

/* Contact Form */
.contact-form .form-control {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
}

.contact-form .form-control:focus {
    border-color: #128874;
    box-shadow: 0 0 0 3px rgba(18, 136, 116, 0.1);
}

/* Floating Labels */
.form-floating > label {
    color: #9a9fb0;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #128874;
}
