/* 
 * Zenith TeleHealth Landing Page Styles
 * Colors: Primary Blue #4c6cff, Text Blue #001b96
 */

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Inter', sans-serif;
    color: #001b96;
    line-height: 1.6;
}

.funnel-display {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-blue: #4c6cff;
    --text-blue: #001b96;
    --light-blue: #edf0ff;
    --white: #ffffff;
    --outline-color: #001b96;
    --admin-purple-light: rgb(139, 0, 174);
    --admin-purple-dark: rgb(83, 0, 104);
}

/* Focus styles for accessibility */
*:focus {
    outline: 4px solid var(--primary-blue) !important;
    outline-offset: 3px;
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

.navbar-brand {
    font-weight: 400;
    color: var(--text-blue) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wave {
    font-size: 1.5rem;
}

.welcome-text {
    color: var(--text-blue);
    font-size: 1.2rem;
}

.welcome-name {
    color: var(--admin-purple-light);
    font-size: 1.2rem;
}

.nav-link {
    color: var(--text-blue) !important;
    font-size: 1.3rem;
    font-weight: 300;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-link-active {
    font-weight: 500 !important;
    color: var(--primary-blue) !important;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Mobile navbar styles */
.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
    
    /* Best practice properties for rendering and alignment */
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle; /* Helps align with text in buttons */

    /* Your original settings */
    font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    transition: all 0.4s ease;
}

.btn-primary:hover .material-symbols-outlined {
    transform: translateX(8px);
    background-color: white;
    border-radius: 100px;
    width: 24px;
    color: var(--primary-blue);
}

.btn-outline-admin:hover .material-symbols-outlined {
    transform: translateX(8px);
    color: var(--admin-purple-light);
}

.btn-filled-admin:hover .material-symbols-outlined {
    transform: translateX(8px);
    background-color: white;
    border-radius: 100px;
    width: 24px;
    color: var(--admin-purple-light);
}

.btn-close-mobile {
    background: none;
    border: none;
    padding: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    font-weight: 300;
    padding: 0.75rem 1.5rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
}

.btn-text {
    transition: all 0.4s ease;
}

.btn-primary:hover .btn-text {
    transform: translateX(-8px);
}

.btn-primary:hover {
    background-color: #3b59e6;
    border-color: #3b59e6;
    border-radius: 40px;
}

.btn-primary:focus {
    box-shadow: 0 0 0 2px var(--outline-color);
}

.btn-filled-admin {
    background-color: var(--admin-purple-light);
    color: white;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
}

.btn-filled-admin:hover {
    background-color: var(--admin-purple-dark);
    border-radius: 40px;
    color: white;
}

.btn-admin-text-dashboard {
    color: white;
    transition: all 0.4s ease;
}

.btn-filled-admin:hover .btn-admin-text-dashboard {
    transform: translateX(-8px);
}

.btn-outline-admin {
    border-color: var(--admin-purple-light);
    color: var(--admin-purple-light);
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
}

.btn-outline-admin:hover {
    border-color: var(--admin-purple-light);
    border-radius: 40px;
}

.btn-admin-text-login {
    color: var(--admin-purple-light);
    font-weight: 400;
    transition: all 0.4s ease;
}

.btn-outline-admin:hover .btn-admin-text-login {
    transform: translateX(-8px);
}

.btn-admin-filled {
    background-color: var(--admin-purple-light);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background-color: transparent;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 150px 0 30px;
    background-color: var(--white);
}

#hero-container {
    border: 2px solid var(--primary-blue);
    border-radius: 24px;
    padding: 2rem;
}

/*
.hero-content {
    padding-right: 2rem;
}
*/

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-blue);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 280;
    color: var(--text-blue);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* ===== HERO IMAGE & CAROUSEL ===== */
.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(76, 108, 255, 0.2);
}

.carousel-inner {
    border-radius: 24px;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}

.carousel-indicators button.active {
    background-color: var(--primary-blue);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--primary-blue);
    padding: 0;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    background-color: var(--light-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(76, 108, 255, 0.15);
    cursor: pointer;
}

.service-image-container {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.service-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover .service-image {
    transform: scale(1.5);
}

.service-content {
    padding: 2rem;
    padding-top: 1rem;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-underline {
    width: 80%;
    height: 1px;
    background-color: var(--primary-blue);
    margin: 1rem 0 1rem 0;
}

.service-description {
    color: var(--text-blue);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta-section {
    padding: 60px 0;
    background-color: var(--white);
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-blue);
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 40px;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.footer-links ul {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-legal {
    text-align: right;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: white;
}

/* ===== DEBUG SECTION ===== */
.debug-section {
    background: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #ddd;
}

.debug-content {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 991.98px) {
    /* Mobile navbar full screen */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        z-index: 1055;
        padding: 2rem;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 0 !important;
    }

    .btn-filled-admin {
        width: 30%;
        align-self: center;
    }

    .btn-outline-admin {
        width: 30%;
        align-self: center;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 100px 0 60px;
    }

    #hero-container {
        border: none;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Services mobile */
    .section-title {
        font-size: 4rem;
    }
    
    .service-title {
        font-size: 1.6rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    /* Footer mobile */
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-legal {
        text-align: left;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .btn-filled-admin {
        width: 30%;
        align-self: center;
    }

    .btn-outline-admin {
        width: 30%;
        align-self: center;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-image-container {
        height: 150px;
        padding: 1.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .btn-filled-admin {
        width: 50%;
        align-self: center;
    }

    .btn-outline-admin {
        width: 50%;
        align-self: center;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
    
    .cta-title {
        font-size: 1.3rem;
    }
    
    .footer-title {
        font-size: 1.6rem;
    }
    
    .carousel-item img {
        height: 250px;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid var(--text-blue);
    }
    
    .btn-primary, .btn-outline-primary {
        border-width: 2px;
    }
}