/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

header {
    position: fixed !important;    /* Pinapako ang navbar sa screen */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff !important; /* Solid white para hindi see-through habang nag-sscroll */
    z-index: 9999 !important;      /* Laging nasa ibabaw ng lahat ng content */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); /* Shadow para may depth */
    padding: 10px 0;
}

:root {
    --primary-teal: #4fd1c5;
    --dark-bg: #0a192f;
    --text-white: #ffffff;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
}

/* Common Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo img { height: 45px; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary-teal);
}

/* Auth & Shared Buttons */
.auth-buttons { display: flex; gap: 20px; align-items: center; }

.log-in { text-decoration: none; color: white; }

.sign-up {
    background: var(--primary-teal);
    color: #0f2d44;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* Footer */ 
/* CTA Footer Section */
.cta-footer {
    height: 300px;
    background: linear-gradient(to right, rgba(10, 31, 46, 0.8), rgba(10, 31, 46, 0.4)), 
                url('../images/footer.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.cta-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.cta-text h2 { font-size: 2.5rem; margin-bottom: 10px; }
.cta-text p { font-size: 1.1rem; opacity: 0.9; }

.btn-white {
    background: white;
    color: #0f2d44;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.btn-white i {
    background: #0f2d44;
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Main Footer */
.main-footer {
    background-color: #0f2d44; /* Mas malapit na dark blue base sa images */
    padding: 80px 8% 40px;
    color: white;
    font-family: 'Poppins', sans-serif; /* Siguraduhin na clean yung font */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
    position: relative;
    color: white;
    text-transform: uppercase;
}

/* Yung teal line sa ilalim ng headers */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #4fd1c5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 18px;
}

.footer-col ul li a {
    color: #cbd5e1; /* Mas readable na light gray-blue */
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #4fd1c5;
    padding-left: 5px; /* Subtle movement pag hinover */
}

/* Contact Info Section */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.contact-info i {
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    min-width: 40px; /* Para hindi ma-squish yung icon */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #4fd1c5;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-info p:hover i {
    background: #4fd1c5;
    color: #0f2d44;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    flex-wrap: wrap; /* Para hindi mag-overlap sa mobile */
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 35px;
    filter: brightness(0) invert(1); /* Gagawing white yung logo */
}

.footer-logo span {
    font-weight: 500;
    font-size: 1rem;
    color: #cbd5e1;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4fd1c5;
    color: #0f2d44;
    transform: translateY(-3px); /* Kaunting lift effect */
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
    text-align: right;
    margin-top: 10px;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .copyright {
        text-align: center;
    }
}

