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

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

main {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Container for centered content */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 30px 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
}

/* Add padding to sections to account for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

footer .logo {
    font-size: 32px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    margin: 0 auto;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    font-weight: 400;
    color: white;
    font-size: 16px;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    color: white;
}

.location-selector {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.location-selector span {
    margin-right: 5px;
}

.location-selector::before {
    content: '🌐';
    margin-right: 8px;
}

.get-in-touch {
    display: flex;
    align-items: center;
}

.get-in-touch::after {
    content: '→';
    margin-left: 5px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    color: #fff;
    border: 1px solid #fff;
    text-transform: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn:hover {
    background-color: #fff;
    color: #000;
}

/* Hero Section */
.hero {
    height: 65vh;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    background-color: #000;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/neeqolah-creative-works-A2kyFEwh3zo-unsplash.jpg');
    background-size: cover;
    background-position: center top;
    opacity: 0.75;
    filter: brightness(0.6) contrast(1.15);
    z-index: 1;
}

.hero .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-end;
}

.hero-heading {
    font-size: 72px;
    font-weight: 700;
    max-width: 600px;
    color: #4ade80; /* Green color */
    text-align: left;
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    align-self: flex-end;
}

.scroll-indicator {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.scroll-indicator::after {
    content: '↓';
    margin-left: 5px;
}

/* Proof Points Section */
.proof-points.alt {
    background-color: rgba(0,0,0,0.95);
    padding: 30px 50px;
    color: white;
    position: relative;
    z-index: 5;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.proof-points.alt .proof-container {
    max-width: 900px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.proof-points.alt .proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proof-points.alt .proof-number {
    font-size: 36px;
    font-weight: 700;
    color: #4ade80; /* Green accent color */
    margin-bottom: 5px;
    line-height: 1;
}

.proof-points.alt .proof-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.proof-points.alt .proof-details {
    max-width: 800px;
    margin: 0 auto;
    font-size: 15px;
    opacity: 0.7;
}

/* About Section */
.about {
    padding: 160px 50px 160px;
    position: relative;
}

.about-us {
    color: #4ade80;
    font-size: 18px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.about h2 {
    font-size: 120px;
    margin-bottom: 80px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.about-image {
    background-image: url('../images/ridho-ibrahim-4KzwdaUQF3A-unsplash.jpg');
    height: 480px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #777777;
}

.about .btn {
    border-color: #000;
    color: #000;
    font-weight: 600;
    padding: 12px 30px;
    margin-top: 10px;
    font-size: 16px;
    align-self: flex-start;
}

.about .btn:hover {
    background-color: #000;
    color: #fff;
}

/* Section Separator */
.section-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(74, 222, 128, 0.5), transparent);
    margin: 20px 0;
    position: relative;
    width: 100%;
}

.section-separator::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 5px;
    background-color: #4ade80;
    left: 50%;
    top: -2px;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Footer Separator */
.footer-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    width: 100%;
}

.footer-separator::before {
    display: none;
}

/* Services Section */
.services {
    padding: 160px 50px 180px;
    background-color: #fff;
    position: relative;
}

/* Mobile scroll indicator removed */

.services-header {
    color: #4ade80;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: left;
}

.services h2 {
    font-size: 100px;
    margin-bottom: 70px;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: left;
}

.services-container {
    position: relative;
    margin-top: 70px;
    display: flex;
    align-items: center;
}

.services-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: calc(350px * 4 + 30px * 3); /* Show exactly 4 cards */
    margin-left: 0;
    margin-right: auto;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
}

.services-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.services-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    margin-left: 20px;
    color: #333;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.services-arrow:hover {
    background-color: #4ade80;
    color: white;
    border-color: #4ade80;
}

.service-item {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    flex: 0 0 350px;
    max-width: 350px;
    scroll-snap-align: start;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #4ade80;
    transition: height 0.3s ease;
}

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

.service-item:hover::before {
    height: 100%;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-item p {
    font-size: 16px;
    color: #888888;
    line-height: 1.6;
}

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

.service-tags {
    display: none; /* Hidden initially */
}

/* View all button removed from services section */

/* Work Section */
.work {
    padding: 160px 50px 160px;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.work-header {
    color: #4ade80;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.work h2 {
    font-size: 100px;
    margin-bottom: 70px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.work p {
    font-size: 20px;
    max-width: 800px;
    margin-bottom: 70px;
    line-height: 1.6;
}

.accordion-container {
    max-width: 1200px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: -1px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.accordion-header {
    padding: 40px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.accordion-header::after {
    content: '+';
    font-size: 40px;
    color: #fff;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-header h3 {
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 40px 0 0;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    opacity: 1;
    padding-bottom: 40px;
}

.accordion-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Minimal statement removed */

.work-cta {
    display: inline-block;
    padding: 20px 40px;
    background-color: #4ade80;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    border-radius: 4px;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.work-cta:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* Careers Section */
.careers {
    padding: 0;
    position: relative;
    height: 90vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.careers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/samuel-ramos-6AIMvLGLI1M-unsplash.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    filter: brightness(0.4) contrast(1.1);
    z-index: 1;
}

.careers .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin: 0 auto;
    width: 100%;
}

.careers-header {
    color: #4ade80;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.careers h2 {
    font-size: 90px;
    margin-bottom: 80px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.1;
}

.careers-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.careers-link {
    padding: 20px 30px;
    border: 1px solid #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}

.careers-link:hover {
    background-color: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
}

.careers-link-text {
    font-size: 18px;
    font-weight: 500;
}

.careers-link-arrow {
    font-size: 24px;
}

/* CTA Section */
.cta {
    padding: 180px 50px 60px;
    background-color: #000;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.cta h2 {
    font-size: 100px;
    margin-bottom: 70px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 .highlight {
    color: #4ade80;
}

.cta .btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 500;
}


/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 0 0 0;
    margin-top: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 60px;
    margin-bottom: 60px;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.brave-company {
    display: flex;
    align-items: center;
    margin-top: 15px;
    color: #999;
    font-size: 14px;
}

.brave-logo {
    height: 20px;
    margin: 0 5px;
}

.footer-nav {
    display: flex;
    align-items: center;
}

.footer-menu {
    display: flex;
    gap: 30px;
}

.footer-menu li a {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.footer-menu li a:hover {
    color: #4ade80;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #666;
    font-size: 13px;
    font-weight: 300;
}

.careers-highlight a {
    color: #888;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s ease;
}

.careers-highlight a:hover {
    color: #4ade80;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-heading {
        left: 40px;
    }
    .about h2, .services h2, .work h2, .careers h2, .cta h2 {
        font-size: 60px;
    }
    
    .statement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        width: calc(300px * 3 + 30px * 2); /* Show 3 cards on tablet */
    }
    
    .service-item {
        flex: 0 0 300px;
        max-width: 300px;
    }
    
    .work-item {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-heading {
        left: 30px;
    }
    
    .careers h2 {
        font-size: 60px;
        white-space: normal; /* Allow wrapping on mobile */
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        height: 350px;
    }
    
    .about-text {
        padding-top: 0;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .footer-menu {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .accordion-container {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .accordion-header {
        padding: 30px 0;
    }
    
    .accordion-header h3 {
        font-size: 28px;
    }
    
    .accordion-header::after {
        font-size: 30px;
    }
    
    .accordion-content {
        padding-right: 30px;
    }
    
    .accordion-content p {
        font-size: 16px;
    }
    
    .work-cta {
        padding: 16px 30px;
        font-size: 16px;
        margin-top: 20px;
    }
    header {
        padding: 20px;
    }
    
    .nav-wrapper {
        flex-direction: column;
    }
    
    .nav-links {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-right {
        flex-direction: column;
        align-items: center;
    }
    
    .location-selector {
        margin: 10px 0;
        margin-right: 0;
    }
    
    .hero {
        padding: 0 20px 20px;
        height: 60vh;
        min-height: 450px;
    }
    
    .proof-points.alt {
        padding: 25px 20px;
    }
    
    .proof-points.alt .proof-container {
        flex-wrap: wrap;
    }
    
    .proof-points.alt .proof-item {
        width: 50%;
        margin-bottom: 15px;
    }
    
    .about {
        padding: 90px 20px 100px;
    }
    
    .services, .work {
        padding: 90px 20px 100px;
    }
    
    .services-grid {
        width: 100%;
    }
    
    .services-arrow {
        display: none; /* Hide arrow on mobile */
    }
    
    .hero-heading {
        font-size: 42px;
        left: 20px;
        max-width: 80%;
    }
    
    .about h2, .services h2, .work h2, .careers h2, .cta h2 {
        font-size: 48px;
    }
    
    .about-us, .services-header, .work-header, .careers-header {
        font-size: 16px;
    }
    
    .services-grid {
        gap: 15px;
    }
    
    /* Mobile scroll indicator removed */
    
    .service-item {
        padding: 25px;
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .service-item h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .work-title {
        font-size: 28px;
    }
    
    .insight-image {
        width: 100px;
        height: 100px;
        margin-right: 20px;
    }
    
    .insight-title {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-heading {
        left: 20px;
    }
    .hero h1 {
        font-size: 30px;
        bottom: 80px;
    }
    
    .about h2, .services h2, .work h2, .careers h2, .cta h2 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 20px 0;
    }
    
    .accordion-header h3 {
        font-size: 24px;
    }
    
    .accordion-header::after {
        font-size: 24px;
    }
    
    .accordion-content p {
        font-size: 15px;
        line-height: 1.5;
    }
}