/* ANIMATIONS */
.header-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpHeader 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.header-delay-1 {
    animation-delay: 0.3s;
}

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

/* ================= ABOUT DETAILS UI ================= */
.about-details-section {
    padding: 100px 0;
    position: relative;
    color: #073c29;
    background: #ffffff;
    overflow: hidden;
}

/* Keep content above overlay */
.about-details-content,
.about-details-gallery {
    position: relative;
    z-index: 2;
}

/* PREMIUM TAG */
.premium-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(7, 60, 41, 0.05);
    border: 1px solid rgba(7, 60, 41, 0.12);
    color: #073c29;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* TITLE */
.details-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4.5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #073c29;
    letter-spacing: -1.5px;
}

.details-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b;
}

/* DESCRIPTION */
.details-desc {
    color: #556b62;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* PREMIUM STATS */
.premium-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(7, 60, 41, 0.08);
    border-bottom: 1px solid rgba(7, 60, 41, 0.08);
    padding: 25px 0;
    margin-bottom: 35px;
}

.stat-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    color: #073c29;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-box p {
    color: #dfa91b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* HIGHLIGHTS */
.details-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.details-highlights li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 15.5px;
    color: #556b62;
    font-weight: 500;
}

.details-highlights i {
    color: #dfa91b;
    font-size: 20px;
}

/* BUTTON */
.btn-premium {
    display: inline-block;
    padding: 14px 35px;
    background: #073c29;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(7, 60, 41, 0.25);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(7, 60, 41, 0.35);
    color: #fff;
    background: #0d5c3f;
}

/* GALLERY */
.about-details-gallery {
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-box {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(7, 60, 41, 0.08);
    border: 1px solid rgba(7, 60, 41, 0.06);
}

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

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

.img-1 {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-2 {
    width: 65%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 5px solid #fff;
}

/* BADGE */
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: #073c29;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(7, 60, 41, 0.15);
    border: 5px solid #fff;
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-content {
    text-align: center;
    color: #fff;
}

.badge-content i {
    font-size: 24px;
    margin-bottom: 5px;
    color: #dfa91b;
}

.badge-content span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* FLOAT ANIMATION */
@keyframes floatBadge {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .about-details-gallery {
        height: 400px;
        margin-top: 50px;
    }

    .details-title {
        font-size: 32px;
    }

    .premium-stats {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
    }

    .stat-box h3 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .about-details-gallery {
        height: 300px;
    }

    .img-2 {
        border-width: 3px;
    }

    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: -15px;
        left: -15px;
        border-width: 3px;
    }

    .badge-content i {
        font-size: 18px;
    }

    .badge-content span {
        font-size: 10px;
    }
}

/* ================= WHY CHOOSE US ================= */
.why-choose-section {
    padding: 100px 0;
    background: #073c29;
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(7, 60, 41, 0.08);
}

.why-choose-section .premium-tag {
    color: #dfa91b !important;
    border: 1px solid rgba(223, 169, 27, 0.3);
    background: rgba(223, 169, 27, 0.08);
}

.why-choose-section .section-heading h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
}

.why-choose-section .section-heading h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b;
}

.why-choose-section .section-heading p {
    color: rgba(255, 255, 255, 0.85);
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(223, 169, 27, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Glowing top border on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #dfa91b;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px #dfa91b;
    z-index: 2;
}

.feature-card:hover::before {
    width: 60%;
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background: #073c29;
    color: #dfa91b;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(7, 60, 41, 0.15);
}

.feature-card:hover .icon-box {
    background: #dfa91b;
    color: #073c29;
    box-shadow: 0 4px 15px rgba(223, 169, 27, 0.4);
    transform: scale(1.08) rotate(5deg);
}

.feature-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #073c29;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: #556b62;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0;
}

/* ================= OUR SERVICES OVERVIEW ================= */
.services-overview-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(7, 60, 41, 0.92) 0%, rgba(3, 28, 19, 0.96) 100%), url('../images/slide/slide5.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    color: #fff;
    border-top: 1px solid rgba(7, 60, 41, 0.08);
}

.services-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent; 
    z-index: 0; 
    pointer-events: none;
}

.services-overview-section .container {
    position: relative;
    z-index: 2; 
}

.services-overview-section .section-heading h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
}

.services-overview-section .section-heading h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b;
}

.services-overview-section .section-heading p {
    color: rgba(255, 255, 255, 0.8);
}

/* 3D FLIP CARDS */
.service-flip-card {
    background-color: transparent;
    height: 380px;
    perspective: 1200px; 
    border-radius: 24px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(3, 28, 19, 0.3);
}

.service-flip-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

/* Front & Back Sides */
.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* FRONT SIDE */
.service-card-front {
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.front-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(7, 60, 41, 0.1) 0%, rgba(3, 28, 19, 0.85) 100%);
    z-index: 1;
}

.service-card-front h4 {
    position: relative;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 5px 10px rgba(0,0,0,0.4);
}

.service-card-front i {
    position: relative;
    z-index: 2;
    font-size: 50px;
    color: #dfa91b;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}

.service-flip-card:hover .service-card-front i {
    transform: scale(1.1);
}

/* BACK SIDE */
.service-card-back {
    background: #031c13;
    color: #fff;
    transform: rotateY(180deg);
    border-color: rgba(223, 169, 27, 0.25);
    background-image: radial-gradient(circle at center, rgba(223, 169, 27, 0.08), transparent 70%);
}

.service-card-back h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    color: #dfa91b;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-back p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-premium-sm {
    display: inline-block;
    padding: 10px 22px;
    background: #dfa91b;
    border: none;
    color: #073c29;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-premium-sm:hover {
    background: #ffffff;
    color: #073c29;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25);
}

/* ================= JOURNEY TIMELINE ================= */
.timeline-section {
    padding: 100px 0;
    background: #ffffff; /* Explicitly white as requested */
    color: #111;
}

.timeline-section .section-heading h2 {
    color: #111 !important;
}

.timeline-section .section-heading h2 span {
    color: #c9a34e;
}

/* Modifying the premium tag for white BG */
.dark-theme-tag {
    background: rgba(7, 60, 41, 0.05);
    border: 1px solid rgba(7, 60, 41, 0.15);
    color: #073c29;
    font-weight: 700;
}

.timeline-section .section-heading h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #073c29;
    font-size: clamp(32px, 4vw, 48px);
}

.timeline-section .section-heading h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b;
}

.timeline-section .section-heading p {
    color: #556b62;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    width: 2px;
    background: rgba(7, 60, 41, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 50px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Clearfix for last item */
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #073c29;
    border-radius: 50%;
    top: 15px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(7, 60, 41, 0.2);
    transition: all 0.3s ease;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-item:hover .timeline-dot {
    background: #dfa91b;
    border-color: #dfa91b;
    transform: scale(1.3);
}

.timeline-content {
    background: #fff;
    padding: 35px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(7, 60, 41, 0.03);
    position: relative;
    border: 1px solid rgba(7, 60, 41, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(7, 60, 41, 0.08);
    border-color: rgba(223, 169, 27, 0.25);
}

.timeline-year {
    display: inline-block;
    background: #073c29; /* Dark badge for contrast */
    color: #dfa91b;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.timeline-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #073c29;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #556b62;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* RESPONSIVE TIMELINE */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item.left, 
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item.left .timeline-dot, 
    .timeline-item.right .timeline-dot {
        left: 20px; 
    }
}

/* ================= TESTIMONIALS SECTION ================= */
.testimonial-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: #faf9f6;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(7, 60, 41, 0.03);
    border: 1px solid rgba(7, 60, 41, 0.06);
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(7, 60, 41, 0.08);
    border-color: rgba(223, 169, 27, 0.25);
}

.quote-icon {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 50px;
    color: rgba(223, 169, 27, 0.1);
    z-index: -1;
    transition: color 0.4s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(223, 169, 27, 0.25);
}

.review-text {
    font-size: 15px;
    color: #556b62;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    min-height: 110px; /* Aligns cards evenly */
}

/* Client Info */
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(7, 60, 41, 0.08);
    padding-top: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    background: #073c29;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dfa91b;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #dfa91b;
}

.client-details h5 {
    margin: 0 0 5px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #073c29;
}

.client-details span {
    display: block;
    font-size: 12px;
    color: #7d968c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* Stars */
.stars {
    color: #dfa91b;
    font-size: 13px;
    display: flex;
    gap: 2px;
}

/* Pagination Overrides */
.testimonial-section .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
}

.testimonial-section .swiper-pagination-bullet-active {
    background: #073c29;
    width: 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}