/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #1a2332;
    --dark-blue: #2c3e50;
    --accent-green: #a4d65e;
    --accent-green-dark: #8bc34a;
    --accent-yellow: #d4e157;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header and Navigation */
.site-header {
    background: var(--navy-blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    position: relative;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.05);
}

.navbar-brand {
    position: relative;
    z-index: 1001;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.btn-contact {
    background: var(--accent-green);
    color: var(--navy-blue) !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 5px;
    font-weight: 600;
}

.btn-contact:hover {
    background: var(--accent-yellow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 150px 2rem 100px;
    text-align: center;
}

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

.hero .tagline {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--accent-green);
    color: var(--navy-blue);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid var(--accent-green);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-green);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: var(--accent-green);
    margin: 0 auto 2rem;
}

/* Services Section */
.services-section {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--accent-green);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text h3 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    gap: 2rem;
}

.team-member {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-green);
}

.team-member h4 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
    background: var(--light-gray);
}

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

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.project-header {
    background: linear-gradient(135deg, var(--navy-blue), var(--dark-blue));
    padding: 2rem;
    color: var(--white);
}

.project-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-tag {
    display: inline-block;
    background: var(--accent-green);
    color: var(--navy-blue);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-body {
    padding: 2rem;
}

.project-body p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    color: var(--medium-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li:before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Page */
.contact-page {
    min-height: 60vh;
    padding-top: 100px;
}

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

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
}

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

.form-group label {
    display: block;
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
}

.btn-submit {
    background: var(--accent-green);
    color: var(--navy-blue);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
}

.text-danger {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
}

.contact-item {
    margin: 2rem 0;
}

.contact-item h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--navy-blue);
}

.contact-item p {
    color: var(--medium-gray);
}

/* Footer */
.site-footer {
    background: var(--navy-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.site-footer p {
    margin-bottom: 0.5rem;
}

/* Footer Enhanced */
.site-footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-column h3 {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.8;
}

.footer-column ul li a:hover {
    color: var(--accent-green);
    opacity: 1;
}

.footer-column p {
    opacity: 0.8;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-green);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--navy-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

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

    .hero .tagline {
        font-size: 1.2rem;
    }

    .hero {
        padding: 120px 2rem 80px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}
