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

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #000;
    line-height: 1.6;
    background: #fff;
}

/* Top Bar */
.top-bar {
    background: #f5f5f5;
    padding: 10px 24px;
    font-size: 13px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    color: #000;
}

.logo-image {
    width: 85px;
    height: 85px;
    padding: 5px 5px 5px 5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.6;
}

.mobile-menu {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero with Image */
.hero-image-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

/* Default Hero Content (for all pages WITHOUT hero-content-wrapper) */
.hero-image-section > .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 140px 60px;
    color: #fff;
}

/* Hero Content Wrapper (ONLY for homepage with image layout) */
.hero-image-section .hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 140px 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Hero Content inside Wrapper (specific to image layout ONLY) */
.hero-image-section .hero-content-wrapper .hero-content {
    flex: 1;
    max-width: 650px;
    padding: 0;
    margin: 0;
    position: static;
}

.hero-image-section .hero-content-wrapper .hero-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-section .hero-content-wrapper .hero-image img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-label {
    color: #FFD100;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    max-width: 800px;
    letter-spacing: -1.5px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.5;
    font-weight: 400;
}

.btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    background: #fff;
    color: #000;
}

.btn:hover {
    background: #FFD100;
}

/* Content Section */
.content-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 60px;
}

.content-section.gray {
    background: #f5f5f5;
}

.content-section.black {
    background: #000;
    color: #fff;
}

h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.intro-text {
    font-size: 22px;
    color: #5a5a5a;
    margin-bottom: 48px;
    max-width: 900px;
    line-height: 1.6;
    font-weight: 400;
}

.black .intro-text {
    color: #ccc;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.image-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.image-card:hover {
    transform: scale(1.02);
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,209,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    color: #fff;
    z-index: 2;
}

.image-overlay h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.image-overlay p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    font-size: 64px;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.black .stat-item h3 {
    color: #FFD100;
}

.stat-item p {
    font-size: 18px;
    color: #5a5a5a;
    font-weight: 500;
}

.black .stat-item p {
    color: #ccc;
}

/* Feature with Image */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 80px;
}

.feature-image {
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,209,0,0.05) 0%, transparent 70%);
}

.feature-content {
    padding: 80px 60px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.black .feature-content {
    background: #1a1a1a;
}

.feature-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.feature-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #5a5a5a;
    margin-bottom: 20px;
}

.black .feature-content p {
    color: #ccc;
}

/* Text Block */
.text-block {
    margin-bottom: 40px;
}

.text-block h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.black .text-block h4 {
    color: #fff;
}

.text-block p {
    font-size: 18px;
    line-height: 1.7;
    color: #5a5a5a;
    margin-bottom: 16px;
}

.black .text-block p {
    color: #ccc;
}

/* Professional List */
.professional-list {
    margin-top: 32px;
    list-style: none;
}

.professional-list li {
    font-size: 18px;
    color: #5a5a5a;
    margin-bottom: 20px;
    padding-left: 32px;
    position: relative;
    line-height: 1.6;
}

.professional-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 700;
    font-size: 24px;
}

.black .professional-list li {
    color: #ccc;
}

.black .professional-list li::before {
    color: #FFD100;
}

/* Yellow Banner */
.yellow-banner {
    background: #FFD100;
    padding: 100px 60px;
    text-align: center;
}

.yellow-banner h2 {
    color: #000;
    margin-bottom: 24px;
}

.yellow-banner p {
    font-size: 20px;
    color: #000;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 80px 60px 40px;
}

.footer-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 14px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

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

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .two-column, .feature-split {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px;
    }

    .content-section {
        padding: 60px 30px;
    }

    /* ONLY affect homepage hero with image wrapper */
    .hero-image-section .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 100px 30px;
    }
    
    .hero-image-section .hero-content-wrapper .hero-content {
        max-width: 100%;
    }
    
    .hero-image-section .hero-content-wrapper .hero-image img {
        width: 300px !important;
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    /* ONLY affect homepage hero with image wrapper */
    .hero-image-section:has(.hero-content-wrapper) {
        height: auto;
        min-height: 600px;
    }

    .hero-image-section .hero-content-wrapper {
        padding: 60px 24px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-image-section .hero-content-wrapper .hero-image img {
        width: 280px !important;
        height: 280px !important;
    }

    h2 {
        font-size: 32px;
    }

    .intro-text {
        font-size: 18px;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-card {
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .content-section {
        padding: 50px 20px;
    }

    .yellow-banner {
        padding: 60px 24px;
    }

    .stat-item h3 {
        font-size: 48px;
    }

    .feature-image {
        height: 400px;
    }

    .feature-content {
        padding: 50px 30px;
    }
}

@media (max-width: 480px) {
    nav {
        height: 64px;
        padding: 0 16px;
    }

    .logo a {
        font-size: 18px;
    }

    /* ONLY affect homepage hero with image wrapper */
    .hero-image-section .hero-content-wrapper {
        padding: 50px 16px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-image-section .hero-content-wrapper .hero-image img {
        width: 250px !important;
        height: 250px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FFD100;
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #000;
    color: #FFD100;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}
