/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    padding: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.navbar img {
    height: 50px;
    margin-right: 200px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

.slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.slide-left.active,
.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Styles */
section {
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Banner Section */
#banner {
    background: #333333;
    color: white;
    text-align: center;
    padding-top: 6rem;
    transition: background-color 5s ease;
    animation: backgroundChange 3s forwards;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0; /* Hide content initially */
    animation: fadeInFromLeft 1.5s ease 1.5s forwards,
               textColorChange 1.5s ease 2.5s forwards;
}

.banner-content p {
    font-size: 2rem;
    max-width: 600px;
    text-align: left;
    animation: fadeInFromTop 1.5s ease forwards,
               textColorChange 1.5s ease 2.5s forwards;
    margin: 0 auto;
}

/* Vision Section */
#vision {
    background-color: #f5f5f5 !important;
}

#vision h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
}


.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Service Section */
#service {
    padding: 80px 20px;
    background-color: #fff !important;
}

#service h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
}

.portfolio-grid {
    display: grid;
    animation: fadeInFromLeft 1.5s ease forwards;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-content {
    padding: 30px;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-list li {
    margin: 12px 0;
    color: #666;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #777777;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.service-btn:hover {
    background-color: #777777;
}


/* Contact Section */
#contact {
    background-color: #333 !important;
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}
#contact h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
}

button {
    background-color: white;
    color: #333333;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #777777;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1000;
        margin-top:15px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(51, 51, 51, 0.95);
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links a {
        font-size: 1.5rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    .navbar {
        height: 100px;
        justify-content: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        animation: none;
        padding: 0 1rem;
    }

    .portfolio-item {
        margin: 0 1rem;
    }

    .portfolio-item:nth-child(odd) {
        transform: translateX(-100px);
    }

    .portfolio-item:nth-child(even) {
        transform: translateX(100px);
    }

    .portfolio-item.active {
        opacity: 1;
        transform: translateX(0);
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }

    #banner {
        padding: 4rem 1rem;
    }

    .banner-content p{
        font-size: 1.2rem;
        text-align: left;
    }

    .banner-content h1 {
        font-size: 1.4rem;
        text-align: left;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .portfolio-item h3 {
        font-size: 1.3rem;
    }

    .service-list li {
        font-size: 0.95rem;
    }

    .service-btn {
        width: 100%;
        padding: 0.7rem 1.5rem;
    }

    #service h2 {
        font-size: 1.5rem;
    }

    #vision h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    #contact h2 {
        font-size: 1.5rem;
    }
}

/* Hover Effects */
@media (min-width: 769px) {
    .portfolio-item:hover {
        transform: translateY(-10px);
    }
}

/* Add these animation keyframes to your style.css */
@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes backgroundChange {
    0%, 80% {
        background-color: #333333;
    }
    100% {
        background-color: #FFFFFF;
    }
}

@keyframes textColorChange {
    to {
        color: #333333;
    }
}