/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Update specific elements to use Montserrat weights */
h1, h2, h3, .logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

p, .carousel-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.cta-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* CSS Variables */
:root {
    --primary-color: #1a2a44;
    --secondary-color: #007bff;
    --text-color: #333;
    --light-bg: #f8f8f8;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1a2a44;
    position: relative;
    width: 100%;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1002; /* Ensure logo stays above menu */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    height: 80px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: #007bff;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    display: block;
    z-index: 1;
}

.carousel-slide img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    will-change: transform;
}

.carousel-text {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 80%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    z-index: 2;
}

.carousel-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.carousel-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.carousel-text .cta-button {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

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

.service-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 10px;
}

.services-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Portfolio Section */
.portfolio-preview {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

.portfolio-grid {
    font-family: 'montserrat' sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.portfolio-item h3 {
    margin: 10px 0;
}

/* CTA Button */
.cta-button {
    font-family: "montserrat", sans-serif;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

/* Contact Section */
.contact {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #f9f9f9 0%, #e8ecef 100%); /* Subtle gradient */
    min-height: 100vh;
}

.contact h1 {
    font-size: 2.5rem;
    color: #003087; /* Navy blue */
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 1.8rem;
    color: #003087;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.contact-info i {
    color: #00a859; /* Green for sustainability */
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    max-width: 550px;
    margin: 0 auto;
    animation: slideUp 0.8s ease-out;
}

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

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #003087;
    margin-bottom: 0.5rem;
    text-align: left;
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00a859;
    box-shadow: 0 0 8px rgba(0, 168, 89, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.form-group select {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9l4-4H2z"/></svg>') no-repeat right 1rem center;
    background-size: 12px;
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.cta-button {
    display: inline-block;
    background: #00a859;
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    width: 30%;
}

.cta-button:hover {
    background: #008c4a;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: none;
}

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

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

/* Welcome Section */
.welcome-section {
    padding: 60px 20px;
    text-align: center;
    background: var(--light-bg);
    border-bottom: 1px solid #eee;
}

.welcome-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.welcome-section .company-name {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.welcome-section p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 15px;
    }

    .welcome-section h2 {
        font-size: 1.5rem;
    }

    .welcome-section .company-name {
        font-size: 1rem;
    }

    .welcome-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contact-form {
        min-width: 100%;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.6rem;
    }

    .navbar {
        flex-direction: column;
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 42, 68, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Carousel Mobile Adjustments */
    .hero {
        height: 400px;
    }

    .carousel-text {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        padding: 15px;
        margin: 0;
        right: auto;
    }

    .carousel-text h2 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .carousel-text p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .carousel-text .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .carousel-prev,
    .carousel-next {
        padding: 8px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 2rem 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .carousel-text {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        margin: 0;
        right: auto;
    }

    .carousel-text h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Footer */
footer {
    margin-top: auto;
    background: #818b9f;
    color: white;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-logo img {
    height: 150px;
    margin-top: 20px;
}

.footer-links a,
.footer-social a {
    display: inline-block;
    color: #818b9f;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-social a {
    font-size: 1.5rem;
    margin-right: 10px;
}

footer p {
    text-align: center;
    padding: 10px;
    background: #818b9f;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .carousel-slide img {
        height: 300px;
    }

    .carousel-text h2 {
        font-size: 1.5rem;
    }
}

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }        /* Navbar */
        .navbar {
            background: #1a2a44;
            color: white;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo h1 {
            font-size: 1.8rem;
            font-weight: bold;
        }

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

        .nav-links li a {
            color: white;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.3s;
        }

        .nav-links li a:hover,
        .nav-links li a.active {
            color: #ff9900;
        }

        .menu-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* About Section */
                @media (max-width: 768px) {
            .container {
                padding: 0 15px;
            }
        }

        /* Navbar */
        .navbar {
            background: #1a2a44;
            color: white;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo h1 {
            font-size: 1.8rem;
            font-weight: bold;
        }

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

        .nav-links li a {
            color: white;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.3s;
        }

        .nav-links li a:hover,
        .nav-links li a.active {
            color: #ff9900;
        }

        .menu-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* About Section */
        .about {
            max-width: 1200px;
            margin: 3rem auto;
            padding: 0 2rem;
            text-align: center;
        }

        .about h1 {
            font-family: "montserrat", sans-serif;
            font-size: 2.5rem;
            color: #1a2a44;
            margin-bottom: 1.5rem;
        }

        .about h2 {
            font-family: "montserrat", sans-serif;
            font-size: 1.8rem;
            color: #1a2a44;
            margin: 2rem 0 1rem;
        }

        .about p {
            font-family: "montserrat", sans-serif;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto 1.5rem;
            color: #555;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat();
            grid-template-rows: repeat();
            gap: 2rem;
            margin-top: 2rem;
        }

        .team-member {
            background: #f9f9f9;
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .team-member:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .team-member img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
        }

        .team-member h3 {
            font-size: 1.2rem;
            color: #1a2a44;
            margin-bottom: 0.5rem;
        }

        .team-member p {
            font-size: 1rem;
            color: #777;
        }

        /* Footer */
        footer {
            background: #818b9f;
            color: white;
            padding: 2rem 2rem 1rem;
            text-align: center;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            max-width: 1200px;
            margin: 0 auto 2rem;
            gap: 2rem;
        }

        .footer-contact,
        .footer-links,
        .footer-social {
            flex: 1;
            min-width: 200px;
        }

        .footer-content h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
        }

        .footer-contact p {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-links a {
            display: block;
            color: white;
            text-decoration: none;
            margin-bottom: 0.5rem;
            font-size: 1rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #ff9900;
        }

        .footer-social a {
            color: white;
            font-size: 1.5rem;
            margin: 0 0.5rem;
            transition: color 0.3s;
        }

        .footer-social a:hover {
            color: #ff9900;
        }

        footer > p {
            font-size: 0.9rem;
            margin-top: 1rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 60px;
                left: 0;
                background: #1a2a44;
                padding: 1rem;
            }

            .nav-links.active {
                display: flex;
            }

            .menu-toggle {
                display: block;
            }

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

            .about h2 {
                font-size: 1.5rem;
            }

            .team-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            }

            .team-member img {
                width: 120px;
                height: 120px;
            }
        }