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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #121212;
}



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

/* Add these styles for the hamburger menu */
.hamburger {
    order: 3;
    margin-left: auto;
    display: none;
    /*flex-direction: column;*/
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #121212;
    margin: 4px 0;
    transition: 0.3s;
}

.logo {
    order: 1;
    font-family: 'REM', sans-serif;
    font-size: 2rem;
    font-weight: 400;
}

.logo a {
    text-decoration: none;
    font-family: 'REM', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    color: #121212;
}

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

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

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

/* Hero Section */
.hero {
    height: 70vh;
    /*background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)),
                url('./img/hero-0.jpg') center/cover;*/
    background: url('./img/hero-0.jpg') center/cover;
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #121212;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #121212;
    color: #FAFAFA;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #12121299;
    color: #FAFAFA;
}

.cta-button-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin-left: 2rem;
    background: transparent;
    border: 1px solid #121212;
    outline-offset: -1px;
    color: #121212;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s;
}

.cta-button-secondary:hover {
    border: 1px solid #12121299;
    color: #12121299;
}

.cta-button-white {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid #FAFAFA;
    outline-offset: -1px;
    color: #FAFAFA;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s;
}

.cta-button-white:hover {
    border: 1px solid #FAFAFA99;
    color: #FAFAFA99;
}

.cta-button-white-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #FAFAFA;
    color: #121212;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s;
}

.cta-button-white-secondary:hover {
    background: #FAFAFA99;
    color: #12121299;
}

/* Solutions Section */
.solutions {
    max-width: 100%;
    background: #121212;
    color: #fafafa;
    margin: 0 auto;
}

.solutions-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;  /* Add flex display */
    align-items: center;  /* Vertically center content */
    position: relative;
    margin: 0 auto;
}

.solutions-right {
    padding: 5rem;
    max-width: 720px;
    margin: 0 auto; 
    overflow: hidden;
    flex: 1;  /* Take up half the space */
}

.solutions-right-img {
    max-width: 720px;
    margin: 0 auto; 
    overflow: hidden;
    flex: 1;  /* Take up half the space */
}

.solutions-right-img picture,
.solutions-right-img img {
    display: block;
    width: 120%;  /* Exactly half of viewport width */
    height: 50vh;
    object-fit: cover;
    object-position: left;
    transform: scale(1.0);  /* 1.2 = 20% zoom, adjust as needed */
}

.solutions-right p {
    font-size: 1.2rem;
}

.solutions h2-main {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fafafa;
}
.solutions h3-main {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fafafa99;
}

.solutions-left {
    max-width: 720px;
    margin: 0 auto; /* Push content to the left */
    padding: 5rem;
    flex: 1; 
}

.solutions-left p {
    position: relative;
    font-size: 1.2rem;
    padding-left: 1rem;  /* Space between line and text */
}

.solutions-left p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: #fafafa;
}


/* Services Section */
.services {
    padding: 5rem;
    max-width: 1440px;
    margin: 0 auto;
}

.services h2 {
    text-align: left;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;  /* Add flex display */
    align-items: center;  /* Vertically center content */
}

.service-card {
    width: 40rem;
    height: 32rem;
    min-width: 500px;  /* Minimum width in pixels */
    max-width: 100%;   /* Never wider than container */
    background-color: #121212;
    border-radius: 16px;
    text-align: center;
    overflow: hidden; /* image containment */
    padding: 2rem;
}

.service-card h2 {
    font-size: 1.5rem;
    color: #fafafa;
    margin: 0;
    margin-bottom: 1rem;
}

.service-card img {
    padding-top: 2rem;
    height: 35vh;
}

.bento-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 0rem;
    margin-top: 0rem;
}

.bento-box {
    flex: 1;
    background: #212121;
    padding: 1rem;
    border-radius: 8px;
    color: #FAFAFA;
}

.bento-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.bento-row:last-child {
    margin-bottom: 0;
}

.dim-text {
    opacity: 0.6;
}

/* Content White Section */
.content-white {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 15rem;
    padding-right: 15rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.content-white-content p {
    font-size: 1.2rem;
    color: #121212;
    opacity: 0.8;
}

/* Career Section */
.career {
    max-width: 100;
    background: #121212;
    color: #fafafa;
}

.career-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 5rem;
}

.career-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-right {
    max-width: 720px;
    margin: 0 auto; /* Push content to the left */
    padding-left: 10rem;

}

.career h2 {
    font-size: 2.5rem;
    font-weight: 500;
}

.career p {
    font-size: 1.2rem;
}

.career-left {
    max-width: 720px;
    margin: 0 auto; /* Push content to the left */
}

.career-left img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    outline: 1px solid #fafafa;
    outline-offset: -1px;
    object-position: left;
}

/* About Section */
.about {
    max-width: 100%;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    color: #121212;
    opacity: 0.8;
}

.about-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 5rem;
}

/* Footer */
footer {
    background: #121212;
    color: #fafafa;
    padding: 5rem 5% 2rem 5%;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.footer-column h2 {
    font-size: 1.2rem;
}

.footer-column a {
    color: #fafafa;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 1.2rem;
}

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

.footer-column p {
    margin: 0;
    font-size: 1.2rem;
}

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

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.8rem;
    color: #FAFAFA99;
}

.white-bg-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
                url('./img/background-1.png') center/cover fixed;
}


/* Performance Data Year on Year Chart */
.chart-container {
    background-color: #121212;
    width: 100%;
    max-width: 40vh;
    height: 300px;
    margin: 0 auto;
}
.area {
    fill: #fafafa;
    opacity: 1;
}
.line {
    fill: none;
    stroke: #fafafa;
    stroke-width: 2;
}
.axis-label {
    fill: #fafafa;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

/* Tooltip */
.tooltip {
    position: absolute;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 4px;
    pointer-events: none;
    font-family: Arial, sans-serif;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hover-line {
    stroke: #666;
    stroke-width: 1px;
    stroke-dasharray: 3,3;
}

.hover-point {
    fill: #fafafa;
    stroke: #fafafa;
    stroke-width: 2;
}



/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        padding: 1rem;
    }

    .nav-links {
        /*margin-top: 1rem;
        gap: 1rem;*/
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

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

    .nav-links li {
        margin: 1rem 0;
    }

    /* Hamburger animation */
    .hamburger {
        display: flex;
        flex-direction: column;
        
    }

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

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

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .bento-container {
        flex-direction: column;  /* Stack vertically */
        gap: 0.5rem;  /* Reduce gap between stacked boxes */
    }
    
    .bento-box {
        width: 100%;  /* Ensure full width */
    }

    .career-container {
        padding: 3rem 2rem;  /* Reduce padding on mobile */
    }

    .career-content {
        flex-direction: column;  /* Stack items vertically */
        gap: 2rem;  /* Add space between stacked items */
    }

    .career-right {
        max-width: 100%;  /* Full width on mobile */
        padding-left: 0;  /* Remove left padding */
        text-align: center;  /* Center text on mobile */
        order: 2;  /* Move text below image */
    }

    .career-left {
        max-width: 100%;  /* Full width on mobile */
        order: 1;  /* Move image above text */
    }

    .career h2 {
        font-size: 2rem;  /* Slightly smaller heading on mobile */
    }

    .career p {
        font-size: 1.1rem;  /* Slightly smaller text on mobile */
    }

    .career-left img {
        height: auto;  /* Let height adjust automatically */
        max-height: 400px;  /* Maximum height on mobile */
    }

    .about-stats {
        flex-direction: column;
    }

    footer {
        padding: 3rem 5% 2rem 5%;
    }

    .footer-columns {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .footer-column {
        align-items: center;
    }

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

    .social-links a {
        margin: 0 0.5rem;
    }

    .solutions-content {
        flex-direction: column;
    }
    
    .solutions-right {
        width: 100%;
    }

    .solutions-right-img {
        max-width: 100%;
        flex: none;
        margin: 0;
    }

    .solutions-right-img img {
        /* Mobile-specific styles if needed */
         height: auto; /* Override desktop height */
    }

    .solutions-left {
        width: 100%;
    }

    .services-grid {
        flex-direction: column;  /* Stack cards vertically */
        gap: 2rem;              /* Adjust gap between stacked cards */
    }
    
    .service-card {
        background-color: #121212;
        width: 100%;            /* Take full width on mobile */
        height: 100%;
    }
    
    .service-card img {
        width: 80%;            /* Make images full width on mobile */
    }

    .content-white {
        padding: 5rem;
    }

    .white-bg-wrapper {
        background-attachment: scroll;  /* Explicitly set scroll for mobile */
        background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
                    url('./img/background-1-mobile.png') center/cover;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        text-align: center;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        font-size: 0.8rem;
    }
} 