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

/* CSS Variables */
:root {
    /* Base Colors */
    --bg-primary: #191919;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --accent-lime: #DAE44E;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border-gray: rgba(161, 162, 161, 0.5);
}

html {
    overflow-x: hidden;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative; /* Needed for absolute positioning of children */
}

h1, h2, h3 {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 500;
    line-height: normal;
}

/* Container */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 60px 80px;
    position: relative;
    z-index: 1; /* Ensure content is above the body background elements */
}

/* Background Elements */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(180deg, #FF7A00 0%, #FF3A44 100%);
    z-index: 0;
}

.landing-orb {
    width: 420px;
    height: 420px;
    filter: blur(167.018px);
    left: calc(50% + 150px);
    top: 25%;
    transform: translateY(-50%);
}

.about-orb {
    width: 420px;
    height: 420px;
    filter: blur(140px);
    opacity: 0.4;
    left: -100px;
    top: calc(100vh + 200px); /* Position relative to the second section */
}

.circular-grid {
    position: absolute;
    width: 2233px;
    height: 2233px;
    left: -926px;
    top: -604.5px;
    opacity: 0.5;
    z-index: 0;
}

.geometric-bg {
    position: absolute;
    width: 1090px;
    height: 1090px;
    right: -400px;
    top: calc(100vh - 200px); /* Position relative to the second section */
    opacity: 0.1;
    z-index: 0;
}

/* Header */
.header {
    width: 100%;
}

.logo {
    width: 117px;
    height: 43px;
}

/* Landing Page Styles */
.landing-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    gap: 40px;
}

.hero-content {
    max-width: 523px;
}

.hero-heading {
    font-size: 80px;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 64px;
}

/* Features Section */
.features-section {
    margin-top: 56px;
}

.section-heading {
    font-size: 36px;
    margin-bottom: 23px;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    opacity: 0.8;
}

.feature-icon {
    font-family: 'SF Compact', -apple-system, system-ui, sans-serif;
    font-size: 20px;
    font-weight: 457.9;
    background: linear-gradient(180deg, #FF7A00 0%, #FF3A44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.15px;
}

/* Phone Mockup */
.phone-group {
    text-align: center; /* Center the image if it's smaller than the container */
}

.phone-mockup {
    width: auto;
    max-height: 594px;
    max-width: 100%;
}

/* About Page Styles */
.about-section {
    justify-content: flex-start;
}

.about-main {
    display: flex;
    flex-direction: column; /* Changed to column */
    justify-content: center;
    align-items: flex-start; /* Align items to the start */
    flex-grow: 1;
    width: 100%;
}

.about-content {
    max-width: 1281px;
    width: 100%;
}

.section-title {
    font-size: 80px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 64px;
}

.subsection-heading {
    font-size: 32px;
    margin-bottom: 21px;
}

/* Expertise Section */
.expertise-section {
    margin-bottom: 64px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 23px;
}

.expertise-item {
    display: flex;
    gap: 9px;
    flex-direction: column;
    width: 413px;
}

.bullet {
    font-size: 24px;
    line-height: 1;
    margin-top: -4px;
}

.gradient-orange-red {
    background: linear-gradient(180deg, #FF7A00 0%, #FF3A44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-title {
    font-size: 24px;
    margin-bottom: 2px;
}

.expertise-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 24px;
}

/* Industries Section */
.industries-section {
    margin-bottom: 64px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 413px;
}

.industry-icon {
    width: 64px;
    height: 64px;
}

.industry-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.industry-title {
    font-size: 24px;
}

.industry-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    margin-top: 64px;
}

.email-link {
    font-size: 36px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.email-link:hover {
    opacity: 0.8;
}

.contact-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Navigation */
.bottom-nav {
    margin-top: auto; /* Pushes nav to the bottom in a flex column */
    padding-top: 40px; /* Add some space above the nav */
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-button:hover {
    transform: scale(1.05);
}

.nav-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gradient-yellow-green {
    background: linear-gradient(180deg, #E6E345 0%, #A1EE7D 100%);
}

.nav-icon-container.gradient-orange-red {
    background: linear-gradient(180deg, #FF7A00 0%, #FF3A44 100%);
}

.nav-icon-container svg {
    width: 24px;
    height: 24px;
}

.nav-text {
    font-family: 'Albert Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

/* Footer */
.footer {
    width: 100%;
    margin-top: auto;
    padding-top: 40px;
}

.footer-info {
    margin-top: 50px;
}

.footer-text {
    font-size: 20px;
    font-weight: 500;
    text-align: end;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animation Classes */
.hero-content,
.about-content {
    animation: fadeUp 0.6s ease-out;
}

.phone-group {
    animation: scaleIn 0.4s ease-out;
}

/* Responsive Design */
@media (max-width: 767px) {
    .header {
        text-align: center;
    }

    .hero-heading {
        text-align: center;
    }

    .nav-button {
        justify-content: center;
    }

    .contact-section {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }


    .expertise-grid,
    .industries-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .hero-heading,
    .section-title {
        font-size: 60px;
    }
    
    .landing-main {
        flex-direction: column;
        text-align: center;
    }
    
    .phone-group {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 40px 20px;
    }
    
    .landing-main {
        text-align: left;
    }

    .hero-heading,
    .section-title {
        font-size: 48px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .phone-mockup {
        height: 300px;
    }
    
    .expertise-grid,
    .industries-grid {
        gap: 32px;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer-text {
        font-size: 14px;
        text-align: center;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.nav-button:focus,
.email-link:focus {
    outline: none;
    border-radius: 8px;
}

/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .gradient-orb {
        opacity: 0.2;
    }
    
    .feature-card {
        border: 1px solid var(--border-gray);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .about-content,
    .phone-group,
    .nav-button,
    .email-link {
        animation: none;
        transition: none;
    }
    
    .nav-button:hover {
        transform: none;
    }
}