/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif; /* Changed font */
}

/* Body */
body {
    color: #ccc; /* dark grey text */
    background-color: #000; /* black background */
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    background-color: #000;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-img {
    height: 100px;
    width: auto;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar .nav-links li a {
    color: #ccc; /* dark grey */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}

.navbar .nav-links li a:hover {
    color: #fff; /* white on hover */
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    background: url('background.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slogan-image {
    max-width: 60%;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    transform: scale(1);
    transition: transform 2s ease-out, box-shadow 0.5s;
}

.slogan-image.zoom-in {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 5rem 5%;
    background-color: #111; /* dark grey boxes */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #fff; /* white heading */
}

/* About Us */
.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #ccc;
}

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.team-member {
    text-align: center;
    max-width: 220px;
}

.team-member img {
    width: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.team-member img:hover {
    transform: scale(1.05);
}

/* Projects */
.projects .project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.project-card {
    background-color: #111;
    overflow: hidden;
    text-decoration: none;
    color: #ccc;
    width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}
.work-in-progress {
    padding: 5rem 5%;
    text-align: center;
    background-color: #111; /* dark grey box */
    color: #ccc; /* dark grey text */
}

.work-in-progress h2 {
    font-size: 2rem;
    color: #fff; /* white heading */
    margin-bottom: 1.5rem;
}

.work-in-progress p {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 500;
}


/* Contact Section */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 5rem 5%;
    background-color: #111; /* dark grey box */
    color: #ccc;
}

/* Contact Info */
.contact-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
    font-weight: 500;
}

/* Modern Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

/* Floating Input Group */
.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.5rem 1rem;
    background-color: #222;
    border: none;
    color: #fff;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    background-color: #333;
}

/* Floating Labels */
.input-group label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    color: #777;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: #fff;
    background-color: #111;
    padding: 0 0.3rem;
}

/* Submit Button */
.contact-form button {
    padding: 1rem;
    border: none;
    background-color: #fff;
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-form button:hover {
    background-color: #ccc;
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 5%;
    background-color: #000;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .team, .projects .project-list {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        height: 60vh;
    }

    .slogan-image {
        max-width: 80%;
    }
}
