.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 8%;
    color: white;
    
    /* 
       Eto yung 'fading' logic:
       1. Ang gradient (blue to transparent) ay nasa unahan.
       2. Ang url('../images/homepage.png') ay nasa likod.
    */
    background: linear-gradient(
        to right, 
        rgba(10, 31, 46, 0.95) 0%, 
        rgba(10, 31, 46, 0.7) 45%, 
        transparent 100%
    ), 
    url('../images/alrafaahp.png') no-repeat center center/cover;
    
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.highlight {
    color: #4fd1c5; /* Teal color */
}

/* --- Hero Content (Text Wrapper) --- */

.hero-content {
    /* Limitahan ang haba ng text para hindi ito humarang sa cleaner sa pic */
    max-width: 600px;
}

/* --- Typography (Fonts at Kulay) --- */

.subtitle {
    color: var(--primary-teal); /* Teal na kulay mula sa general.css */
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 4.5rem; /* Malaking font size para sa main headline */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero h1 span.highlight {
    color: var(--primary-teal); /* I-highlight ang salitang "Delivered" */
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9); /* Medyo transparent na puti */
}

/* --- CTA Buttons (Call to Action) --- */

.cta-group {
    display: flex;
    gap: 20px; /* Space sa pagitan ng dalawang button */
}

/* Pangkalahatang style para sa parehong button */
.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Primary Button (Yung may Teal background) */
.btn-primary {
    background: var(--primary-teal);
    color: #0f2d44; /* Madilim na kulay para sa text */
}

.btn-primary:hover {
    background: #3ac0b3; /* Mas madilim na teal sa hover */
}

/* Secondary Button (Yung may Border) */
.btn-secondary {
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1); /* Medyo transparent na white sa hover */
}

/* Style para sa maliit na arrow icon sa loob ng button */
.btn-primary i, .btn-secondary i {
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.15); /* Pabilog na translucent background */
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Why Choose Us Section Styles */
.why-choose-us {
    padding: 100px 8%;
    background-color: #f8fafc; /* Light background para mag-pop yung cards */
    color: #0f2d44;
}

.section-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.info-side { flex: 1.2; }
.stats-side { 
    flex: 0.8; 
    display: flex; 
    gap: 20px;
}

/* Typography */
.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title span {
    color: #4fd1c5;
    font-style: italic;
}

.section-desc {
    color: #64748b;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Small Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.icon-box {
    background: #e6fffa;
    color: #38b2ac;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

.feature-text h3 { font-size: 1rem; margin-bottom: 5px; }
.feature-text p { font-size: 0.85rem; color: #64748b; line-height: 1.4; }

/* Big Stat Cards */
.stat-card {
    flex: 1;
    padding: 40px 30px;
    border-radius: 20px;
    color: white;
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dark-blue { background-color: #1a365d; }
.light-blue { background-color: #2c7a7b; }

.stat-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.stat-card .number { font-size: 4rem; font-weight: 800; display: block; }
.stat-card .label { font-size: 1.1rem; font-weight: 500; margin: 10px 0; line-height: 1.4; }
.stat-card .rating { font-size: 0.9rem; opacity: 0.8; font-style: italic; }

/* Responsive */
@media (max-width: 1024px) {
    .section-layout { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-side { width: 100%; }
}

/* Services Section Styles */
.services-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.services-subtitle {
    color: #48C7C1;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.services-title {
    font-size: 2.5rem;
    color: #1a2b48;
    margin-bottom: 50px;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    text-align: left;
}

.service-card {
    height: 250px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: transform 0.3s ease;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-text h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.card-text p {
    color: #e0e0e0;
    font-size: 0.85rem;
}

.service-desc {
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 5px;
}

/* Ensure smooth scrolling for the anchor links */
html {
    scroll-behavior: smooth;
}
