/* Zoomed-In Light Theme Navbar Layout */
.navbar {
    background-color: #ffffff; 
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Stronger shadow for depth */
    border-bottom: 2px solid #e2e8f0; /* Thicker bottom border */
}

.nav-container {
    max-width: 1400px; /* Wider container area */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px; /* Zoomed: Increased vertical and horizontal padding */
}

/* Brand & Circular Logo Alignment */
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 16px; /* Zoomed: More space between logo and text */
}

.logo-circle {
    width: 60px;  /* Zoomed: Increased from 45px */
    height: 60px; /* Zoomed: Increased from 45px */
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e74c3c; /* Zoomed: Thicker border accent */
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    color: #2c3e50; 
    font-size: 1.8rem; /* Zoomed: Increased from 1.4rem */
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Menu Container & Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px; /* Zoomed: Increased gap between links and button */
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 12px; /* Zoomed: More breathing room between links */
}

.nav-item {
    color: #2d3748; /* Slightly darker gray for better contrast */
    text-decoration: none;
    padding: 10px 18px; /* Zoomed: Larger clickable surface area */
    font-size: 1.15rem; /* Zoomed: Increased from 0.95rem */
    font-weight: 600; /* Zoomed: Slightly bolder text */
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-item:hover {
    color: #e74c3c; 
    background-color: #f1f5f9; /* Darker hover tint for high visibility */
}

/* Donate Blood Action Button */
.nav-btn-donate {
    background-color: #e74c3c; 
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px; /* Zoomed: Larger, easier to tap button size */
    font-weight: bold;
    font-size: 1.15rem; /* Zoomed: Increased from 0.95rem */
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.25); /* Zoomed: Stronger button shadow */
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-btn-donate:hover {
    background-color: #c0392b;
    transform: translateY(-2px); /* Slight lift effect */
}

/* Mobile Hamburger Trigger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #2c3e50; 
    font-size: 2.4rem; /* Zoomed: Much larger icon for mobile touch targets */
    cursor: pointer;
}

/* Responsive System for Mobile Devices */
@media (max-width: 1024px) { /* Trigger mobile layout slightly earlier for large text */
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 94px; /* Adjusted contextually to match larger height */
        left: 0;
        background-color: #ffffff; 
        border-top: 2px solid #e2e8f0;
        padding: 30px 0;
        gap: 25px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-item {
        display: block;
        text-align: center;
        padding: 16px 0;
    }
    
    .nav-btn-donate {
        width: 85%;
        text-align: center;
        box-sizing: border-box;
        margin: 0 auto;
    }
}
/* Terms & Conditions Block Styles */
.terms-section {
    border-top: 4px solid #e74c3c; /* Red top border to tie into the blood theme */
    background: #ffffff;
}

.terms-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.terms-icon {
    font-size: 2rem;
}

.terms-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

.terms-intro {
    color: #4a5568;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Scrollable Container Box */
.terms-content-box {
    background-color: #f8fafc; /* Light gray box background */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    max-height: 350px; /* Limits height and creates a scrollbar if content is longer */
    overflow-y: auto; /* Vertically scrollable */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.terms-content-box h3 {
    color: #2d3748;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.terms-content-box h3:not(:first-child) {
    margin-top: 24px; /* Space out the sections inside the box */
}

.terms-content-box p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.terms-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e1;
}

.notice-text {
    color: #c0392b;
    background-color: #695151;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

/* Customize the scrollbar appearance inside the text area for a premium look */
.terms-content-box::-webkit-scrollbar {
    width: 8px;
}

.terms-content-box::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}

.terms-content-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

.terms-content-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
/* Import Google Font for a Clean, Modern Premium App Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Base Font Override for the whole site to ensure premium look */
body, input, select, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Keyframes definition for the page entry animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Application of the Animation */
.animated-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Detailed Terms Section Structural Layout */
.terms-section {
    border-top: 5px solid #e74c3c;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.terms-section:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* Dynamic shadow shift on hover */
}

.terms-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.terms-icon {
    font-size: 2.2rem;
}

.terms-section h2 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.terms-intro {
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Expanded Scroll Box Style */
.terms-content-box {
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 32px;
    max-height: 500px; /* Zoomed: Taller container window for dense reading */
    overflow-y: auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
}

.terms-block {
    margin-bottom: 30px;
}

.terms-block:last-child {
    margin-bottom: 0;
}

.terms-content-box h3 {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}

.terms-content-box p {
    color: #334155;
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 12px 0;
}

/* Custom List Styles for Eligibility Specs */
.eligibility-list {
    margin: 0;
    padding-left: 24px;
}

.eligibility-list li {
    color: #334155;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.eligibility-list li strong {
    color: #0f172a;
}

/* Bottom Notice Box Styling */
.terms-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px dashed #e2e8f0;
}

.notice-text {
    color: #b91c1c;
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 16px 24px;
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Premium Custom Scrollbar Layout */
.terms-content-box::-webkit-scrollbar {
    width: 10px;
}

.terms-content-box::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.terms-content-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

.terms-content-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
/* Footer Container Styles */
.site-footer {
    background-color: #312a2a;
    border-top: 2px solid #e2e8f0;
    padding: 60px 20px 20px 20px; /* Generous top padding for breathing space */
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

/* Column Rules */
.footer-column {
    flex: 1;
    min-width: 250px; /* Prevents columns from getting too squeezed */
}

/* Brand Area Custom Style */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.drop-icon {
    font-size: 1.8rem;
}

.footer-logo h3 {
    color: #ad0000;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.footer-tagline {
    color: #ce8d00;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Headings within columns */
.footer-column h4 {
    color: #9b9da3;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    border-left: 3px solid #e74c3c;
    padding-left: 10px;
}

/* Links List setup */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fffafa;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

/* Emergency section inside footer */
.emergency-list-footer {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #f5f5f5;
    font-size: 1.1rem;
    line-height: 1.7;
}

.emergency-list-footer li {
    margin-bottom: 12px;
}

.footer-tel {
    color: #ff1900;
    text-decoration: none;
    font-weight: 700;
}

.footer-tel:hover {
    text-decoration: underline;
}

/* Bottom Bar Copyright section */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #0c1522;
    text-align: center;
}

.footer-bottom p {
    color: #bfc0c2;
    font-size: 1rem;
    margin: 0;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        min-width: 100%;
    }
}
/* Custom Additions for dedicated Terms page layout */
.main-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.terms-detailed-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 6px solid #e74c3c;
}

.terms-main-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.terms-main-icon {
    font-size: 3rem;
}

.terms-main-header h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin: 0;
}

.subtitle {
    color: #94a3b8;
    margin: 4px 0 0 0;
    font-size: 1rem;
}

.terms-intro-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #475569;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}

.policy-block {
    margin-bottom: 35px;
}

.policy-block h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 12px;
}

.policy-block p {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.7;
}

.policy-list {
    padding-left: 24px;
}

.policy-list li {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 10px;
}

.compliance-notice {
    background: #fff5f5;
    border-left: 4px solid #ef4444;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 40px;
}

.compliance-notice p {
    margin: 0;
    color: #b91c1c;
    font-size: 1.1rem;
    line-height: 1.6;
}

.active-link {
    color: #e74c3c !important;
    border-bottom: 2px solid #e74c3c;
    border-radius: 0 !important;
}
/* About Page Custom Layout Styles */
.about-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 6px solid #e74c3c;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.about-icon {
    font-size: 3rem;
}

.about-header h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin: 0;
}

.about-section-block h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
}

.about-section-block p {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Developer Profile Layout */
.profile-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #f8fafc;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}

.profile-avatar {
    font-size: 3rem;
    background: #e2e8f0;
    padding: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.profile-details h4 {
    margin: 0;
    font-size: 1.4rem;
    color: #0f172a;
}

.dev-title {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.1rem !important;
    margin: 4px 0 12px 0 !important;
}

/* DARK FOOTER STYLES */
.dark-footer {
    background-color: #111111 !important; /* Rich solid black background */
    border-top: none !important;
}

.dark-footer .footer-logo h3 {
    color: #ffffff !important; /* Pure white text */
}

.dark-footer .footer-tagline {
    color: #cbd5e1 !important; /* Soft light-gray color for tagline reading */
}

.dark-footer .footer-column h4 {
    color: #ffffff !important; /* Crisp white titles */
    border-left-color: #e74c3c;
}

.dark-footer .footer-links a {
    color: #cbd5e1 !important; /* Light text links */
}

.dark-footer .footer-links a:hover {
    color: #ef4444 !important; /* Light bright red hover effect */
}

.dark-footer .emergency-list-footer {
    color: #cbd5e1 !important; /* Soft white text */
    font-style: italic;
    color: #3498db;
}

.dark-footer .footer-tel {
    color: #ef4444 !important; /* Bright red numbers */
}

.dark-footer .footer-bottom {
    border-top: 1px solid #2d3748 !important; /* Darker border divider */
}

.dark-footer .footer-bottom p {
    color: #64748b !important; /* Clean gray copyright notice */
}

/* Responsive adjust for profile layout */
@media (max-width: 600px) {
    .profile-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* Homepage Layout System */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Split screen layout */
    gap: 40px;
    align-items: center;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

/* Quote Layout Design */
.health-quote-box {
    background: #f8fafc;
    border-left: 4px solid #e74c3c;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #e2e8f0;
    position: absolute;
    top: -5px;
    left: 10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.health-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quote-author {
    margin: 8px 0 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-align: right;
}

/* Heading & Paragraph Texts */
.hero-heading {
    font-size: 2.4rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 32px 0;
}

/* Highly Interactive Call-To-Action Button */
.action-holder {
    display: inline-block;
}

.interactive-search-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-search-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px); /* Lifts up slightly */
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.arrow-icon {
    transition: transform 0.2s ease;
}

.interactive-search-btn:hover .arrow-icon {
    transform: translateX(5px); /* Arrow glides forward on hover */
}

/* Right Side Image Frame */
.hero-banner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-frame {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: #f1f5f9;
    aspect-ratio: 4 / 5; /* Preserves a vertical/square composition grid */
}

.homepage-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Layout Shift */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        padding: 30px;
        gap: 30px;
    }
    
    .hero-banner {
        order: -1; /* Move banner image to top on mobile viewports */
    }
    
    .banner-frame {
        max-width: 100%;
        aspect-ratio: 16 / 9; /* Landscape photo box ratio for mobile screens */
    }
    
    .hero-heading {
        font-size: 2rem;
    }
}
/* Reset Body Margins for Absolute Edge-to-Edge Layout */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevents unwanted sideways scrolling */
}

/* Full Width Main Layout Wrapper */
.viewport-wrapper {
    width: 100%;
    min-height: 100vh; /* Takes full window height */
    display: flex;
    flex-direction: column;
}

/* Fluid Fullscreen Grid Configuration */
.hero-fullscreen {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    width: 100%;
    min-height: 100vh; /* Adjusts precisely to fill laptop screen windows */
    background: #ffffff;
}

/* Fluid Left Content Area */
.hero-content-fluid {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers items vertically in full display */
    padding: 60px 80px; /* Expansive layout padding */
    box-sizing: border-box;
}

/* Quote Layout Design */
.health-quote-box {
    background: #f8fafc;
    border-left: 5px solid #e74c3c;
    padding: 24px 32px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 40px;
    position: relative;
}

.quote-icon {
    font-size: 3.5rem;
    color: #e2e8f0;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.health-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quote-author {
    margin: 8px 0 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    text-align: right;
}

/* Heading & Paragraph Typography */
.hero-heading {
    font-size: 3rem; /* Expanded title for desktop monitors */
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 24px 0;
}

.hero-subtext {
    font-size: 1.3rem;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 40px 0;
}

/* Highly Interactive Call-To-Action Button */
.action-holder {
    display: inline-block;
}

.interactive-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 36px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-search-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.arrow-icon {
    transition: transform 0.2s ease;
}

.interactive-search-btn:hover .arrow-icon {
    transform: translateX(6px);
}

/* Fluid Right Side Image Wrapper */
.hero-banner-fluid {
    width: 100%;
    height: 100%;
    position: relative;
}

.homepage-banner-img {
    width: 50%;
    height: 100%;
    object-fit: cover; /* Commands image to stretch and cleanly mask the side screen */
    display: block;
}

/* Portable Adaptation Framework (Mobile & Tablet Screen Viewports) */
@media (max-width: 1024px) {
    .hero-fullscreen {
        grid-template-columns: 1fr; /* Drop multi-column structure */
    }

    .hero-banner-fluid {
        height: 45vh; /* Gives the image banner exactly 45% of the viewport height on mobile */
        order: -1; /* Pushes graphic visual elements above user action text on mobile layouts */
    }

    .hero-content-fluid {
        padding: 50px 25px; /* Adjusts breathing space safely for touch screen devices */
    }

    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-subtext {
        font-size: 1.15rem;
    }
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.viewport-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Flexbox keeps text on left and image on right on ALL screens */
.hero-fullscreen {
    display: flex;
    flex-direction: row; 
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Fluid Left Content Area */
.hero-content-fluid {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    box-sizing: border-box;
}

/* Quote Layout Design */
.health-quote-box {
    background: #f8fafc;
    border-left: 5px solid #e74c3c;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #e2e8f0;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.health-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quote-author {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-align: right;
}

.hero-heading {
    font-size: 2.6rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px 0;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.action-holder {
    display: inline-block;
}

.interactive-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.interactive-search-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* Fluid Right Side Circular Image Container */
.hero-banner-fluid {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

.circle-image-container {
    width: 380px;
    height: 380px;
    border-radius: 50%; /* Makes the frame perfectly circular */
    overflow: hidden;
    border: 6px solid #e74c3c; /* Striking crimson red border frame */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.homepage-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps image sharp inside the circle */
}

/* Mobile & Tablet Optimization (Keeps side-by-side positioning) */
@media (max-width: 768px) {
    .hero-fullscreen {
        padding: 20px;
        gap: 15px;
    }

    .hero-content-fluid {
        padding: 10px;
        flex: 1.4; /* Gives text slightly more room on tight screens */
    }

    .hero-banner-fluid {
        padding: 5px;
        flex: 0.6;
    }

    .circle-image-container {
        width: 140px; /* Scaled down beautifully for mobile screens */
        height: 140px;
        border: 4px solid #e74c3c;
    }

    .hero-heading {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-subtext {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .interactive-search-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .health-quote-box {
        padding: 12px 16px;
        margin-bottom: 15px;
    }

    .health-quote {
        font-size: 0.9rem;
    }
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.viewport-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Banner Wrapper */
.hero-bg-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Sets your image as the absolute background */
    background-image: url('banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Keeps content aligned left over the background */
    box-sizing: border-box;
}

/* Dark tint overlay layer */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 40%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

/* Content Container sitting above the overlay */
.hero-foreground-content {
    position: relative;
    z-index: 2; /* Ensures text is clickable and sits on top */
    max-width: 800px;
    padding: 60px;
    box-sizing: border-box;
}

/* Transparent Quote Box suited for dark backgrounds */
.health-quote-box {
    background: rgba(255, 255, 255, 0.07);
    border-left: 5px solid #e74c3c;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 35px;
    position: relative;
    backdrop-filter: blur(4px); /* Modern frosted-glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 5px solid #e74c3c;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.health-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #f1f5f9; /* Soft white text */
    line-height: 1.6;
    margin: 0;
}

.quote-author {
    margin: 8px 0 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
    text-align: right;
}

/* Crisp White Typography for Dark Background Theme */
.hero-heading {
    font-size: 3rem;
    color: #ffffff; /* High contrast bright white */
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtext {
    font-size: 1.25rem;
    color: #cbd5e1; /* Clear light grey readable text */
    line-height: 1.7;
    margin: 0 0 35px 0;
}

.action-holder {
    display: inline-block;
}

.interactive-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
}

.interactive-search-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.5);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .banner-overlay {
        /* Darkens the image slightly more on mobile for extreme readability */
        background: rgba(15, 23, 42, 0.85); 
    }

    .hero-foreground-content {
        padding: 30px 20px;
        width: 100%;
    }

    .hero-heading {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtext {
        font-size: 1.1rem;
    }

    .interactive-search-btn {
        padding: 14px 28px;
        font-size: 1.05rem;
        width: 100%; /* Full width button on mobile screens */
        justify-content: center;
    }

    .health-quote-box {
        padding: 16px;
        margin-bottom: 20px;
    }

    .health-quote {
        font-size: 1rem;
    }
}
/* Process Section Layout */
.process-section {
    padding: 60px 40px;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    border-top: 2px solid #e2e8f0;
}

.process-title-area {
    text-align: center;
    margin-bottom: 50px;
}

.process-icon {
    font-size: 3rem;
}

.process-title-area h2 {
    font-size: 2.4rem;
    color: #0f172a;
    font-weight: 700;
    margin: 10px 0;
}

.process-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Horizontal Flow Flex System */
.process-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    gap: 20px;
}

/* Operational Step Cards Layout */
.process-step-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    flex: 1;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Mid-Pipeline Highlight Styling */
.processing-highlight {
    border-color: #3498db;
    background-color: #f0f7fc;
}

/* Step Numeric Badges */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #64748b;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 8px;
    margin-bottom: 20px;
}

.secure-badge {
    background-color: #3498db;
}

.success-badge {
    background-color: #2ecc71;
}

.process-step-card h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.process-step-card p {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* Connection Icons logic */
.step-connector {
    font-size: 2rem;
    color: #cbd5e1;
    user-select: none;
    font-weight: bold;
}

/* Portable Smartphone Responsiveness Grid Break */
@media (max-width: 900px) {
    .process-grid {
        flex-direction: column; /* Stack vertically on phones */
        gap: 30px;
    }

    .step-connector {
        transform: rotate(90deg); /* Flips pointing arrows downwards */
        margin: -10px 0;
    }

    .process-step-card {
        width: 100%;
    }

    .process-title-area h2 {
        font-size: 1.8rem;
    }

    .process-subtitle {
        font-size: 1.1rem;
    }
}
/* Calculator Section Main Styles */
.calculator-section {
    padding: 60px 40px;
    background-color: #f8fafc;
    width: 100%;
    box-sizing: border-box;
    border-top: 2px solid #e2e8f0;
}

.calc-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.calc-form-box, .calc-result-box {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.calc-form-box h2 {
    font-size: 2rem;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.calc-instruction {
    color: #64748b;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* Input Styles */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
}

.input-group input {
    padding: 14px;
    font-size: 1.2rem;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    border-color: #e74c3c;
}

/* Action Trigger Button */
.calc-btn {
    background-color: #1e293b;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.calc-btn:hover {
    background-color: #0f172a;
}

/* Output Card Configurations */
.result-placeholder {
    text-align: center;
    color: #94a3b8;
    font-size: 1.2rem;
}

.status-alert {
    padding: 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: center;
}

.status-danger {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.status-success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.volume-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e74c3c;
    text-align: center;
    margin: 10px 0;
}

.volume-label {
    text-align: center;
    font-size: 1.2rem;
    color: #334155;
    font-weight: 600;
}

/* Portable Mobile Adjustment System */
@media (max-width: 768px) {
    .calc-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .calc-form-box, .calc-result-box {
        width: 100%;
        padding: 24px;
        min-height: auto;
    }

    .calculator-section {
        padding: 40px 20px;
    }
}
/* ==========================================================================
   ACCORDION FAQ COMPONENTS
   ========================================================================== */
.faq-section {
    padding: 60px 40px;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    border-top: 2px solid #e2e8f0;
}

.faq-title-area {
    text-align: center;
    margin-bottom: 40px;
}

.faq-main-icon {
    font-size: 3rem;
}

.faq-title-area h2 {
    font-size: 2.4rem;
    color: #0f172a;
    font-weight: 700;
    margin: 10px 0;
}

.faq-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-accordion-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

/* Clickable Trigger Area */
.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    outline: none;
}

.faq-trigger:hover {
    background-color: #f1f5f9;
}

.faq-arrow {
    font-size: 0.9rem;
    color: #64748b;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stretching Panel Functionality */
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #ffffff;
}

.faq-panel p {
    padding: 0 24px 24px 24px;
    margin: 0;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
}

/* Active Open States */
.faq-item.faq-active {
    border-color: #e74c3c;
}

.faq-item.faq-active .faq-trigger {
    color: #e74c3c;
}

.faq-item.faq-active .faq-arrow {
    transform: rotate(180deg);
    color: #e74c3c;
}

/* Portable Mobile Adjustment Layout */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 20px;
    }

    .faq-title-area h2 {
        font-size: 1.8rem;
    }

    .faq-trigger {
        padding: 16px;
        font-size: 1.05rem;
    }

    .faq-panel p {
        padding: 0 16px 16px 16px;
        font-size: 1rem;
    }
}
/* New Premium Dark Glassmorphism Form Theme Override */
        .glass-card {
            width: 100%;
            background: rgba(15, 23, 42, 0.65) !important;
            backdrop-filter: blur(16px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            padding: 40px;
            border-radius: 16px;
            box-sizing: border-box;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        }

        .glass-input {
            width: 100%;
            padding: 14px;
            font-size: 1.1rem;
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 8px;
            color: #ffffff !important;
            outline: none;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .glass-input:focus {
            background: rgba(255, 255, 255, 0.1) !important;
            border-color: #e74c3c !important;
            box-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
        }

        .glass-input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        /* Success Message Alert Card */
        .success-box {
            display: none;
            background: rgba(46, 204, 113, 0.15);
            border: 1px solid #2ecc71;
            color: #2ecc71;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            animation: fadeInUp 0.4s ease forwards;
        }
        /* ==========================================================================
   PREMIUM GLASSMORPHISM CONTACT FORM THEME
   ========================================================================== */

/* The Floating Glass Card Container */
.glass-card {
    width: 100%;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 40px;
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Glass-Styled Form Inputs & Textarea */
.glass-input {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    color: #ffffff !important;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Micro-interaction on input focus */
.glass-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #e74c3c !important;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.4);
}

/* Placeholder text color adjustment */
.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Custom Success Alert Message Box */
.success-box {
    display: none; /* Hidden by default, controlled via JS fetch status */
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    box-sizing: border-box;
}

/* Animations for seamless entry */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-box {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Scaling Overrides for Smartphones */
@media (max-width: 600px) {
    .glass-card {
        padding: 24px;
        border-radius: 12px;
    }
    
    .glass-card h2 {
        font-size: 1.9rem !important;
    }
    
    .glass-input {
        padding: 12px;
        font-size: 1rem;
    }
}
.admin-footer{
    color: #2ecc71;
    font-size: larger;
    font-family: Arial, Helvetica, sans-serif;
    display: auto;
    unicode-range: U+00-52F, U+1E00-1FFF, U+2200-22FF;
    text-underline-offset:inherit;
}
.style-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}
.style-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ef4444; /* Matches your red theme */
}
.style-checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569;
}

.app-download-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border: 2px solid #ef4444;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
}

.app-download-btn:hover {
    background: #ef4444;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

/*CODE COMPLETED, MISSION : GLOCAL TEEN HERO 2026 AWARD WINNER */