:root {
    --primary-color: #81a17c;
    --secondary-color: #6b8a66;
    --accent-color: #fcfafd;
    --text-color: #333;
    --light-gray: #f0f0f0;
    --dark-gray: #666;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Banner and hero section */
header {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Fade-in animations for hero elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 24vh;
    margin-bottom: 4rem;
}

.banner-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    filter: sepia(0.5) hue-rotate(45deg) saturate(1.2) brightness(0.9);
    will-change: filter;
    -webkit-filter: sepia(0.5) hue-rotate(45deg) saturate(1.2) brightness(0.9);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(76, 102, 76, 0.2);
    z-index: 2;
    pointer-events: none;
}

.banner-img {
    position: relative;
    z-index: 3;
    max-width: 500px;
    height: auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    /* Enhanced glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    /* Animation */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.banner-img:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(255, 255, 255, 0.15),
        inset 0 0 12px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
    padding: 0;
    margin-top: 25vh;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.1);
    /* Enhanced glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    /* Animation */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    /* Enhanced glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    /* Animation */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.hero h1:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(255, 255, 255, 0.15),
        inset 0 0 12px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero p:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(255, 255, 255, 0.15),
        inset 0 0 12px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Content sections */
#about, .services, .packages, .team, .contact, .why-choose-us, footer {
    position: relative;
    z-index: 4;
    background: var(--white);
    margin: 0;
    padding: 4rem 5%;
}

/* Add light gray background to specific sections */
.why-choose-us, .packages {
    background: var(--light-gray);
}

/* Container styling for card groups */
.service-grid, .features-grid, .package-grid {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Specific styling for grids in light gray sections */
.why-choose-us .features-grid,
.packages .package-grid {
    background: var(--light-gray);
    box-shadow: 0 2px 15px rgba(255, 255, 255, 0.1);
}

/* Keep service grid styling unchanged */
.service-grid {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Features and Package grids general styling */
.features-grid, .package-grid {
    padding: 2rem;
    border-radius: 20px;
}

/* Cards in gray sections */
.why-choose-us .feature-card,
.packages .package-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 300px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-choose-us .feature-card:hover,
.packages .package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3);
    margin: -1px;  /* Compensate for the border increase to prevent layout shift */
}

/* Keep original shadow for services cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    min-height: 200px;
    margin: 0 auto;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    border: none;
    margin: 0;
    transition: background-color 0.3s ease;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 4rem 5%;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto 4rem;
    padding: 0;
    justify-content: center;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin: 0.8rem 0;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-color);
}

/* About Section */
#about {
    padding: 4rem 5%;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.welcome-text {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 400px);
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0;
    justify-content: center;
}

.about-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    min-height: 220px;
    max-width: 320px;
    margin: 0 auto;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
    color: var(--primary-color);
}

.about-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 5%;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto 4rem;
    padding: 0;
    justify-content: center;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-choose-us .feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.why-choose-us .feature-card:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.why-choose-us .feature-card:hover h3 {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}

/* Packages Section */
.packages {
    padding: 4rem 5%;
}

.packages-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.package-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 300px;
    width: 100%;
    border: 1px solid rgba(129, 161, 124, 0.1);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.package-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-serif);
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.package-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    text-align: left;
}

.package-card li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.package-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.package-button:hover {
    background-color: var(--secondary-color);
}

/* Team Section */
.team {
    padding: 4rem 5%;
    background-color: var(--white);
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.team-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border: 1px solid rgba(129, 161, 124, 0.1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.centered-member {
    grid-column: 2;
}

.member-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.6) brightness(0.95) contrast(1.1) hue-rotate(-10deg) saturate(0.85);
    will-change: filter;
    -webkit-filter: sepia(0.6) brightness(0.95) contrast(1.1) hue-rotate(-10deg) saturate(0.85);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.paola-img {
    object-position: 25% center;
}

.team-member:hover .member-image img {
    transform: translate3d(0, 0, 0) scale(1.08);
    -webkit-transform: translate3d(0, 0, 0) scale(1.08);
    filter: sepia(0.5) brightness(1) contrast(1.15) hue-rotate(-10deg) saturate(0.9);
    -webkit-filter: sepia(0.5) brightness(1) contrast(1.15) hue-rotate(-10deg) saturate(0.9);
}

.member-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(129, 161, 124, 0.05) 0%,
        rgba(129, 161, 124, 0.1) 50%,
        rgba(107, 138, 102, 0.2) 100%);
    pointer-events: none;
}

.member-info {
    padding: 2rem;
    text-align: center;
    background-color: var(--white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.member-title {
    display: block;
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 1rem;
}

.member-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.6;
}

.member-info p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .centered-member {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 5%;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.contact form[name="contact"] {
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.contact form[name="contact"] .form-group {
    margin-bottom: 1.2rem;
}

.contact form[name="contact"] input,
.contact form[name="contact"] select,
.contact form[name="contact"] textarea {
    padding: 0.8rem;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact form[name="contact"] textarea {
    height: 120px;
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 5%;
    position: relative;
    z-index: 4;
    background: var(--white);
}

.portfolio-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.portfolio-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.coming-soon-heading {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border: 1px solid rgba(129, 161, 124, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.portfolio-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.portfolio-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.portfolio-image.blur-effect img {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(129, 161, 124, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.portfolio-overlay span {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(107, 138, 102, 0.6);
    padding: 0.8rem 2rem;
    border-radius: 8px;
}

.portfolio-details {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.portfolio-details h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.portfolio-details p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* Disable form during submission */
form[name="contact"] button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Buttons */
.package-button, .submit-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    text-decoration: none;
    border-radius: 15px;
    font-weight: 500;
    cursor: pointer;
    /* Enhanced glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, background-color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    /* Animation */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.package-button:hover, .submit-button:hover {
    transform: translateY(-2px);
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(255, 255, 255, 0.15),
        inset 0 0 12px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hide honeypot field */
.hidden {
    display: none !important;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.3rem 0;
        background-color: rgba(129, 161, 124, 0.95);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .nav-links {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0;
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }

    /* Banner adjustments */
    .banner {
        padding-top: 20vh;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .banner-img {
        margin-top: 2rem;
        max-width: 85%;
    }

    /* Rest of mobile styles */
    .hero {
        margin-top: 12vh;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Services Section */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        min-height: auto;
        padding: 1.5rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content > p {
        padding: 0 1rem;
        font-size: 1rem;
    }

    /* Package Section */
    .package-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    /* Team Section */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .team-member {
        flex-direction: column;
    }

    .member-image img {
        width: 100%;
        height: auto;
    }

    /* Contact Form */
    #contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    /* General Section Padding */
    #about, .services, .packages, .team, .contact, .why-choose-us {
        padding: 3rem 1rem;
    }

    /* Typography */
    h2 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Mobile optimizations */
@media screen and (max-width: 768px) {
    /* Existing mobile styles */
    .navbar {
        padding: 0.3rem 0;
        background-color: rgba(129, 161, 124, 0.95);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    /* Portfolio grid mobile adjustments */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 200px;
    }

    /* Adjust card spacing and hover effects for mobile */
    .why-choose-us .feature-card,
    .packages .package-card {
        margin: 0;
        border-width: 1px;
    }

    .why-choose-us .feature-card:hover,
    .packages .package-card:hover {
        transform: none;  /* Disable lift effect on mobile */
        margin: 0;
        border-width: 1px;  /* Keep border consistent on mobile */
    }

    /* Features Grid mobile adjustments */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
        margin: 0;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .why-choose-us .feature-card:hover,
    .packages .package-card:hover {
        transform: none;
        border-width: 1px;
        margin: 0;
    }

    .why-choose-us .feature-card:active,
    .packages .package-card:active {
        background-color: rgba(255, 255, 255, 0.95);  /* Subtle feedback on tap */
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Services Grid */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
    
    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }

    /* Package Grid */
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }

    /* General Section Padding */
    #about, .services, .packages, .team, .contact, .why-choose-us {
        padding: 3.5rem 2rem;
    }
}

/* Additional Touch Device Optimizations */
@media (hover: none) {
    .service-card:hover,
    .banner-img:hover,
    .package-card:hover,
    .cta-button:hover,
    .package-button:hover,
    .submit-button:hover,
    .social-links a:hover {
        transform: none;
    }
}

/* Desktop styles */
@media screen and (min-width: 768px) {
    .banner-video {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        transform: translate3d(0, 0, 0);
        will-change: transform;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1;
    }

    .package-card.featured {
        transform: none;
    }

    .about-content > p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 400px);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 250px);
    }
    
    .contact-intro p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    #contact-form {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 1s ease-out;
}

/* Accessibility */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* General Typography */
h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.team h2, .contact h2 {
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        height: auto;
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}
