/* ============================================
   GOLDSTEP CAPITAL LTD - Home Page Styles
   Hero, Features Bar, About, Services, Stats, 
   Testimonials, CTA sections
   ============================================ */

/* ============================================
   HERO SECTION / SLIDER
   ============================================ */
.hero-section {
    padding-top: 64px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

/* Video hero */
.hero-section--video {
    color: var(--white);
}

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

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.hero-content--video {
    justify-content: flex-start;
    min-height: calc(100vh - 64px);
    position: relative;
    z-index: 2;
}

.hero-content--video .hero-subtitle {
    color: var(--gold-light);
}

.hero-content--video .hero-title,
.hero-content--video .hero-description {
    color: var(--white);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: calc(100vh - 80px);
    padding: 40px 0;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.15;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    color: var(--charcoal);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-btn:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--white);
}

/* ============================================
   FEATURES BAR (Gold Bar Section)
   ============================================ */
.features-bar {
    background: var(--gold-primary);
    padding: 0;
    position: relative;
}

.features-bar .container {
    display: flex;
    align-items: stretch;
    padding: 0;
    max-width: 100%;
}

.features-image {
    flex: 0 0 30%;
    max-width: 400px;
    background: var(--off-white);
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-list {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 60px;
    background: var(--gold-primary);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
}

.feature-text h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* ============================================
   ABOUT SECTION (Home Preview)
   ============================================ */
.about-section {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold-primary);
    border-radius: 8px;
    z-index: -1;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--charcoal);
}

.about-feature i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

/* ============================================
   SERVICES SECTION (Home Preview)
   ============================================ */
.services-section {
    padding: var(--section-padding);
    background: var(--off-white);
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--black);
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--gold-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--gold-dark);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: var(--section-padding);
    background: var(--black);
    color: var(--white);
}

.stats-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.stats-text {
    flex: 1;
}

.stats-text .section-subtitle {
    color: var(--gold-primary);
}

.stats-text .section-title {
    color: var(--white);
}

.stats-text p {
    color: var(--gray-light);
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--off-white);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--gold-primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 40px;
    line-height: 1;
}

/* Video testimonial variant */
.testimonial-card--video::before {
    content: none;
}

.testimonial-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.testimonial-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gold-primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--gold-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn {
    background: var(--black);
    color: var(--white);
}

.cta-content .btn:hover {
    background: var(--white);
    color: var(--black);
}

/* ============================================
   HOME PAGE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-list {
        padding: 30px 40px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .hero-section {
        padding-top: 48px; /* match reduced header height */
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 40px 0 30px;
        gap: 30px;
    }
    
    .hero-text {
        max-width: 100%;
        order: 1;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .hero-image {
        max-width: 100%;
        order: 2;
    }

    .hero-image img {
        max-height: 320px;
        object-fit: cover;
        width: 100%;
    }
    
    .slider-nav {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 20px;
    }

    /* Features bar */
    .features-bar .container {
        flex-direction: column;
    }
    
    .features-image {
        max-width: 100%;
        height: 220px;
        flex: 0 0 auto;
    }
    
    .features-list {
        flex-direction: column;
        gap: 24px;
        padding: 36px 20px;
    }

    .feature-item {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        font-size: 1.2rem;
    }

    /* About */
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image::before {
        display: none;
    }

    .about-image img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
    }

    .about-features {
        gap: 12px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 24px;
    }

    /* Stats */
    .stats-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .stats-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 20px 16px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-image img {
        max-height: 240px;
    }

    .features-image {
        height: 180px;
    }

    .features-list {
        padding: 28px 16px;
    }

    .feature-item {
        gap: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 28px 20px;
    }
}