/* =========================================
   Base & Utilities
   ========================================= */
   body {
    font-family: 'Roboto', sans-serif;
}

.text-highlight {
    color: #0096FF;
}

/* =========================================
   Reusable Components
   ========================================= */

/* Custom Buttons - Primary */
.btn-primary-custom {
    background-color: #00ABB3;
    color: #FFFFFF;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1.75rem;
    font-family: 'AG Button', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.btn-primary-custom:hover {
    background-color: #008F94;
    color: #FFFFFF;
}

/* Custom Buttons - Outline */
.btn-outline-custom {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF; /* Default white border */
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-family: 'AG Button', sans-serif;
    font-weight: 500;
    margin-left: 0.75rem;
    white-space: nowrap;
    transition: all 0.3s;
}

/* Specific override for white backgrounds/sections */
.hero-section .btn-outline-custom,
.about-section .btn-outline-custom,
.banner-section .btn-outline-custom {
    border-color: #7C90A9;
}

.btn-outline-custom:hover {
    background-color: #0096FF;
    border-color: #0096FF;
    color: #FFFFFF;
}

/* =========================================
   Navbar Styles
   ========================================= */
.navbar {
    background-color: #14212A;
    padding: 1rem 0;
    box-shadow: 0px 5px 10px #14212A; 
    position: relative; /* Ensures shadow appears above other content */
    z-index: 1000;
    position: sticky;
    top: 0;
}

.navbar-brand {
    color: #FFFFFF !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
}

.navbar-brand .brand-logo {
    width: 40px;
    height: 40px;
    background-color: #00ABB3;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.75rem;
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-link {
    color: #FFFFFF !important;
    font-family: 'AG Button', sans-serif;
    font-weight: 500;
    margin: 0 0.75rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #00ABB3 !important;
}

.nav-link.active {
    color: #0096FF !important;
    font-weight: 600;
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    background-color: #3b3b3b; 
    color: #B2C6D4;
    padding-top: 6rem;
    padding-bottom: 8rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.hero-desc {
    font-size: 1rem;
    color: #B2C6D4;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Feature Cards */
.feature-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #0096FF;
}

.feature-title {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-text {
    font-size: .6rem;
    color: #B2C6D4;
    line-height: 1.6;
}

/* Adjust button sizing specifically for Hero actions */
.hero-actions .btn-primary-custom,
.hero-actions .btn-outline-custom {
    padding: 0.75rem 2rem;
}

/* =========================================
   About / Culture Section
   ========================================= */
.about-section {
    background-color: #14212A;
    color: #B2C6D4;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.section-title {
    padding-top: 3rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.section-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #B2C6D4;
}

.about-actions .btn-primary-custom,
.about-actions .btn-outline-custom {
    padding: 0.75rem 2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: #B2C6D4;
    line-height: 1.5;
}

/* Image Grid Placeholder */
.image-showcase {
    position: relative;
    max-width: 1000px;
    margin-left: auto;
}

.img-top {
    margin-bottom: 1.5rem;
    text-align: center;
}

.img-top .placeholder-box {
    width: 65%;
    height: 220px;
    border-radius: 0.5rem;
    display: inline-block;
}

.img-bottom {
    display: flex;
    justify-content: space-between;
}

.img-bottom .placeholder-box {
    width: 50%;
    height: 290px;
    border-radius: 0.5rem;
}

.bg-box {
    background-color: #B2C6D4;
}

/* =========================================
   Health Tips Section
   ========================================= */
.tips-section {
    background-color: #14212A;
    color: #B2C6D4;
    padding-top: 2rem;
}

/* Circular Icons */
.circle-icon {
    width: 120px;
    height: 120px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: #0096FF;
    transition: transform 0.3s ease;
}

.circle-icon.larger {
    width: 150px;
    height: 150px;
    font-size: 3.5rem;
    background-color: #D9D9D9;
}

.circle-icon:hover {
    transform: translateY(-10px);
}

.tip-title {
    font-size: 0.9rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tip-text {
    font-size: 0.75rem;
    color: #B2C6D4;
    line-height: 1.6;
}

/* =========================================
   Banner Section
   ========================================= */
.banner-section {
    background-color: #3b3b3b;
    color: #B2C6D4;
    padding-top: 8rem;
    padding-bottom: 10rem;
}

.social-links {
    font-size: 1.5rem;
}

.social-item {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.social-item:hover {
    color: #00ABB3;
}

.banner-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.banner-desc {
    font-size: 0.85rem;
    color: #B2C6D4;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.banner-actions .btn-primary-custom,
.banner-actions .btn-outline-custom {
    padding: 0.75rem 2.5rem;
}

/* =========================================
   Footer
   ========================================= */
.main-footer {
    background-color: #14212A;
    color: #B2C6D4;
    padding-top: 8rem;
    padding-bottom: 6rem;
    border-top: 1px solid #2a3744;
}

.footer-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #FFFFFF;
}

.footer-desc {
    font-size: 0.85rem;
    color: #B2C6D4;
    line-height: 1.7;
}

/* Footer Social */
.main-footer .social-links {
    font-size: 1.3rem;
    display: flex;
}

/* Footer Links */
.footer-heading {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #B2C6D4;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #00ABB3;
}

/* =========================================
   Media Queries & Responsiveness
   ========================================= */

/* Desktop/Large Tablets (991px and below) */
@media (max-width: 991.98px) {
    /* Navbar Scaling */
    .navbar-brand { font-size: 1.25rem; }
    .navbar-brand .brand-logo { width: 32px; height: 32px; margin-right: 0.5rem; }
    .navbar-nav .nav-link { text-align: center; padding: 0.75rem 0; }

    /* Button alignment fix for mobile menu */
    .navbar-collapse .nav-buttons {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center;
        gap: 1rem;
        margin: 1.5rem auto 0 !important;
        width: fit-content !important;
        padding: 0 1rem;
    }

    .navbar-collapse .btn {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: unset !important;
        display: inline-block !important;
    }
    .navbar-collapse .btn-outline-custom { margin-left: 0 !important; }

    /* Hero Scaling */
    .hero-section { padding-top: 5rem; padding-bottom: 6rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 0.75rem; }

    /* About Section Scaling */
    .section-title { font-size: 2.5rem; }
    .image-showcase { max-width: 500px; margin: 0 auto; padding-top: 6rem; }
    .img-top .placeholder-box { width: 50%; height: 220px; }
    .img-bottom .placeholder-box { height: 290px; }

    /* Tips Scaling */
    .tips-section .section-title { font-size: 1.8rem; }
    .circle-icon { width: 110px; height: 110px; font-size: 2.3rem; }
    .circle-icon.larger { width: 135px; height: 135px; font-size: 3.2rem; }
    .tip-title { font-size: 0.75rem; }

    /* Banner Scaling */
    .banner-section { padding-top: 7rem; padding-bottom: 8rem; }
    .banner-title { font-size: 1.75rem; }

    /* Footer Tablet Layout - 3 col stack */
    @media (min-width: 768px) {
        .main-footer .col-lg-4 { flex: 0 0 40%; max-width: 40%; }
        .main-footer .col-lg-2 { flex: 0 0 20%; max-width: 20%; padding: 0 1rem; }
        .main-footer .social-links { justify-content: center; }
        .footer-heading { margin-bottom: 1.2rem; }
        .footer-nav a { font-size: 0.7rem; }
        .footer-title { font-size: 1.75rem; }
    }
}

/* Tablets/Mobile (767px and below) */
@media (max-width: 767.98px) {
    /* Hero */
    .hero-title { font-size: 2rem; }
    .feature-card .icon-wrapper { width: 50px; height: 50px; font-size: 1.2rem; }
    .feature-title { font-size: 0.75rem; }

    /* About Section */
    .section-title { font-size: 2.2rem; text-align: center; }
    .section-desc { font-size: 0.75rem; text-align: center; }
    .about-actions, .about-section .row.g-4 { justify-content: center; }
    .stat-number { font-size: 1.75rem; }
    
    /* Image Grid Mobile */
    .image-showcase { max-width: 350px; }
    .img-top { text-align: center; }
    .img-top .placeholder-box { width: 70%; }
    .img-bottom .placeholder-box { height: 250px; }

    /* Tips */
    .tips-section .section-title { font-size: 1.6rem; }
    .circle-icon.larger { width: 110px; height: 110px; font-size: 2.3rem; }

    /* Banner */
    .banner-title { font-size: 1.5rem; }
    .social-links { font-size: 1.2rem; }

    /* Footer Mobile Alignment */
    .footer-title, .footer-desc, .footer-heading, .footer-nav { text-align: left !important; }
    .main-footer .social-links { justify-content: flex-start !important; }
    .main-footer .container { padding-left: 1.5rem; padding-right: 1.5rem; }
    .footer-heading { margin-top: 2.5rem; }
}

/* Small Mobile (576px and below) */
@media (max-width: 575.98px) {
    /* Hero Buttons */
    .hero-actions, .about-actions, .banner-actions {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 1rem !important;
        justify-content: center !important;
    }

    .btn-primary-custom, .btn-outline-custom {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 100px;
        padding: 0.65rem 1.25rem !important;
        display: inline-block !important;
    }

    /* About Buttons specific */
    .about-actions .btn-primary-custom, 
    .about-actions .btn-outline-custom {
        min-width: 140px;
    }

    /* Footer Stacking */
    .main-footer > .container > .row > div {
        width: 100%;
        max-width: none;
        flex: 0 0 100%;
        margin-bottom: 3rem;
    }
    .main-footer > .container > .row > div:last-child { margin-bottom: 0; }
    .footer-heading { margin-top: 0; }
}

/* Extra Small (480px and below) */
@media (max-width: 480px) {
    /* Navbar */
    .navbar-brand { font-size: 1.1rem; }
    .navbar-brand .brand-logo { width: 28px; height: 28px; }
    
    .navbar-collapse .nav-buttons { flex-direction: column !important; gap: 0.75rem; }
    .navbar-collapse .btn-outline-custom { margin-top: 0.75rem; margin-left: 0 !important; }

    /* Hero */
    .hero-title { font-size: 1.75rem; }
    .hero-desc { font-size: 0.65rem; }

    /* Tips */
    .tips-section .section-title { font-size: 1.3rem; }
    .circle-icon, .circle-icon.larger { width: 100px; height: 100px; font-size: 2.2rem; }

    /* Banner */
    .banner-title { font-size: 1.3rem; }
    .banner-desc { font-size: 0.75rem; }

    /* Footer */
    .main-footer { padding-top: 6rem; padding-bottom: 5rem; }
}