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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background-color: #fff;
}

/* Navigation */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: white;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 3px;
}

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

.nav-links a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
}

.nav-links a:hover {
    color: #0b9eac;
}

/* Hero Section */


.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 80px 8%;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url("images/pic1.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: background-image 0.5s ease;
}


.hero-content {
    max-width: 650px;
    color: white;
}

.subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-content p {
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: white;
    color: #222;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #0b9eac;
    color: white;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: 70vh;
    }
}

/* About Us Section */

.about {
    padding: 110px 8%;
    background-color: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: #0b9eac;
    margin-bottom: 20px;
}

.about-heading h2 {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2;
}

.about-text h3 {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 20px;
}

.about-link {
    display: inline-block;
    margin-top: 15px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #0b9eac;
    padding-bottom: 8px;
}

.about-link:hover {
    color: #0b9eac;
}

/* Mobile Layout */

@media (max-width: 768px) {
    .about {
        padding: 65px 6%;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-heading h2 {
        font-size: 38px;
    }
}

/* Services Section */

.services {
    padding: 100px 8%;
    background-color: #f8f8f8;
}

.services-heading {
    text-align: center;
    margin-bottom: 60px;
}

.services-heading h2 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

.services-heading > p:last-child {
    color: #666;
    font-size: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.service-card span {
    color: #0b9eac;
    font-size: 14px;
}

.service-card h3 {
    font-size: 21px;
    font-weight: 500;
    margin: 25px 0 15px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

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

@media (max-width: 600px) {
    .services {
        padding: 65px 6%;
    }

    .services-heading h2 {
        font-size: 36px;
    }

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

/* Projects Section */

.projects {
    padding: 110px 8%;
    background-color: white;
}

.projects-heading {
    margin-bottom: 50px;
}

.projects-heading h2 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

.projects-heading > p:last-child {
    color: #666;
    font-size: 15px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    overflow: hidden;
}

.project-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
}

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

.project-info {
    padding: 20px 0;
}

.project-info h3 {
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 8px;
}

.project-info p {
    color: #777;
    font-size: 14px;
}

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

@media (max-width: 600px) {
    .projects {
        padding: 65px 6%;
    }

    .projects-heading h2 {
        font-size: 36px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
 
/* Footer */

.footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    font-size: 13px;
    margin: 5px 0;
    color: #ccc;
}

/* Scroll Animations */

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease,
                transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Pinwheel Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #222;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 3px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo span {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .logo {
        font-size: 21px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }
}

/* Contact Section */

.contact {
    padding: 110px 8%;
    background-color: #f8f8f8;
}

.contact-heading {
    margin-bottom: 60px;
}

.contact-heading h2 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

.contact-heading > p:last-child {
    color: #666;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 20px;
}

.contact-info h4 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #0b9eac;
}

.contact-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* Contact Form */

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
    background-color: white;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0b9eac;
}

.contact-form button {
    background-color: #222;
    color: white;
    padding: 16px 30px;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #0b9eac;
}

/* Mobile */

@media (max-width: 768px) {
    .contact {
        padding: 65px 6%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-heading h2 {
        font-size: 36px;
    }
}

