/* Reset and Base Styles */
:root {
    --primary-color: #00a651;
    --secondary-color: #333;
    --black: #000000;
    --white: #ffffff;
    --dark-bg: #1a1a1a;
    --light-green: #e6f7ef;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #00a651;
    --secondary-color: #333;
    --black: #1a1a1a;
    --white: #ffffff;
    --dark-bg: #242424;
    --light-green: #e6f7ef;
    --gray-bg: #2d2d2d;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #2a2a2a;
    color: var(--white);
}

/* Cards and content sections */
.package, .plan, .project-card, .contact-info {
    background: #333333;
    border: 1px solid rgba(0, 166, 81, 0.3);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.05);
    color: var(--white);
}

/* Update services section background */
.services, .projects, .team, .contact {
    background: linear-gradient(to bottom, #2a2a2a, #333333);
}

.email-plans {
    background: linear-gradient(to bottom, #333333, #2a2a2a);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    background: var(--black);
    border-bottom: 2px solid var(--primary-color);
    left: 0;
    width: 100%;
    background: var(--black);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/bck.webp') center/cover;
    color: var(--white);
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.cta-button:hover {
    background: #008c44;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 100px 0;
}

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

.package {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

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

.package h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.package ul {
    list-style: none;
    margin-bottom: 2rem;
}

.package ul li {
    margin: 0.5rem 0;
}

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

.package-button:hover {
    background: #008c44;
}

/* Email Plans Section */
.email-plans {
    padding: 100px 0;
}

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

.plan {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

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

/* Projects Section */
.projects {
    padding: 100px 0;
}

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

.project-card {
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    background: #333333;
    border: 1px solid rgba(0, 166, 81, 0.3);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.05);
}

.project-card a {
    text-decoration: none;
    color: var(--white);
    display: block;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 166, 81, 0.2);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid rgba(0, 166, 81, 0.2);
}

.project-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.project-card p {
    padding: 0 1rem 1rem;
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.5;
}

.project-link {
    display: inline-block;
    margin: 0 1rem 1rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.project-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-link i {
    transform: translateX(5px);
}

.view-more-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: bold;
}

.view-more-link:hover {
    background: #008c44;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.2);
}

/* Team Section */
.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
/* Enhanced team section styling */
.team-member {
    box-shadow: 0 15px 30px rgba(0, 166, 81, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.3),
                0 0 20px rgba(0, 166, 81, 0.2);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}
/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--black);
    border: 1px solid var(--primary-color);
    color: var(--white);
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: #008c44;
}

.contact-info {
    padding: 2rem;
    border-radius: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links a {
    color: var(--white);
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

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

/* Enhanced logo styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        flex-direction: column;
        text-align: center;
    }

    @media (max-width: 768px) {
        .nav-links {
            background: rgba(0, 166, 81, 0.995); /* 99.5% transparent green */
            backdrop-filter: blur(8px);
        }
    }

    .nav-links.active {
        display: flex;
        animation: slideIn 0.3s ease-out;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        font-size: 18px;
        display: block;
        padding: 12px 20px;
        color: var(--white);
        margin: 5px 15px;
        border-radius: 5px;
        background: rgba(0, 166, 81, 0.3);
        transition: all 0.3s ease;
    }

    .nav-links li a:hover {
        background: rgba(0, 166, 81, 0.5);
        transform: translateX(5px);
    }

    .nav-links {
        background: rgba(0, 166, 81, 0.2);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-toggle span {
        width: 30px;
        height: 3px;
        margin: 3px 0;
        background: var(--primary-color);
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .package.featured {
        transform: none;
    }

    .plan.featured {
        transform: none;
    }

    .logo-img {
        height: 28px;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fadeIn {
    animation: fadeIn 1s ease-out;
}
.slider-content {
    height: 200px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
}

.slide h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

@media (max-width: 768px) {
    .slider-content {
        height: 250px;
    }
    
    .slide h1 {
        font-size: 2rem;
    }
}

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

.plan-button:hover {
    background: #008c44;
}

/* About Page Styles */
.about-hero {
    padding: 150px 0 100px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/bck.webp') center/cover;
    text-align: center;
    color: var(--white);
}

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

.back-home {
    padding: 50px 0;
    text-align: center;
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: bold;
}

.home-button:hover {
    background: #008c44;
    transform: translateY(-2px);
}
.mission {
    padding: 100px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
}

.values {
    padding: 100px 0;
    background: var(--dark-bg);
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: #333333;
    border-radius: 10px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

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

.timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-item .year {
    text-align: right;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-item .content {
    padding: 1rem;
    background: #333333;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item .content:hover {
    transform: translateX(15px);
    box-shadow: 0 30px 60px rgba(0, 166, 81, 0.35),
                0 0 30px rgba(0, 166, 81, 0.2);
}

/* Enhanced Core Values Section */
.value-card {
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.25);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 166, 81, 0.35),
                0 0 30px rgba(0, 166, 81, 0.2);
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    .timeline-item .year {
        text-align: left;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .value-card, .timeline-item .content {
        box-shadow: 0 25px 50px rgba(0, 166, 81, 0.3);
    }

    .value-card:hover, .timeline-item .content:hover {
        box-shadow: 0 35px 70px rgba(0, 166, 81, 0.4),
                    0 0 35px rgba(0, 166, 81, 0.25);
    }
}

/* Dynamic Mission Section */
.mission-content {
    perspective: 1000px;
}

.mission-points {
    margin-top: 2rem;
}
.mission-points .point {
    background: linear-gradient(145deg, #333333, #2a2a2a);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 166, 81, 0.25);
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 25px 50px rgba(0, 166, 81, 0.25);
    }
    50% {
        box-shadow: 0 30px 60px rgba(0, 166, 81, 0.4),
                    0 0 40px rgba(0, 166, 81, 0.2);
    }
    100% {
        box-shadow: 0 25px 50px rgba(0, 166, 81, 0.25);
    }
}

.point:hover {
    transform: translateZ(20px) rotateX(2deg);
    box-shadow: 0 35px 70px rgba(0, 166, 81, 0.45),
                0 0 50px rgba(0, 166, 81, 0.3);
}
.point i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transform: translateZ(30px);
}

.point h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mission-image img {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-image:hover img {
    transform: translateZ(30px) scale(1.05);
}
/* Smooth transitions for all interactive elements */
.package, .plan, .project-card, .team-member, .value-card {
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.package:hover, .plan:hover, .project-card:hover, .team-member:hover, .value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 166, 81, 0.15);
}

/* Smooth page transitions */
body {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Loading optimization */
img {
    loading: lazy;
}

/* Enhanced mobile shadows for services and email plans */
@media (max-width: 768px) {
    .package, .plan {
        box-shadow: 0 20px 40px rgba(0, 166, 81, 0.25);
        transform: translateY(0);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .package:hover, .plan:hover {
        box-shadow: 0 25px 50px rgba(0, 166, 81, 0.35),
                    0 0 30px rgba(0, 166, 81, 0.2);
        transform: translateY(-15px);
    }

    .package.featured, .plan.featured {
        box-shadow: 0 25px 50px rgba(0, 166, 81, 0.4);
    }
}

/* Enhanced desktop shadows with animations */
@media (min-width: 769px) {
    .package, .plan, .project-card, .team-member {
        animation: glowPulse 3s infinite;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes glowPulse {
        0% {
            box-shadow: 0 25px 50px rgba(0, 166, 81, 0.25);
        }
        50% {
            box-shadow: 0 30px 60px rgba(0, 166, 81, 0.4),
                        0 0 40px rgba(0, 166, 81, 0.2);
        }
        100% {
            box-shadow: 0 25px 50px rgba(0, 166, 81, 0.25);
        }
    }

    .package:hover, .plan:hover, .project-card:hover, .team-member:hover {
        transform: translateY(-15px);
        box-shadow: 0 35px 70px rgba(0, 166, 81, 0.45),
                    0 0 50px rgba(0, 166, 81, 0.3);
    }

    .package.featured {
        animation: featuredGlow 3s infinite;
    }

    @keyframes featuredGlow {
        0% {
            box-shadow: 0 30px 60px rgba(0, 166, 81, 0.35);
        }
        50% {
            box-shadow: 0 35px 70px rgba(0, 166, 81, 0.5),
                        0 0 50px rgba(0, 166, 81, 0.3);
        }
        100% {
            box-shadow: 0 30px 60px rgba(0, 166, 81, 0.35);
        }
    }
}

/* Projects Section Enhancement */
const viewMoreLink = document.querySelector('.view-more-link');
if (viewMoreLink) {
    viewMoreLink.addEventListener('mouseenter', () => {
        viewMoreLink.innerHTML = 'View All Projects <i class="fas fa-arrow-right"></i>';
    });
    
    viewMoreLink.addEventListener('mouseleave', () => {
        viewMoreLink.innerHTML = 'View All Projects';
    });
}

/* Projects Showcase Page Styles */
.projects-showcase {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, #2a2a2a, #333333);
}

.project-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    background: #333333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-detailed:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-detailed:hover:after {
    opacity: 1;
}

.project-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 166, 81, 0.35),
                0 0 30px rgba(0, 166, 81, 0.2);
}

.project-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 166, 81, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-detailed:hover .project-image:before {
    opacity: 1;
}

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

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

.project-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.project-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

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

.project-info p {
    margin-bottom: 1.8rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1.05rem;
}

.project-features, .project-tech {
    margin-bottom: 1.8rem;
}

.project-features h3, .project-tech h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.project-features h3:before, .project-tech h3:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    margin-right: 10px;
    border-radius: 50%;
}

.project-features ul {
    list-style: none;
    padding-left: 0.5rem;
}

.project-features ul li {
    margin: 0.7rem 0;
    position: relative;
    padding-left: 1.8rem;
    transition: transform 0.2s ease;
}

.project-features ul li:hover {
    transform: translateX(5px);
}

.project-features ul li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tags span {
    background: rgba(0, 166, 81, 0.15);
    color: #e0e0e0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 166, 81, 0.3);
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: rgba(0, 166, 81, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.2);
}

.project-button {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.8rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
    font-weight: bold;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.2);
}

.project-button:hover {
    background: #008c44;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.3);
}

.project-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.project-button:hover i {
    transform: translateX(5px);
}

/* Back to Home section styling */
.back-home {
    padding: 50px 0 80px;
    text-align: center;
    background: linear-gradient(to top, #2a2a2a, #333333);
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.2);
}

.home-button:hover {
    background: #008c44;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.3);
}

.home-button i {
    font-size: 1.2rem;
}

/* Enhanced responsive design for projects page */
@media (max-width: 992px) {
    .project-detailed {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 350px;
    }
    
    .project-info {
        padding: 2rem;
    }
    
    .project-info h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .projects-showcase {
        padding: 100px 0 60px;
    }
    
    .project-detailed {
        margin-bottom: 3.5rem;
    }
    
    .project-image {
        height: 280px;
    }
    
    .project-info h2 {
        font-size: 1.5rem;
    }
    
    .project-info p {
        font-size: 1rem;
    }
    
    .tech-tags {
        gap: 0.6rem;
    }
    
    .tech-tags span {
        padding: 0.3rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .project-button {
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-image {
        height: 220px;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-info h2 {
        font-size: 1.3rem;
    }
    
    .project-features ul li {
        font-size: 0.95rem;
    }
    
    .tech-tags {
        justify-content: center;
    }
}

/* Animation for project cards */
.project-detailed {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.project-detailed:nth-child(2) {
    animation-delay: 0.2s;
}

.project-detailed:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Projects Hero Section Enhancement */
.about-hero {
    position: relative;
    overflow: hidden;
}

.about-hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.about-hero h1 {
    position: relative;
    display: inline-block;
}

.about-hero h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Projects Showcase Page Styles - Desktop Image Fix */
@media (min-width: 992px) {
    .project-detailed {
        grid-template-columns: 0.8fr 1.2fr;
    }
    
    .project-image {
        max-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .project-image img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }
    
    .project-info {
        padding: 2.5rem 3rem;
    }
}

/* Additional desktop refinements */
@media (min-width: 1200px) {
    .project-detailed {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .project-image {
        border-radius: 15px 0 0 15px;
    }
}
