@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #F5F5F5;
}
    
.break {
    height: .010rem; 
    width: 100%;
    background-color: #c7c7cf;
}

/* Hero Section Container */
    
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/images/hero-image.png') no-repeat center center/cover;
    padding: 20px;
}
    
/* Content Wrapper */
.hero-content {
    max-width: 800px;
    z-index: 1;
}
 /* Main Heading */
.hero-title {
    font-size: 5rem;
    font-weight: 1000;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    font-family: "Raleway", sans-serif;
}

.divider {
    width: 120px;
    height: 1px;
    background-color: #8c786a;
    margin: 20px auto;
    opacity: 0.7;
}
/* Subtitle / Paragraph Description */
.hero-description {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
/* Call to Action Button */
.cta-button {
    display: inline-block;
    background-color: #a39689; /* Earthy/Taupe color mula sa larawan */
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    
}
 /* Button Hover Effect */
.cta-button:hover {
    background-color: #8c786a;
    transform: translateY(-2px);
}

/* Stats */
.stats-section {
    background-color: #f7f5f2;
    padding: 40px 20px;
    border-bottom: 1px solid #e0dad3;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #7c7267;
    margin-bottom: 5px;
    font-family: 'Raleway', sans-serif;
}

.stat-item p {
    font-size: 1rem;
    color: #555555;
    font-weight: 500;
    font-family: 'Merriweather', serif;
}

.welcome-section {
    max-width: 1350px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;         
}

.welcome-text-content {
    flex: 1;
    max-width: 550px;
}

.welcome-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #3a3a3a;
    line-height: 1.2;
    margin-bottom: 15px;
    font-family: 'Raleway', sans-serif;
}

.welcome-divider {
    width: 60px;
    height: 2px;
    background-color: #b0a496;
    margin-bottom: 30px;
}

.welcome-description {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

.welcome-image-content img {
    position: relative;
    right: -1.5rem;
    height: 95%;
    width: 1050px;
}

.cta-story-btn {
    display: inline-block;
    background-color: #a39689;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 2px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.cta-story-btn:hover {
    background-color: #8c786a;
}

.welcome-image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-logo {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

/* Commitment Section */
.commitment-section {
    padding: 100px 20px;
    margin: 0 auto;
}

/* Header/Top Part */
.commitment-header {
    text-align: center;
    margin-bottom: 60px;
}

.commitment-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    font-family: 'Raleway', sans-serif;
}

.commitment-divider {
    width: 60px;
    height: 2px;
    background-color: #b0a496;
    margin: 20px auto;
}

.commitment-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555555;
    max-width: 700px;
    margin: 0 auto;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
}

.commitment-card {
    background-color: #ffffff;
    padding: 70px 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.card-icon-container {
    width: 60px;
    height: 60px;
    background-color: #f4f1ed; 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.card-icon {
    width: 26px;
    height: 26px;
    stroke: #7c7267; 
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 20px;
}

.card-text {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #666666;
}

.testimonials-section {
    padding: 80px 20px 100px 20px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #3a3a3a;
    letter-spacing: -0.5px;
    font-family: 'Raleway', sans-serif;
}

.testimonials-divider {
    width: 60px;
    height: 2px;
    background-color: #b0a496;
    margin: 20px auto 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Individual Testimonial Card Styling */
.testimonial-card {
    background-color: #ffffff; 
    padding: 40px 35px 35px 35px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Icon Design Settings */
.quote-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

/* Testimonial Paragraph Body */
.testimonial-text {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-style: italic; /* Italics para sa mismong quotes */
    line-height: 1.65;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.card-inner-line {
    width: 100%;
    height: 1px;
    background-color: #d1d1d1;
    margin-bottom: 20px;
}

/* Author Details wrapper */
.testimonial-author {
    margin-top: auto;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #7c7267; 
    margin-bottom: 3px;
}

.author-location {
    font-size: 0.85rem;
    color: #777777;
    font-weight: 500;
}

.contact-cta-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Image Gallery Grid Config */
.cta-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    width: 100%;
    overflow: hidden;
    height: 460px;
}

.gallery-item {
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Dark Content Block Config */
.cta-content-block {
    background-color: #3d3d3f; 
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-main-title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    font-family: 'Raleway', sans-serif;
}

.cta-divider {
    width: 60px;
    height: 1.5px;
    background-color: #b0a496;
    margin: 15px auto 25px auto;
}

.cta-description {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cccccc;
    max-width: 780px;
    margin-bottom: 45px;
}

.cta-actions-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.phone-link {
    display: inline-flex;
    align-items: center;
    color: #b0a496; 
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Meriweather', serif;
}

.phone-link:hover {
    color: #ffffff;
}

.phone-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.actions-or {
    color: #888888;
    font-size: 1rem;
    font-weight: 400;
}

.inline-cta-btn {
    display: inline-block;
    background-color: #a39689;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 14px 35px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.inline-cta-btn:hover {
    background-color: #8c786a;
}

/* Responsive Design Adjustments */
@media (max-width: 992px) {
    .welcome-section {
        flex-direction: column; /* Pagpapatungayin ang teksto at logo sa tablet/mobile */
        text-align: left;
        gap: 40px;
        margin: 50px auto;
    }
    .welcome-image-content {
        order: -1; /* Inuuna ang logo sa paningin kapag mobile (opsyonal, tanggalin kung mas gusto mong mauna teksto) */
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr); /* Magiging 2x2 grid kapag mobile screen */
        gap: 30px 10px;
    }
    .welcome-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .welcome-section {
        flex-direction: column;
        gap: 40px;
        margin: 50px auto;
    }
    .welcome-image-content {
        order: -1; /* Inuuna ang logo kaysa sa teksto kapag naka-tablet o mobile view */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr); /* 2 kolum na lang kapag mobile screen */
        gap: 30px 10px;
    }
    .welcome-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .commitment-grid {
        grid-template-columns: 1fr; /* Gagawin itong single-column pababa kapag tablet/mobile */
        gap: 30px;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .commitment-main-title {
        font-size: 2.3rem;
    }
    
    .commitment-section {
        padding: 60px 20px;
    }
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr; /* Isang column pababa para sa mas maliit na screen */
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .testimonials-main-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 992px) {
    .cta-gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Magiging 2x2 grid ang mga bulaklak sa tablet */
    }
    .cta-main-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .cta-gallery-grid {
        grid-template-columns: 1fr; /* Isang kolum na lang ang mga bulaklak sa mobile view */
    }
    .cta-actions-wrapper {
        flex-direction: column; /* Pagpapatungayin ang Phone link at Button kapag maliit ang phone screen */
        gap: 15px;
    }
    .actions-or {
        display: none; /* Itatago ang salitang 'or' para mas malinis tingnan sa mobile */
    }
    .cta-content-block {
        padding: 50px 20px;
    }
}