/* ===============================================
   HOMEPAGE SPECIFIC STYLES (index.html)
=============================================== */

/* Hero Section */
.hero-section {
    position: relative; 
    padding: 10rem 0; 
    text-align: center; color: #fff;
    background-image: url('../images/hero-background.jpg'); 
    background-size: cover; background-position: center; background-attachment: fixed;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.8) 0%, 
        rgba(18, 24, 34, 0.6) 50%, 
        rgba(18, 24, 34, 0.95) 100%
    );
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding-top: 2rem; }

.hero-content h1 { 
    font-size: 4rem; 
    margin-bottom: 1.5rem; 
    font-weight: 800; 
    color: #fff; 
    line-height: 1.1;
    opacity: 0; 
    animation: fadeInSlideUp 1s forwards 0.3s; 
}

.hero-content .lead { 
    font-size: 1.25rem; 
    margin-bottom: 2.5rem; 
    opacity: 0; 
    animation: fadeInSlideUp 1s forwards 0.6s;
    /* Constraint for Readability */
    max-width: 700px; margin-left: auto; margin-right: auto;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons { display: flex; justify-content: center; gap: 1.5rem; opacity: 0; animation: fadeInSlideUp 1s forwards 0.9s; }

/* Overview Section */
.overview-section { padding: 5rem 0; background-color: var(--light-bg); }
.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.overview-item {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px;
    box-shadow: 0 8px 20px var(--card-shadow); transition: transform 0.4s ease;
    overflow: hidden; display: flex; flex-direction: column;
}
.overview-item:hover { transform: translateY(-10px); }
.card-image { width: 100%; height: 200px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.overview-item:hover .card-image img { transform: scale(1.05); }
.card-content { padding: 2rem; text-align: left; }
.card-content h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--heading-color); }
.card-content p { color: var(--light-subtle-text); margin-bottom: 1.5rem; }
.read-more { color: var(--primary-blue); font-weight: 600; }

/* About Snippet */
.about-snippet-section { background-color: var(--card-bg); }
.about-snippet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-snippet-image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Stats */
.stats-section { padding: 4rem 0; background-color: var(--light-bg); border-top: 1px solid var(--border-color); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-number { font-size: 3.5rem; color: var(--accent-teal); margin-bottom: 0.5rem; }
.stat-title { font-size: 1rem; color: var(--light-subtle-text); font-weight: 600; }

/* PROCESS SECTION (The "How We Work" numbers) */
.process-section { background-color: #f8f9fa; text-align: center; }
body.dark-mode .process-section { background-color: #161d2a; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; position: relative; }
.process-step { padding: 20px; position: relative; z-index: 2; }
.step-number {
    font-size: 4rem; font-weight: 800; color: rgba(0, 191, 179, 0.1);
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%); z-index: -1;
}
.step-icon { font-size: 2rem; color: #00BFB3; margin-bottom: 1rem; }
.process-step h4 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--heading-color); }
.process-step p { font-size: 0.95rem; color: var(--light-subtle-text); }

/* Vision/Standard */
.vision-values-section { padding: 5rem 0; background-color: var(--light-bg); }
.vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.vision-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 2.5rem; text-align: center; box-shadow: 0 8px 20px var(--card-shadow);
}
.vision-icon { font-size: 2.5rem; color: var(--accent-teal); margin-bottom: 1.5rem; }
.vision-source { display: block; margin-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--heading-color); }

/* CTA Banner */
.cta-banner {
    background-image: url('../images/tech-bg.jpg'); background-size: cover;
    background-color: rgba(10, 102, 194, 0.9); background-blend-mode: multiply;
    color: #fff; padding: 5rem 0; text-align: center;
}
.cta-banner h2 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-contact-info {
    margin-top: 1.8rem;
    display: block; 
    font-size: 0.95rem; 
    opacity: 0.85;
}
.cta-contact-info a { color: #fff; text-decoration: underline; font-weight: 600; }

/* Animations */
@keyframes fadeInSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hidden { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.show { opacity: 1; transform: translateY(0); }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .about-snippet-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content .lead { font-size: 1rem; max-width: 100%; } 
    .hero-buttons { flex-direction: column; }
    .stat-number { font-size: 2.5rem; }
}