/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #2c5f2d;
    color: white;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.btn-primary:hover {
    background: #1e4620;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5f2d;
    transform: translateY(-3px);
}

/* Service Card */
.service-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-card-content {
    padding: 1.5rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 95, 45, 0.05), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

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

.service-card p {
    margin-bottom: 2.5rem; /* Space for the arrow */
}

/* Package Tabs */
.package-tabs {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    left: 50%;
    transform: translateX(-50%);
}

.tab-btn {
    padding: 12px 32px;
    background: transparent;
    border: none;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.4s ease;
    position: relative;
    flex: 1;
    z-index: 2;
}

.tab-btn::before {
    content: none;
}

.tab-btn:hover {
    color: #2c5f2d;
}

.tab-btn.active {
    color: white;
    transform: none;
    box-shadow: none;
    background: transparent;
}

.package-tabs .tab-slider {
    position: absolute;
    height: calc(100% - 1rem);
    top: 0.5rem;
    background: #2c5f2d;
    border-radius: 8px;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), width 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1;
}

/* Package Card */
.package-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.package-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 95, 45, 0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.package-card:hover::after {
    transform: scale(1);
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.package-card.featured {
    border: 3px solid #2c5f2d;
}

.package-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: linear-gradient(135deg, #2c5f2d, #1e4620);
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(44, 95, 45, 0.3);
}

.package-card h3 {
    margin: 1rem 0;
    font-size: 1.8rem;
    color: #2c5f2d;
    transition: transform 0.3s ease;
}

.package-card:hover h3 {
    transform: scale(1.05);
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5f2d;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.package-card:hover .package-price {
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(44, 95, 45, 0.3);
}

.package-features {
    list-style: none;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.package-card:hover .package-features li {
    opacity: 1;
    padding-right: 5px;
}

.package-card.visible .package-features li {
    opacity: 1;
}

.package-card .package-features li:hover {
    background: rgba(44, 95, 45, 0.05);
    color: #1e4620;
    transform: translateX(-5px);
    border-radius: 4px;
}

.package-features li:before {
    content: "✓ ";
    color: #2c5f2d;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Feature Item */
.feature-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Stat Item */
.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5f2d;
    transition: transform 0.3s ease;
}

.stat:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    flex: 0 0 350px; /* Use flex-basis for consistent width */
    margin: 0 1rem;
    width: 350px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    direction: rtl; /* Reset direction for card content */
}

.testimonial-card-large {
    height: auto; /* Allow height to adjust for images */
}

.testimonial-card.api-testimonial img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(44, 95, 45, 0.05);
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
    margin-top: auto; /* Pushes author to the bottom */
    direction: rtl; /* Ensure author section is RTL */
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2c5f2d;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #2c5f2d;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Testimonial Nav */
.testimonial-nav {
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: #2c5f2d;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    margin: 0 1rem;
}

.testimonial-nav:hover {
    background: #2c5f2d;
    color: white;
    transform: scale(1.1);
}

.testimonial-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

/* Contact Item */
.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-item h3 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #ccc;
}

/* Forms */
.contact-form,
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-form {
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #2c5f2d;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.2);
    transform: translateY(-2px);
}

.contact-form textarea,
.booking-form textarea {
    resize: vertical;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb;
}

.contact-form select option {
    background: #2c3e50;
    color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: #2c5f2d;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.3), 0 5px 15px rgba(0,0,0,0.2);
}

/* Floating Social Icons */
.social-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon svg {
    width: 25px;
    height: 25px;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.whatsapp-icon {
    background: #25D366;
}

.facebook-icon {
    background: #1877F2;
    position: fixed;
    right: auto;
    left: 20px;
}