
/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* --- CAROUSEL VARIABLES --- */
:root {
    --carousel-gap: 2rem;
    --carousel-scroll-speed: 20s;
}

/* --- LOGO TRUST BAR --- */
section.logos {
    background-color: white;
    overflow: hidden;
}

.trust-bar {
    padding: 40px 0;
    background: white;
    text-align: center;
}

.trust-bar p {
    color: #666;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
}

.logo-grid img {
    width: 70px;
}

.logo-placeholder {
    font-weight: 800;
    color: #333;
    font-size: 1.5rem;
    font-family: var(--font-head);
}

.logo-carousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.logo-track {
    display: flex;
    gap: var(--carousel-gap);
    padding: 1rem 0;
    width: max-content;
    list-style: none;
    animation: scroll var(--carousel-scroll-speed) linear infinite;
    overflow: visible;
    max-width: none;
}

.logo-track li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-track img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

/* --- PROBLEM SECTION --- */
.problem-section {
    padding: 80px 0;
    background: var(--bg-dark);
    text-align: center;
}

.problem-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    padding: 20px;
}

.problem-card i {
    font-size: 2rem;
    color: #ff4d4d;
    margin-bottom: 20px;
}

/* --- SERVICES (GLASSMORPHISM) --- */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d213f 100%);
    position: relative;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto;
}

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

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    transition: 0.3s;
}

.glass-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.glass-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 0px;
}

.glass-card h3 { font-size: 1.2rem; margin-bottom: 15px; }
.glass-card p { font-size: 0.95rem; color: #aaa; }

/* --- PORTFOLIO MASONRY --- */
.portfolio {
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.portfolio-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    opacity: 0;
    transition: 0.3s;
}

.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .overlay { opacity: 1; }

.overlay h4 { font-size: 1rem; }
.overlay p { font-size: 0.8rem; color: var(--accent-gold); text-transform: uppercase; font-weight: 700; }

/* --- THE PROCESS (PLAN) --- */
.process {
    padding: 100px 0;
    background: #0d213f;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step h3 { margin-bottom: 15px; color: var(--accent-blue); }

/* --- MEDIA QUERIES --- */
@media (max-height: 1000px) {
    .hero {
        min-height: 400px;
        max-height: none;
    }
    .hero-overlay {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }

    .video-background {
        height: 600px;
    }
    .video-background video {
        height: auto;
    }
    .hero-overlay {
        height: 600px;
    }
    .hero-content {
        margin-top: 200px;
    }
}

/* The Animation */
@keyframes scroll {
    to {
        transform: translate(calc(-50% - (var(--carousel-gap) / 2)));
    }
}
