* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #1cb4dc;
    --primary-light: #6366f1;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --success: #10b981;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.5;
    font-size: 14px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 5%;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 0.3rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid var(--primary);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
}

/* Sections */
section {
    padding: 4rem 5% 3rem;
    min-height: auto;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    color: var(--primary);
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 1px;
}
/* Revised Hero Section */
#home {
    background: linear-gradient(135deg, rgba(28, 180, 220, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../../images/background.svg') no-repeat right center;
    background-size: contain;
    z-index: 1;
    opacity: 0.8;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--dark);
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
}

/* Mobile SVG container - hidden on desktop */
.mobile-svg-container {
    display: none;
}

/* Responsive adjustments for hero section */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-text {
        padding-right: 0;
        order: 1; /* Make text come first */
    }
    
    #home::before {
        display: none; /* Hide desktop SVG on mobile */
    }
    
    .hero-image-container {
        order: 2; /* Move image container to bottom */
        min-height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Show mobile SVG container */
    .mobile-svg-container {
        display: block;
        width: 100%;
        height: 150px;
        background: url('../../images/background.svg') no-repeat center center;
        background-size: contain;
        opacity: 0.7;
        margin: 1rem 0;
    }
    
    /* Reset any margin-top that was previously set */
    .hero-title {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    #home {
        padding: 6rem 5% 2rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 1rem 0;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .mobile-svg-container {
        height: 120px;
        margin: 1rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .mobile-svg-container {
        height: 200px;
    }
    
    .hero-image-container {
        display:none;
    }
}

.secondary-button {
    background-color: transparent;
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 0.3rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid var(--primary);
}

.secondary-button:hover {
    background-color: var(--primary);
    color: white;
}

/* About Section */
#about {
    background-color: var(--light);
    padding-top: 3rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-vision {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.mission-vision h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Branches Section */
#branches {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    padding-top: 3rem;
}

.branches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.branch-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    text-align: center;
    border-top: 2px solid var(--primary);
}

.branch-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.branch-card p {
    margin-bottom: 0.4rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.branch-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

/* Coverage Section */
#coverage {
    background-color: var(--light);
    padding-top: 3rem;
}

.coverage-container {
    max-width: 700px;
    margin: 0 auto;
}

.municipality-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.municipality-tab {
    padding: 0.6rem 1.2rem;
    background-color: white;
    border: 1px solid var(--primary);
    border-radius: 0.3rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.municipality-tab:hover, .municipality-tab.active {
    background-color: var(--primary);
    color: white;
}

.barangay-list {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.barangay-list.active {
    display: grid;
}

.barangay-item {
    padding: 0.6rem;
    background-color: var(--light);
    border-radius: 0.3rem;
    text-align: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.barangay-item:hover {
    background-color: var(--primary);
    color: white;
}

/* Features Section */
#features {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    padding-top: 3rem;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border-left: 2px solid var(--primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Inquiry Section */
#inquiry {
    background-color: var(--light);
    padding-top: 3rem;
}

.inquiry-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.inquiry-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    text-align: center;
    border-bottom: 2px solid var(--primary);
}

.inquiry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.inquiry-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.inquiry-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

/* Pricing Section */
#pricing {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular::before {
    content: 'Popular';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    padding: 0.2rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    transform: translateX(30%) translateY(0%) rotate(45deg);
    transform-origin: bottom left;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    white-space: nowrap;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    color: var(--gray);
}

/* FAQ Section */
#faq {
    background-color: var(--light);
    padding-top: 3rem;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0.8rem;
    background-color: white;
    border-radius: 0.3rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
}

.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    padding: 0 1.2rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.2rem 1rem;
}

.faq-answer p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 5% 2rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.footer-column ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: var(--primary);
}

.copyright {
    color: var(--gray);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .features-container {
        grid-template-columns: 1fr;
    }
    
    .about-image, .video-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    section {
        padding: 3rem 5% 2rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Product Section */
#products {
    background-color: var(--light);
    padding-top: 3rem;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.1rem;
    padding: 1rem 1rem 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.product-card p {
    font-size: 0.85rem;
    padding: 0 1rem 1.5rem;
    color: var(--gray);
    line-height: 1.5;
}


@media (max-width: 768px) {
    .products-container, .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .product-card img, .gallery-item {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .products-container, .gallery-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-card h3 {
        font-size: 1rem;
    }
    
    .product-card p {
        font-size: 0.8rem;
    }
}

