/* Global Styles */
:root {
    --primary: #446B1D;
    --secondary: #C6DF85;
    --text-dark: #363334;
    --text-light: #FFFFFF;
    --background: #FFFFFF;
    --black: #000000;
    --accent: #1E4B8D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.nav-tools {
    display: flex;
    gap: 1rem;
}

.nav-tools button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-tools button:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 5% 3rem;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(68, 107, 29, 0.85), rgba(30, 75, 141, 0.85));
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    max-width: 700px;
    color: var(--text-light);
    padding: 1rem 0;
}

.tag {
    display: inline-block;
    background: var(--text-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--text-light);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 5% 3rem;
        min-height: 70vh;
    }

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

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
    }

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

    .hero p {
        font-size: 0.95rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--background);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary);
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    flex: 1;
    min-width: 260px;
    max-width: 300px;
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-list {
    list-style: none;
    margin: 0;
    flex-grow: 1;
}

.service-list li {
    margin: 0.6rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.service-list li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-note {
    margin-top: 1rem;
    font-style: italic;
    color: var(--accent);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-card {
        flex: 0 1 calc(50% - 2rem);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 5%;
    }

    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .service-card {
        flex: 0 1 100%;
        margin-bottom: 1.5rem;
    }

    .service-card:last-child {
        margin-bottom: 0;
    }
}

/* About Section */
.about {
    position: relative;
    padding: 6rem 5%;
    background: url('vecteezy_rear-view-of-asian-female-engineer-in-reflective-clothing_7424124-min.jpg') no-repeat center center;
    background-size: cover;
    color: var(--text-light);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 700px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    backdrop-filter: blur(5px);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 5%;
    }

    .about-text {
        padding: 1.5rem;
    }

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

    .about p {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--background);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
}

.contact-item .info h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item .info p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.4;
}

/* Remove old contact form styles */
#contact-form {
    display: none;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin: 0.5rem 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
}

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

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }

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

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

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

    .about-image {
        order: -1;
    }

    .hexagon-grid {
        gap: 2rem;
    }
    
    .hexagon-card {
        width: 260px;
        height: 300px;
        margin: 0.5rem;
    }
    
    .hexagon-content {
        padding: 1.5rem;
    }
    
    .hexagon-content h3 {
        font-size: 1.2rem;
    }
    
    .hexagon-content p {
        font-size: 0.9rem;
        max-width: 180px;
    }
    
    .icon-group i,
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .massq-logo img {
        width: 100px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .services {
        padding: 4rem 5%;
    }

    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card i {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-list li {
        font-size: 0.9rem;
    }
} 