/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fff;
    --background-color: #000;
    --accent-color: #333;
    --text-color: #fff;
    --max-width: 1200px;
    --border-radius: 4px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

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

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

.nav-links a:hover {
    opacity: 0.8;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    padding: 2rem;
    background-color: var(--background-color);
    z-index: 1000;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    font-size: 1.2rem;
    transition: opacity 0.3s;
}

.mobile-menu a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--text-color);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--accent-color);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

#services {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

#services .section-container {
    position: relative;
    z-index: 1;
}

#services h2 {
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    max-width: 800px;
    text-align: center;
}

/* Services Grid */
/* About section specific styles */
#about {
    position: relative;
    padding-bottom: 0;
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-features {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4rem 2rem;
    margin: 4rem -2rem 0;
    position: relative;
}

.about-features::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

#about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--background-color));
    pointer-events: none;
}

#about .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

#about .service-card {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 280px;
    transition: all 0.3s ease;
}

#about .service-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

#about .service-card h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin: 0 0 1rem;
    font-weight: 600;
}

#about .service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

#about .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background-color: transparent;
    color: var(--text-color);
    padding: 0;
}

#about .service-card:hover .service-icon {
    color: var(--text-color);
    transform: scale(1.1);
}

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

@media (max-width: 640px) {
    #about .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Services section grid */
#services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
    width: 100%;
}

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

@media (max-width: 640px) {
    #services .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Add margin to the services section heading */
#services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Adjust section tag in services */
#services .section-tag {
    margin: 0 auto 1rem;
    display: table;
}

.service-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: #000;
    padding: 1rem;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #0066ff;
    background-color: #e9ecef;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.service-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 300px;
}

/* Industries Section */
#industries {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

#industries .section-container {
    position: relative;
    z-index: 1;
}

#industries h2 {
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    max-width: 800px;
    text-align: center;
}

#industries .section-tag {
    margin: 0 auto 1rem;
    display: table;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
    width: 100%;
}

.industry-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.industry-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.industry-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.industry-content h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.industry-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
}

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

@media (max-width: 640px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
#testimonials {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

#testimonials .section-container {
    position: relative;
    z-index: 1;
}

#testimonials h2 {
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    max-width: 800px;
    text-align: center;
}

#testimonials .section-tag {
    margin: 0 auto 1rem;
    display: table;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
    width: 100%;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-color);
}

.testimonial-author h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive styles for testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    #testimonials h2 {
        font-size: 2rem;
    }
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.form-group {
    display: flex;
    gap: 1rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid var(--text-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #fff;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background-color: transparent;
    border: 2px solid var(--text-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--accent-color);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
    }

    .mobile-menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--text-color);
        margin: 2px 0;
        transition: all 0.3s ease;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

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

    /* Strengthen the hamburger to X animation */
    .mobile-menu-button.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}
