/* * =======================================
 * HOME.CSS
 * Styles for the homepage sections ONLY.
 * =======================================
 */

/* --- Base Card Style (Used by many homepage sections) --- */
.feature-card, .sector-card, .collaboration-card, .testimonial-card {
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.35s,
                background-color 0.35s;
}

.feature-card:hover,
.sector-card:hover,
.collaboration-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 45px rgba(0, 214, 91, 0.3);
    border: 1px solid rgba(0, 214, 91, 0.4);
    background: rgba(25, 30, 55, 0.7);
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 214, 91, 0.25);
    border-left-color: rgba(0, 214, 91, 0.8);
}


/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 40px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 25px;
    background: linear-gradient(45deg, #00d65b, #5bff9c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    max-width: 800px;
    margin: 0 auto 35px;
    line-height: 1.7;
    color: #c0c0d0;
}

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

.cta-button {
    background: rgba(0, 214, 91, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #070720;
    padding: 16px 45px;
    border: 1px solid rgba(0, 214, 91, 0.9);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 214, 91, 0.3);
}

.cta-button:hover {
    background-color: rgba(0, 214, 91, 0.9);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 214, 91, 0.5);
    color: #ffffff;
    border-color: #00ff73;
}


/* --- Features Section --- */
.features {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 35px;
    border-left: 4px solid #00d65b;
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #00d65b;
    font-weight: 600;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #d0d0e0;
}

/* --- Sectors Section --- */
.sectors { background: rgba(0, 214, 91, 0.03); padding: 80px 5%; text-align: center; }
.sectors h2 { font-size: clamp(30px, 4vw, 38px); margin-bottom: 50px; color: #00d65b; font-weight: 600; }
.sector-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.sector-card { padding: 40px 30px; max-width: 420px; width: 100%; text-align: left; }
.sector-card h3 { font-size: 24px; margin-bottom: 20px; color: #e0e0f0; font-weight: 600; }
.sector-card ul { list-style-type: none; padding-left: 0; }
.sector-card li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #c0c0d0; }
.sector-card li:last-child { border-bottom: none; }
.sector-card li:before { content: "✓"; color: #00d65b; margin-right: 12px; font-weight: bold; }

/* --- Collaborations Section --- */
.collaborations { padding: 80px 5%; text-align: center; }
.collaborations h2 { font-size: clamp(30px, 4vw, 38px); margin-bottom: 20px; color: #00d65b; font-weight: 600; }
.collaboration-intro { font-size: 18px; max-width: 800px; margin: 0 auto 50px; line-height: 1.7; color: #c0c0d0; }
.collaboration-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.collaboration-card { padding: 40px 30px; max-width: 360px; width: 100%; text-align: center; position: relative; overflow: hidden; border-top: 3px solid transparent; }
.collaboration-card:hover { border-top-color: #00d65b; }
.collaboration-icon { display: flex; justify-content: center; margin-bottom: 25px; }
.icon-circle { width: 70px; height: 70px; border-radius: 50%; background: transparent; border: 2px solid rgba(0, 214, 91, 0.5); display: flex; align-items: center; justify-content: center; position: relative; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.icon-circle::after { content: ''; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 214, 91, 0.7); position: absolute; transition: all 0.3s ease-in-out; }
.collaboration-card:hover .icon-circle { border-color: #00d65b; transform: rotate(180deg) scale(1.15); }
.collaboration-card:hover .icon-circle::after { background: #00ff73; transform: scale(1.25); }
.collaboration-card h3 { font-size: 24px; margin-bottom: 15px; color: #e0e0f0; font-weight: 600; }
.collaboration-card p { font-size: 16px; line-height: 1.7; margin-bottom: 25px; color: #c0c0d0; }
.collab-link { display: inline-block; color: #00d65b; text-decoration: none; font-weight: 600; transition: all 0.3s; padding-bottom: 3px; border-bottom: 1px solid rgba(0, 214, 91, 0.5); }
.collab-link:hover { border-bottom-color: #00d65b; transform: translateY(-2px); color: #5bff9c; }

/* --- Testimonials Section --- */
.testimonials { padding: 100px 5% 80px; background: rgba(10, 10, 20, 0.05); position: relative; overflow: hidden; }
.testimonials:before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(0, 214, 91, 0.6), transparent); }
.testimonials h2 { text-align: center; font-size: clamp(30px, 4vw, 38px); margin-bottom: 50px; color: #00d65b; font-weight: 600; }
.testimonials-slider { display: flex; max-width: 1000px; margin: 0 auto; position: relative; }
.testimonial-card { min-width: 100%; padding: 40px; border-left: 4px solid #00d65b; box-sizing: border-box; }
.quote-icon { font-size: 70px; color: rgba(0, 214, 91, 0.3); font-family: 'Georgia', serif; position: absolute; top: 15px; left: 20px; line-height: 1; opacity: 0.8; user-select: none; }
.testimonial-text { font-size: 18px; font-style: italic; line-height: 1.8; margin-bottom: 30px; position: relative; z-index: 1; color: #d0d0e0; }
.testimonial-author { display: flex; align-items: center; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; margin-right: 18px; overflow: hidden; background: rgba(0, 214, 91, 0.15); display: flex; align-items: center; justify-content: center; border: 2px solid rgba(0, 214, 91, 0.3); }
.avatar-placeholder { width: 35px; height: 35px; border-radius: 50%; background: rgba(0, 214, 91, 0.4); }
/* Added img rule for dynamic avatars */
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { font-size: 18px; margin-bottom: 5px; color: #00d65b; font-weight: 600; }
.author-info p { font-size: 14px; color: rgba(240, 240, 240, 0.8); }
.testimonial-controls { display: flex; justify-content: center; align-items: center; margin-top: 35px; gap: 20px; }
.control-btn { background: rgba(0, 214, 91, 0.15); color: #00d65b; border: 1px solid rgba(0, 214, 91, 0.3); width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: all 0.3s; }
.control-btn:hover { background: rgba(0, 214, 91, 0.25); transform: scale(1.1); border-color: rgba(0, 214, 91, 0.5); }
.indicator-dots { display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(240, 240, 240, 0.4); cursor: pointer; transition: all 0.3s; }
.dot.active { background: #00d65b; transform: scale(1.25); box-shadow: 0 0 8px rgba(0, 214, 91, 0.5); }

/* --- Get in Touch (Subscribe) Section --- */
.get-in-touch { padding: 80px 5%; background: linear-gradient(45deg, rgba(0, 214, 91, 0.02), rgba(0, 214, 91, 0.08)); text-align: center; }
.get-in-touch-container { max-width: 800px; margin: 0 auto; }
.get-in-touch h2 { font-size: clamp(30px, 4vw, 38px); margin-bottom: 20px; color: #00d65b; font-weight: 600; }
.get-in-touch p { font-size: 18px; margin-bottom: 35px; line-height: 1.7; color: #c0c0d0; }
.subscribe-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; width: 100%; max-width: 600px; margin: 0 auto; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 30px; overflow: hidden; }
/* Input selector updated for manual HTML */
.form-group input[type="email"] { flex: 1; padding: 18px 25px; border: 1px solid transparent; border-right: none; border-radius: 30px 0 0 30px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); color: #f0f0f0; font-size: 16px; outline: none; transition: all 0.3s; }
.form-group input[type="email"]::placeholder { color: rgba(240, 240, 240, 0.6); }
.form-group input[type="email"]:focus { background: rgba(255, 255, 255, 0.12); border-color: rgba(0, 214, 91, 0.5); box-shadow: 0 0 0 2px rgba(0, 214, 91, 0.2); }
.subscribe-button { padding: 18px 35px; border: none; border-radius: 0 30px 30px 0; background: #00d65b; color: #0a0a14; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.subscribe-button:hover { background: #00b34c; transform: scale(1.05); }
.consent-check { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.consent-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: #00d65b; cursor: pointer; }
.consent-check label { font-size: 14px; color: rgba(240, 240, 240, 0.8); cursor: pointer; }

/* --- Logo Wall Section --- */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); 
    }
}
.logo-scroller {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: center;
    animation: scroll-left 40s linear infinite;
}
.logo-wall:hover .logo-grid {
    animation-play-state: paused;
}
.logo-item {
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-basis: 200px;
    flex-shrink: 0;
}
.logo-item:hover {
    transform: translateY(-2px) scale(0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 214, 91, 0.4);
    background: rgba(25, 30, 55, 0.7);
}
.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    /* We removed the filter rule that was hiding logos */
    transition: all 0.3s ease;
}
/* Removed the hover rule for filter */
.logo-wall {
    padding: 80px 5%;
    text-align: center;
    background: rgba(10, 10, 20, 0.05);
    position: relative;
    z-index: 1;
}
.logo-wall h2 {
    font-size: clamp(30px, 4vw, 38px);
    margin-bottom: 20px;
    color: #00d65b;
    font-weight: 600;
}
.logo-wall-intro {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.7;
    color: #c0c0d0;
}

/* --- Responsive Media Queries (for homepage sections) --- */
@media (max-width: 992px) {
    .collaboration-card { max-width: 320px; }
    .testimonial-card { padding: 30px; }
}

@media (max-width: 768px) {
    .cta-button { padding: 14px 35px; font-size: 17px; }
    .features { grid-template-columns: 1fr; gap: 30px; }
    .form-group { flex-direction: column; max-width: 100%; box-shadow: none; border-radius: 0; }
    .form-group input[type="email"] { border-radius: 30px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.1); }
    .subscribe-button { border-radius: 30px; width: 100%; }
    .testimonials-slider { max-width: 90%; }
}

@media (max-width: 576px) {
    .hero { padding-top: 100px; }
    .collaboration-card { max-width: 100%; }
    .icon-circle { width: 60px; height: 60px; }
    .icon-circle::after { width: 25px; height: 25px; }
    .testimonial-card { padding: 25px 20px; }
    .author-avatar { width: 50px; height: 50px; }
}
