:root {
    --primary: #2a7cc7;
    --secondary: #3498db;
    --accent: #1abc9c;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --success: #27ae60;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
 }
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/*container*/
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

header {
    background: white;
    color: var(--dark);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    opacity: 90%;
    box-shadow: var(--shadow);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 10px;
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: 200px;
    margin-right: 10px;
}
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #2d9cdb;
}
.btn {
    display: inline-block;
    padding: 2px 20px;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-blue {
    background-color: #66B2FF;
    color: #222;
    padding: 2px 15px;
    border-radius: 24px;
    border: 2px solid #66B2FF;
}
.btn-outline-blue {
    background-color: transparent;
    color: rgb(102, 178, 255);
    border: 1px solid #66B2FF;
}

.btn-blue:hover {
    background-color: #469df4;
    border-color: #66B2FF;
    color: #f8f9fa;
}
.btn-red {
    background-color: rgb(255, 0, 0);
    color: #222;
    padding: 2px 15px;
    border-radius: 24px;
    border: 2px solid #a21a1a;
}
.btn-outline-red{
    background-color: transparent;
    color: #e51e1e;
    border: 1px solid #a21a1a;
}

.btn-red:hover {
    background-color: #e51e1e;
    border-color: #a21a1a;
    color: #f8f9fa;
}

.btn-green{
    background-color: #27ae60;
    color: #222;
    padding: 2px 15px;
    border-radius: 24px;
    border: 2px solid #1abc9c;
}
.btn-outline-green {
    background-color: transparent;
    color: rgb(8, 129, 28);
    border: 1px solid green;
}
.btn-green:hover{
    background-color: #27ae60;
    border-color: #1abc9c;
    color: #f8f9fa;
}

/* Hide text on small screens */
    @media (max-width: 768px) {
      nav ul li span {
        display: none;
      }

      nav ul li a {
        padding: 0.5rem;
      }

    }
/* Hero Section */
.hero {
    background: linear-gradient(rgba(102, 178, 255, 0.8), rgba(102, 178, 255, 0.9)), url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.btn-hero {
    display: inline-block;
    background-color: #e51e1e;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-hero:hover {
    background-color: #e51e1e;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(188, 26, 26, 0.815);
}

.btn-hero-outline {
    background-color: #e51e1e;
    border: 2px solid #a21a1a;
    color: #f8f9fa;
}

.btn-hero-outline:hover {
    background-color: #e51e1e;
    color: #f8f9fa;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2d9cdb;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #2d9cdb;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 30px;
    margin-top: 30px;
    text-decoration: none;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

.footer-bottom a{
    color: #ddd;
    text-decoration: none;
    font-size: 0.5rem;
}
.footer-bottom a:hover {
    color: #2d9cdb;
}
.footer-bottom .text-info {
    font-size: 12px;
}

/** Login section */
.login{
    min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
}
.login-container {
            width: 100%;
            max-width: 400px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            transform: translateY(0);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeIn 0.6s ease-out;
        }

        .login-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        }

        .login-header {
            background: linear-gradient(to right, #66B2FF, #2a78c6);
            color: white;
            text-align: center;
            padding: 30px 20px;
            position: relative;
        }

        .login-header h1 {
            font-weight: 600;
            font-size: 1.8rem;
            margin-bottom: 5px;
            letter-spacing: 0.5px;
        }

        .login-header p {
            font-weight: 300;
            opacity: 0.9;
        }

        .form-container {
            padding: 30px;
        }

        .input-group {
            margin-bottom: 20px;
            position: relative;
        }

        .input-group i {
            position: absolute;
            top: 16px;
            left: 15px;
            color: #66B2FF;
        }

        .input-group input {
            width: 100%;
            padding: 14px 14px 14px 45px;
            border: 1px solid #2a78c6;
            border-radius: 8px;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .input-group input:focus {
            outline: none;
            border-color: #66B2FF;
            box-shadow: 0 0 0 3px rgba(102, 179, 255, 0.2);
        }

        .options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            font-size: 14px;
        }

        .remember {
            display: flex;
            align-items: center;
        }

        .remember input {
            margin-right: 8px;
        }

        .forgot-password {
            color: #4776E6;
            text-decoration: none;
            transition: color 0.2s;
        }

        .forgot-password:hover {
            color: #66B2FF;
            text-decoration: underline;
        }

        .btn-login {
            width: 100%;
            padding: 14px;
            background: linear-gradient(to right, #66B2FF, #2a78c6);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(142, 84, 233, 0.3);
        }

        .btn-login:hover {
            background: linear-gradient(to right, #2a78c6, #66B2FF);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(142, 84, 233, 0.4);
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
            color: #777;
            font-size: 14px;
        }

        .divider::before,
        .divider::after {
            content: "";
            flex: 1;
            height: 1px;
            background: #2a78c6;
        }

        .divider span {
            padding: 0 15px;
        }

        .social-login {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .social-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .social-btn:hover {
            transform: translateY(-3px);
        }

        .fb {
            background: #3b5998;
        }

        .google {
            background: #dd4b39;
        }

        .twitter {
            background: #1da1f2;
        }

        .signup {
            text-align: center;
            margin-top: 25px;
            font-size: 14px;
            color: #555;
        }

        .signup a {
            color: #4776E6;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }

        .signup a:hover {
            color: #66B2FF;
            text-decoration: underline;
        }

        /* Responsive adjustments remember to add this to responsive file *
        @media (max-width: 480px) {
            .login-container {
                max-width: 100%;
            }

            .login-header {
                padding: 25px 15px;
            }

            .form-container {
                padding: 25px 20px;
            }

            .options {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
*/

/*** Register form*/
.terms {
            display: flex;
            align-items: flex-start;
            margin: 25px 0;
        }

        .terms input {
            margin-top: 5px;
            margin-right: 12px;
        }

        .terms label {
            font-size: 14px;
            color: #555;
            line-height: 1.5;
        }

        .terms a {
            color: #1b6ca8;
            text-decoration: none;
            font-weight: 600;
        }

        .terms a:hover {
            text-decoration: underline;
        }
        .login-link {
            text-align: center;
            margin-top: 25px;
            font-size: 15px;
            color: #555;
        }

        .login-link a {
            color: #1b6ca8;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }

        .login-link a:hover {
            color: #0f4c81;
            text-decoration: underline;
        }
/** Reset Password */
.back-to-login {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #555;
}

.back-to-login a {
    color: #1da1f2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.back-to-login a:hover {
    color: #1b6ca8;
    text-decoration: underline;
}

/*
.appointment-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-col {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.form-col label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-col input,
.form-col select {
    width: 100%;
    padding: 12px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}
*/

/* Modal Styles *
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
    padding: 30px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    color: #2a7fba;
    font-size: 1.8rem;
    font-weight: 600;
}

.close {
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}
*/
/* modal.css *

.custom-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal.show {
  opacity: 1;
  visibility: visible;
}

.custom-modal-content {
  position: relative;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.custom-modal.show .custom-modal-content {
  transform: scale(1);
}

.custom-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
*/
/* assets/styles/components/modal.css *
.modal-wrapper {
    display: contents;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal--visible {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal__content {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal--visible .modal__content {
    transform: translateY(0);
}

.modal__header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin: 0;
    font-size: 1.25rem;
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
    transition: color 0.2s;
}

.modal__close:hover {
    color: #333;
}

.modal__body {
    padding: 1.5rem;
    max-height: 65vh;
    overflow-y: auto;
}

.modal__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}

.modal__action {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.modal__action:hover {
    background: #4338ca;
}
*/
.custom-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal.show {
  visibility: visible;
  opacity: 1;
}

.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.custom-modal-content {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
}

.custom-modal.show .custom-modal-content {
  transform: translateY(0);
  opacity: 1;
}

.custom-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
