/* --- RESET AT VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #0f172a;   /* Deep Navy Blue para sa tiwala at katatagan */
    --accent-blue: #1d4ed8;    /* Royal Blue */
    --accent-red: #dc2626;     /* Red accent base sa poster sa Facebook */
    --text-dark: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- NAVBAR & LOGO --- */
.navbar {
    background-color: var(--white);
    display: flex;
    justify-content: space-between; /* Nilalayo ang logo+name (kaliwa) sa menu links (kanan) */
    align-items: center;
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo-container {
    display: flex;         /* Ito ang nagpapapila sa logo at text magkatabi sa gilid */
    flex-direction: row;   /* Siguradong pahalang ang pwesto (hindi patayo) */
    align-items: center;   /* Pantay ang gitna ng logo at ng text */
    gap: 12px;             /* Agwat ng logo sa text */
    text-decoration: none;
}

.logo-img {
    height: 38px;          /* Sakto lang ang laki para di sumabog */
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    white-space: nowrap;   /* Para hindi maputol o bumaba sa kabilang linya ang text */
}

.logo-text span {
    color: var(--accent-red);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-blue);
}

.btn-nav {
    background-color: var(--accent-red);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-nav:hover {
    background-color: #b91c1c;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    /* Tinanggal na natin ang background image URL dito */
    background-color: var(--primary-blue); /* Fallback color kung sakaling mabagal mag-load ang video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    overflow: hidden; /* Importante: Para hindi lumampas ang video sa labas ng section */
}

/* Video Background Styling */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para sumakto ang video sa buong screen nang hindi nayuyupi */
    z-index: 0;
}

/* Dark Overlay Styling (Mula sa tinanggal na linear-gradient) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8); /* Madilim na tint para manatiling nababasa ang puting text */
    z-index: 1;
}

/* Para umibabaw ang text at buttons sa video at overlay */
.hero-content {
    position: relative;
    z-index: 2; 
}
/* Ibalik ang style para sa Badge (Fast • Reliable • Compliant) */
.badge {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    border: 1px solid var(--accent-red);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ibalik ang style para sa Text (Heading at Paragraph) */
.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: #60a5fa; /* Light Blue */
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    color: #cbd5e1;
}

/* Ibalik ang style para sa Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #b91c1c;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* --- ABOUT SECTION --- */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

.sub-title {
    color: var(--accent-red);
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin: 0.5rem 0 1rem;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.feat-item {
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feat-item i {
    color: #16a34a; /* Green check */
}

.about-card {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.stat-box h4 {
    font-size: 2rem;
    color: #60a5fa;
}

/* --- SERVICES SECTION --- */
.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-top: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--accent-blue);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-top-color: var(--accent-red);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
}

/* --- CUSTOMER FEEDBACK SECTION --- */
.feedback {
    padding: 5rem 0;
    background-color: var(--white);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feedback-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.stars {
    color: #f59e0b; /* Golden Yellow for stars */
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.client-info {
    border-top: 2px solid #cbd5e1;
    padding-top: 1rem;
}

.client-info h4 {
    color: var(--primary-blue);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.client-info span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

/* TESTIMONIAL SLIDER */

.testimonial-slider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    margin-top:40px;
}

.slides{
    width:700px;
    max-width:100%;
}

.slide{
    display:none;
    animation:fade .6s;
}

.slide.active{
    display:block;
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


.slider-dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-top:30px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#d1d5db;
    cursor:pointer;
    transition:all .3s ease;
}

.dot.active{
    width:35px;
    border-radius:20px;
    background:#dc2626;
}
/* --- LEAVE A REVIEW BUTTON STYLE --- */
.feedback-cta {
    margin-top: 3.5rem;
    padding: 2rem;
    background-color: #f1f5f9;
    border-radius: 12px;
    text-align: center;
    border: 1px dashed #cbd5e1;
}

.feedback-cta p {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #1877f2; /* Official Facebook Blue */
    color: var(--white);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(24, 119, 242, 0.2);
}

.btn-review:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(24, 119, 242, 0.3);
}
/* --- INTERACTIVE MODAL & STAR RATING --- */
.modal-overlay {
    display: none; /* Nakatago hanggat di pinipindot ang button */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 25px rgba(0,0,0,0.2);
    text-align: center;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #64748b;
    cursor: pointer;
}

.close-btn:hover { color: var(--accent-red); }

.star-rating-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 1.5rem 0;
}

.star-btn {
    font-size: 2rem;
    color: #cbd5e1; /* Gray kapag hindi pa napipili */
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.star-btn:hover, .star-btn.active {
    color: #f59e0b; /* Golden Yellow kapag pinili */
    transform: scale(1.1);
}

/* --- UPDATED CONTACT FORM STYLING (Original Style preserved) --- */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--text-dark);
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

/* Small section headers sa loob ng form */
.form-section-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1rem 0 0.5rem 0;
}

/* 2-column grid para hindi masyadong mahaba ang form pababa */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Ginawang pareho ang style ng input, select (dropdown), at textarea */
.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--primary-blue);
    background-color: #f8fafc;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.1);
}

/* Para hindi mag-adjust o sumabog kapag nasa cellphone */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- FOOTER --- */
.footer {
    background: #090d16;
    color: #64748b;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* --- RESPONSIVE / MOBILE VIEW --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-grid, .contact-box {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-box {
        padding: 1.5rem;
    }
}
/* --- UPDATED SERVICES CARD & LEARN MORE LINK --- */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Para laging nakapatong sa ibaba ang Learn More link */
    height: 100%;
}

.learn-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: #f59e0b; /* Golden Yellow / Orange na gaya sa reference photo */
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.learn-more:hover {
    color: var(--accent-red); /* Magiging Red kapag itinapat ang mouse, base sa theme mo */
}

.learn-more:hover i {
    transform: translateX(4px); /* Usog kaunti ang arrow pakanan kapag na-hover */
}
