/* Global Styles */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #4CAF50;
    --accent-color: #ff6b6b;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 30px;
}

.coming-soon-container {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.countdown {
    display: flex;
    justify-content: center;
    margin: 50px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.countdown-item {
    margin: 0;
    min-width: 100px;
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color, #4CAF50));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    font-weight: 500;
}

.newsletter-form {
    max-width: 500px;
    margin: 40px auto;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.social-links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links p {
    margin-bottom: 20px;
    color: var(--text-medium);
}

.social-links-icons {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-color);
    color: white;
}

.development-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.development-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

.development-badge i {
    font-size: 1.1rem;
}

/* Enhanced Features Section Styling */
.features-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color, #4CAF50));
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .countdown-item {
        margin: 0 10px;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 25px;
    }
}

.bumi-hijau-link {
    margin-top: 2px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.1));
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.bumi-hijau-link p {
    margin-bottom: 2px;
    font-size: 1.1rem;
    color: #555;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color, #4CAF50));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.btn-lg {
    font-size: 1.2rem;
    padding: 16px 36px;
    font-weight: 700;
}

:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --primary-hover: #1b5e20;
    --secondary-color: #f9a825;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #eeeeee;
    --gray: #9e9e9e;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 1s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 1.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #f57f17;
    color: var(--text-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--gray-light);
}

.img-placeholder {
    background-color: var(--gray-light);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.2rem;
    border-radius: 8px;
}

/* Header & Navigation */
header {
    position: relative;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo {
    transform: scale(0.9);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.navbar.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
}

.logo-accent {
    color: var(--secondary-color);
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-menu a {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar.scrolled .nav-menu a::after {
    background-color: var(--secondary-color);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--secondary-color);
}

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

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar.scrolled .menu-toggle {
    color: var(--white);
}

/* Hero Section - Modern Redesign */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 1s ease forwards;
}

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

.hero-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.hero-content h2::before,
.hero-content h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--secondary-color);
}

.hero-content h2::before {
    left: -40px;
}

.hero-content h2::after {
    right: -40px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-content h1 span {
    display: block;
    color: var(--primary-light);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-content .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    margin-top: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-content .btn-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.hero-content .btn-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.4);
}

.hero-content .btn-lg:hover::before {
    left: 100%;
}

.hero-content .btn-lg i {
    margin-right: 10px;
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Custom styles for the projects slider */
.projects-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    position: relative;
    padding: 20px 0;
    gap: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.project-slide {
    min-width: 250px;
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 auto;
    width: calc(20% - 12px);
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.project-slide:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 180px;
    overflow: hidden;
}

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

.project-slide:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 12px;
    background-color: var(--white);
}

.project-info h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.project-info p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 0;
}

.projects-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.projects-navigation button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.projects-navigation button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media screen and (min-width: 1200px) {
    .project-slide {
        width: calc(20% - 12px);
    }
}

@media screen and (max-width: 1199px) {
    .project-slide {
        width: calc(25% - 12px);
    }
}

@media screen and (max-width: 992px) {
    .project-slide {
        width: calc(33.333% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .project-slide {
        width: calc(50% - 8px);
    }
}

@media screen and (max-width: 576px) {
    .project-slide {
        width: calc(100% - 5px);
    }
}

/* Projects page styles */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card .project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-details {
    padding: 1.5rem;
}

.project-details h3 {
    margin-bottom: 0.5rem;
}

.project-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--gray-light);
    padding-top: 1rem;
}

.project-meta span {
    display: flex;
    align-items: center;
}

.project-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.project-categories {
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
}

.project-categories::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.category-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

.category-card {
    position: relative;
    height: 180px;
    width: 180px;
    min-width: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
}

.category-card.active {
    border: 3px solid var(--primary-color);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: var(--white);
}

.category-overlay h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.category-overlay p {
    font-size: 0.8rem;
    margin-bottom: 0;
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    .category-card {
        height: 150px;
        width: 150px;
        min-width: 150px;
    }
    
    .category-overlay h3 {
        font-size: 1rem;
    }
    
    .category-overlay p {
        font-size: 0.7rem;
    }
}

/* Contact Section - Modern Redesign */
.contact-info-section {
    background-color: #f0f7f1;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232e7d32' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.contact-info-section .container {
    position: relative;
    z-index: 1;
}

.contact-info-section .section-header {
    margin-bottom: 4rem;
}

.contact-info-section .section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.contact-info-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-info-section .section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
}

/* Contact Info Redesign */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    border-radius: 2.5px 0 0 2.5px;
}

.info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.info-content p,
.info-content a {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.map-container {
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 2;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Form Redesign */
.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    border-radius: 0 0 0 100%;
    opacity: 0.1;
    z-index: 0;
}

.contact-form h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background-color: var(--white);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: right;
    position: relative;
    z-index: 1;
}

.form-submit .btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.form-submit .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.3);
}

.form-submit .btn:hover::before {
    left: 100%;
}

.form-success,
.form-error {
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.5s ease forwards;
}

.form-success {
    background-color: rgba(76, 175, 80, 0.08);
    border-left: 4px solid var(--primary-color);
}

.form-error {
    background-color: rgba(255, 0, 0, 0.08);
    border-left: 4px solid red;
}

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

.success-icon,
.error-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.success-icon {
    color: var(--primary-color);
}

.error-icon {
    color: red;
}

.form-success h4,
.form-error h4 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.form-success h4 {
    color: var(--primary-color);
}

.form-error h4 {
    color: red;
}

.form-success p,
.form-error p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Floating WhatsApp Button Redesign */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-8px) scale(1.1);
    color: white;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

@media screen and (max-width: 992px) {
    .contact-info-section {
        padding: 4rem 0;
    }
    
    .contact-info-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .form-submit {
        text-align: center;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-light);
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial-slide {
    flex: 0 0 calc(50% - 2rem);
    margin: 0 1rem;
}

.testimonial-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cta-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer - Modern Redesign */
footer {
    background: linear-gradient(to right, #1a1a1a, #2e2e2e);
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

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

.footer-logo a {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-logo a:hover {
    transform: translateY(-3px);
}

.footer-logo p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
    font-size: 1.3rem;
    color: var(--white);
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 1.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul li a {
    color: var(--gray);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-light);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    background-color: var(--primary-color);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact ul li i {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact ul li p,
.footer-contact ul li a {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-contact ul li a:hover {
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-icons a:hover {
    transform: translateY(-8px) rotate(360deg);
    color: var(--white);
}

.social-icons a:hover::before {
    opacity: 1;
}

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

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-bottom a {
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media screen and (max-width: 992px) {
    footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul li a {
        padding-left: 0;
    }
    
    .footer-links ul li a::before {
        display: none;
    }
    
    .footer-links ul li a:hover {
        transform: translateY(-3px);
    }
    
    .footer-contact ul li {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .project-slide {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .testimonial-slide {
        flex: 0 0 calc(100% - 2rem);
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-menu a {
        color: var(--white);
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content .btn-lg {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    
    .project-slide {
        flex: 0 0 calc(100% - 2rem);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .seo-links ul {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for cards */
.service-card.animate-on-scroll,
.project-card.animate-on-scroll,
.info-item.animate-on-scroll {
    transition-delay: var(--delay, 0s);
}

/* Fade animations for tab content */
.tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

.tab-pane.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Project card transitions */
.project-card {
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

/* Navbar transition */
.navbar {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

.btn-primary {
    animation: pulse 2s infinite;
}

/* Hover effects for cards */
.service-card:hover,
.project-card:hover,
.info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Menu toggle animation */
.menu-toggle {
    transition: all 0.3s ease;
}

.menu-toggle.active {
    transform: rotate(90deg);
}

/* Mobile menu animation */
.nav-menu {
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

/* Form input animations */
.form-control {
    transition: all 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    transform: translateY(-3px);
}

/* Button hover animations */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

/* Social icons animation */
.social-icons a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover {
    transform: translateY(-8px) rotate(360deg);
}

/* Logo animation */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.navbar.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
}

.logo-accent {
    color: var(--secondary-color);
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-menu a {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar.scrolled .nav-menu a::after {
    background-color: var(--secondary-color);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--secondary-color);
}

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

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar.scrolled .menu-toggle {
    color: var(--white);
}

/* Section headers animation */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    transition: width 0.5s ease;
    width: 0;
}

.section-header.visible h2::after {
    width: 60px;
}

/* Category card animations */
.category-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-overlay h3::after {
    transition: width 0.3s ease;
}

/* Form success/error animations */
.form-success,
.form-error {
    animation: fadeInUp 0.5s ease forwards;
}

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

/* Floating button animations */
.whatsapp-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Hero content animations */
.hero-content h1,
.hero-content h2,
.hero-content p,
.hero-content .btn-lg {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-content h2 {
    animation-delay: 0.2s;
}

.hero-content h1 {
    animation-delay: 0.4s;
}

.hero-content p {
    animation-delay: 0.6s;
}

.hero-content .btn-lg {
    animation-delay: 0.8s;
}

/* Page transition */
body {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Services Section Styles */
.services-preview {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-tabs {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
}

.tabs-nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.tab-btn {
    padding: 0.6rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tabs-content {
    position: relative;
}

.service-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .service-gallery-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .service-gallery-grid {
        flex: 2;
    }
    
    .service-info {
        flex: 1;
        padding-left: 2rem;
    }
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.service-info {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.service-info h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.service-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 1.5px;
}

.feature-list-compact {
    margin-top: 1.5rem;
}

.feature-list-compact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.feature-list-compact li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .tabs-nav {
        justify-content: flex-start;
    }
    
    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .service-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .service-info {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive logo styles */
@media (max-width: 768px) {
    .logo-img {
        width: 160px !important;
    }
    
    .navbar.scrolled .logo-img {
        width: 140px !important;
    }
    
    .footer-logo-img {
        width: 180px !important;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 140px !important;
    }
    
    .navbar.scrolled .logo-img {
        width: 120px !important;
    }
    
    .footer-logo-img {
        width: 160px !important;
    }
}

/* Make sure menu toggle is visible on mobile */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* Grass item styles */
.grass-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

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

.grass-item img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.grass-item:hover img {
    transform: scale(1.08);
}

.grass-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), transparent);
    color: white;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.grass-item:hover .grass-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    padding-top: 20px;
    padding-bottom: 20px;
}

.grass-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 8px;
}

.grass-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.grass-item:hover .grass-name::after {
    width: 50px;
}

.grass-type {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 5px;
}

@media screen and (max-width: 768px) {
    .grass-overlay {
        padding: 10px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    }
    
    .grass-name {
        font-size: 0.9rem;
        padding-bottom: 5px;
    }
    
    .grass-name::after {
        width: 30px;
    }
    
    .grass-type {
        font-size: 0.7rem;
    }
    
    .grass-item:hover {
        transform: translateY(-5px);
    }
}

/* Project Gallery Popup */
.project-gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery-popup.active {
    display: flex;
    opacity: 1;
}

.gallery-popup-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 80%;
    display: flex;
    flex-direction: column;
}

.gallery-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px 8px 0 0;
}

.gallery-popup-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.gallery-popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gallery-popup-close:hover {
    color: var(--primary-color);
}

.gallery-popup-main {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.gallery-popup-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-popup-image.active {
    opacity: 1;
    z-index: 1;
}

.gallery-popup-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-popup-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
}

.gallery-popup-nav button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 15px;
}

.gallery-popup-nav button:hover {
    background-color: var(--primary-color);
}

.gallery-popup-thumbnails {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 8px 8px;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments for gallery popup */
@media (max-width: 768px) {
    .gallery-popup-content {
        width: 95%;
        height: 90%;
    }
    
    .gallery-popup-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}
