/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    flex-direction: row;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5f2d;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-direction: row-reverse; /* reversed order of menu items */
    direction: ltr; /* keep internal text layout LTR for link ordering */
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
    text-align: left;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: #2c5f2d;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #2c5f2d;
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
    animation: pulse 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Section Styles */
section {
    padding: 80px 0;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2c5f2d;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Packages Section */
.packages {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.packages .container {
    position: relative;
    z-index: 1;
}

.packages::before,
.packages::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
    animation: background-float 15s ease-in-out infinite;
}

.packages::before {
    width: 50vw;
    height: 50vw;
    background: #2c5f2d;
    top: -20%;
    right: -10%;
}

.packages::after {
    width: 40vw;
    height: 40vw;
    background: #2c5f2d;
    bottom: -15%;
    left: -10%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    transition: opacity 0.3s ease;
}

.packages-grid.hidden {
    display: none;
}

/* Why Choose Us */
.why-choose {
    background: #1e2024;
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose::before, .why-choose::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
    z-index: 0;
}

.why-choose::before {
    width: 400px;
    height: 400px;
    background: rgba(44, 95, 45, 0.4);
    top: -10%;
    left: -10%;
    animation: float 15s ease-in-out infinite alternate;
}

.why-choose::after {
    width: 500px;
    height: 500px;
    background: rgba(44, 95, 45, 0.2);
    bottom: -15%;
    right: -15%;
    animation: float 20s ease-in-out infinite alternate-reverse;
}

.why-choose .container {
    position: relative;
    z-index: 1;
}

.why-choose .section-title {
    color: white;
}

.why-choose .section-title::after {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.about-text p:hover {
    opacity: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.testimonials-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
}

.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(10, 25, 10, 0.8), rgba(10, 25, 10, 0.9)), url('../contact-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f0f0f0;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0.3;
    pointer-events: none;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact .section-subtitle {
    color: #ccc;
}

.contact .section-title::after {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.contact-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #2c5f2d;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(-5px);
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    right: 0;
    background-color: #2c5f2d;
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}