/* 
 * Millennium Healthcare - Landing Page Styles
 * Created: April 15, 2025
 */

/* ======= Base Styles ======= */
:root {
    --primary-color: #0077b6;
    --primary-dark: #005f92;
    --primary-light: #90e0ef;
    --accent-color: #00b4d8;
    --light-gray: #f8f9fa;
    --medium-gray: #b6b6b6;
    --dark-gray: #343a40;
    --white: #ffffff;
    --black: #212529;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline; 
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

section {
    padding: 5rem 0;
}

/* ======= Thank You Page Styles ======= */
.thankyou-section {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    min-height: 80vh;
}

.thankyou-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thankyou-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thankyou-content .lead {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.thankyou-message {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    text-align: left;
}

.thankyou-message p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.thankyou-list {
    list-style: none;
    padding: 1rem 0;
    margin: 1.5rem 0;
}

.thankyou-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.thankyou-list li i {
    color: #28a745;
    font-size: 1.2rem;
}

.thankyou-message .note {
    background-color: var(--light-gray);
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    margin-top: 1.5rem;
    font-style: italic;
}

.next-steps {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.next-steps h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.contact-box {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.contact-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-box p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-box i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.thankyou-content .cta-buttons {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .thankyou-section {
        padding: 8rem 0 3rem;
    }

    .thankyou-content h1 {
        font-size: 2rem;
    }

    .success-icon {
        font-size: 3.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .thankyou-content .cta-buttons {
        flex-direction: column;
    }
}

/* ======= Header & Navigation ======= */
.header {
    background-color: rgb(255 238 192);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 600;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
}

/* ======= Hero Section ======= */
.hero {
    position: relative;
    min-height: 600px;
    height: auto;
    background-color: var(--primary-light) ;
    background-image: url("images/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    padding: 3rem 0;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 119, 182, 0.1), rgba(0, 180, 216, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-services {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* ======= About Section ======= */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.about-contact {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-contact h2, .about-services h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-contact address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

.about-contact p {
    margin-bottom: 0.7rem;
}

.about-services {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subtitle {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-left: 1.5rem;
}

.about-contact i {
    color: var(--primary-color);
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
}

/* Placeholder Images */
.placeholder-image {
    width: 100%;
    height: 300px;
    border-radius: var(--radius);
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: "\f0f0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 5rem;
    opacity: 0.2;
}

.placeholder-image.clinic-exterior {
    background-color: var(--primary-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='0' y2='100%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%2300b4d8'/%3E%3Cstop offset='1' stop-color='%2390e0ef'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='800'/%3E%3Cg %3E%3Cpath fill='%23ffffff' d='M200,120 L600,120 L600,400 L400,550 L200,400 Z'/%3E%3Crect fill='%23ffffff' x='350' y='400' width='100' height='150'/%3E%3Cpath fill='%23ffffff' d='M150,400 L250,400 L250,600 L150,600 Z'/%3E%3Cpath fill='%23ffffff' d='M550,400 L650,400 L650,600 L550,600 Z'/%3E%3Cpath fill='%23ffffff' d='M300,450 L500,450 L500,500 L300,500 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.services h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.services ul {
    list-style: none;
}

.services li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

.services i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 1.5rem;
    text-align: center;
}

/* ======= Hours Section ======= */
.hours-section {
    background-color: var(--light-gray);
}

.hours-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hours-card h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.hours-card i {
    margin-right: 0.5rem;
}

.hours-grid {
    display: grid;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 0.5rem;
}

.day {
    font-weight: 600;
}

.hours-warning {
    margin-top: 1.5rem;
    text-align: center;
    background-color: #fff3cd;
    border-radius: var(--radius);
    padding: 1rem;
    color: #856404;
}

.hours-warning i {
    color: #856404;
}

/* ======= Registration Form ======= */
.registration {
    background-color: var(--light-gray);
}

.registration-title {
    color: #ffc107; /* Yellow color */
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.signup-cta {
    color: var(--primary-dark); /* Dark blue */
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.registration-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.registration-content {
    max-width: 1200px;
    margin: 0 auto;
}

.registration-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.registration-form-container {
    width: 100%;
}

/* Make the layout responsive */
@media (max-width: 900px) {
    .registration-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .registration-form-container {
        order: 1;
    }
    
    .hours-section {
        order: 2;
        margin-bottom: 0;
        margin-top: 2rem;
    }
}

.registration h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.registration p {
    text-align: center;
    margin-bottom: 0rem;
}

form {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

fieldset {
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

legend {
    padding: 0 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: normal;
}

.radio-group input {
    width: auto;
    margin-right: 0.5rem;
}

textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* ======= Footer ======= */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

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

#contact .footer-links a {
    color: var(--white);
    transition: all 0.3s ease;
}

.footer a {
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 1.5rem;
    margin-right: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======= Responsive Styles ======= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        height: auto;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: 0;
        height: auto;
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    fieldset {
        padding: 1rem;
    }
}

@media (max-width: 400px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    .registration-title {
        font-size: 1.8rem;
    }

    .signup-cta {
        font-size: 1.4rem;
    }

    .registration-subtitle {
        font-size: 0.9rem;
    }

    form {
        padding: 1rem;
    }

    fieldset {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    legend {
        font-size: 0.9rem;
    }

    input, select, textarea {
        padding: 0.65rem;
        font-size: 0.95rem;
    }

    label {
        font-size: 0.9rem;
    }

    .radio-group {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .hours-card {
        padding: 1.25rem;
    }

    .submit-btn {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
}
