* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    position: relative;
    min-height: 100vh;
}

/* Navigation Menu Styles */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
    background: transparent;
}

.nav-menu.scrolled {
    background-color: #1C242C;
    box-shadow: 0 1px 24px 1px #11161B;
}

.nav-logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1C242C;
    transition: color 0.5s ease;
    letter-spacing: 0.5px;
}

.nav-menu.scrolled .nav-links a {
    color: #FFFFFF;
    font-weight: 300;
}

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

.nav-links a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-links a.contact-button {
    padding: 10px 20px;
    border: 1px solid #D8C89D;
    border-radius: 5px;
    background: transparent;
    transition: background-color 0.3s ease, color 0.5s ease;
}

.nav-links a.contact-button:hover {
    background-color: rgba(216, 200, 157, 0.2);
    opacity: 1;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 11px;
    }
    
    .nav-links a.contact-button {
        padding: 8px 12px;
    }
}

@media (max-width: 600px) {
    .nav-menu {
        padding: 0 0.5rem;
    }
    
    .nav-logo {
        height: 50px;
        width: 50px;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
    
    .nav-links a.contact-button {
        padding: 6px 10px;
    }
}

/* Fixed positioned layer for hero background - works reliably on iOS */
.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    background-image: url('index/heroback.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.herotext {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: transparent;
    opacity: 0;
    transform: scale(1.5);
    animation: shrinkIn 2.5s ease-out forwards;
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
}

.herotext h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

@keyframes shrinkIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile hero background */
@media (max-width: 600px) {
    .hero::before {
        background-image: url('index/heromobileback.webp');
    }
}

.intro {
    min-height: 600px;
    background: #FFFFFF;
    padding: 50px 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.introtitle {
    margin: 50px 0;
    font-size: 36px;
    font-weight: 400;
    color: #1C242C;
}

.introtext1,
.introtext2 {
    font-size: 18px;
    color: #1C242C;
    line-height: 1.6;
}

.introtext1 {
    max-width: 800px;
}

.intro-divider {
    width: 50px;
    border-top: 1px solid #D8C89D;
    margin: 50px 0;
}

.introtext2 {
    max-width: 700px;
}

.standardbutton {
    padding: 12px 24px;
    box-sizing: border-box;
    border: 1px solid #D8C89D;
    border-radius: 5px;
    background: transparent;
    color: #1C242C;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 50px;
    white-space: nowrap;
}

.standardbutton:hover,
.standardbutton:focus {
    background: #1C242C;
    color: #FFFFFF;
}

.herobutton {
    min-width: 170px;
    padding: 12px 24px;
    border: 1px solid #D8C89D;
    border-radius: 5px;
    background: rgba(28, 36, 44, 0.3);
    color: #FFFFFF;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 50px;
    white-space: nowrap;
}

.herobutton:hover,
.herobutton:focus {
    background: #1C242C;
    color: #FFFFFF;
    border-color: rgba(216, 200, 157, 0.5);
}

.introconsulting {
    min-height: 700px;
    background: #1C242C;
    padding: 50px 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.consulting-title {
    font-size: 36px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 60px;
    font-family: 'Raleway', sans-serif;
}

.consulting-cards {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

.consulting-card {
    min-width: 200px;
    max-width: 280px;
    height: 350px;
    flex: 1 1 280px;
    background: #2A3440;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 4px 4px 16px 2px #131920;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
}

.card-icon {
    font-size: 60px;
    color: #D8C89D;
    margin-bottom: 20px;
    line-height: 1;
    font-family: 'Raleway', sans-serif;
}

.card-title {
    font-size: 24px;
    font-weight: 300;
    margin: 20px 0;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

.card-text {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
}

/* Tablet: force 2x2 layout */
@media (max-width: 1000px) and (min-width: 600px) {
    .consulting-card {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
        min-width: 250px;
    }
}

/* Mobile: stack vertically */
@media (max-width: 599px) {
    .consulting-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.consulting-footer {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.consulting-footer p {
    font-size: 20px;
    line-height: 1.6;
    color: #FFFFFF;
    max-width: 800px;
    font-family: 'Raleway', sans-serif;
}

.consulting-button {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.consulting-button:hover,
.consulting-button:focus {
    background: #FFFFFF;
    color: #1C242C;
}

.services {
    background: #FFFFFF;
    padding: 80px 1.5rem;
    display: flex;
    justify-content: center;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
}

.service-card {
    min-width: 280px;
    max-width: 350px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 700; /* Bold */
    color: #1C242C;
    margin-bottom: 15px;
    min-height: 60px; /* Fixed height for 2 lines (24px × 2 + some spacing) */
    display: flex;
    align-items: flex-start;
}

.service-text {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 300; /* Thin */
    color: #1C242C;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive breakpoints for service cards */
@media (max-width: 1000px) and (min-width: 600px) {
    .service-card {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 599px) {
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Results & Market Experience Section with Parallax */
.results-market {
    position: relative;
    min-height: 600px;
    background-image: url('index/marketback.webp');
    background-attachment: fixed; /* Creates parallax effect */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px 2rem;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.results-title {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 80px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 100%;
    margin-bottom: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    flex: 1 1 200px;
}

.stat-number {
    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #D8C89D;
    margin-bottom: 20px;
}

.stat-divider {
    width: 50px;
    border-top: 2px solid #D8C89D;
    margin-bottom: 20px;
}

.stat-label {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Mobile: disable parallax for better performance */
@media (max-width: 768px) {
    .results-market {
        background-attachment: scroll;
    }
    
    .results-title {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .stats-container {
        gap: 40px;
    }
}
