/* Variables */
:root {
    --surface: #bbe9e9;
    --radius: 1.4rem;
    --speed: 150ms;

    --shadow-top-left: -30px -30px 48px rgba(255,255,255,0.0);
    --shadow-bottom-right: 30px 30px 48px rgba(0,0,0,0.25);
}

/* Layout */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

blockquote {
    font-size: 1.9rem;
}

/* Header Styles */
.site-header {
    background: #f8f8f8;
    padding: 2rem 0;
    position: relative;
    box-shadow: 1px 1px 12px #76a2a2
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.site-title {
    font-size: 4rem;
    font-weight: 300;
    color: #444444;
    text-transform: capitalize;
    font-style: normal;
    text-decoration: none;
    margin: 0;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.burger-icon {
    fill: #444444;
}

.burger-icon .line {
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 8.4rem;
    left: 0;
    width: 100%;
    background: #f8f8f8;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
    z-index: 1000;
}

.mobile-nav.active {
    transform: translateY(0);
    visibility: visible;
}

.mobile-nav-menu {
    list-style: none;
    padding: 2rem;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #0000000f;
}

.nav-link {
    color: #818181;
    text-decoration: none;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.mobile-nav-menu .login-link {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
}

.mobile-nav-menu .fa-user {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #818181;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    position: absolute;
    right: 0;
}

.desktop-login {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: inherit;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.desktop-login .fa-user {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid currentColor;
    border-radius: 50%;
}

/* Burger Animation */
.menu-open .line-1 {
    transform: translateY(21px) rotate(45deg);
}

.menu-open .line-2 {
    opacity: 0;
}

.menu-open .line-3 {
    transform: translateY(-21px) rotate(-45deg);
}

/* Responsive Nav Layout */
@media (max-width: 1268px) {
    .desktop-login { display: none; }
    .burger-menu { display: block; }
    .nav-menu { display: none; }
}

@media (min-width: 1268px) {
    .nav-container { justify-content: flex-start; }
    .site-title { margin: 0 auto; }
    .burger-menu { display: none; }
}

/* Background Graphics */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.site-background .top-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background-color: #9ce8e8;
    border-bottom-left-radius: 50% 30%;
    border-bottom-right-radius: 50% 30%;
}

.site-background .waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../_assets/headerbg.png') bottom right/cover no-repeat;
}

/* Footer grid layout */
.footer-grid {
    display: grid;
    grid-template-columns: 220px 1fr 420px;      /* logo | links | form */
    grid-template-areas: "logo links form";
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}



.footer-col.footer-logo {
    border-right: 1px solid #ccc; /* vertical separator */
    padding-right: 2rem;
}

.footer-newsletter .footer-newsletter-title {
    color: white;
    font-size: 36px;
    text-align: center;

}


.footer-col img {
    width: 200px; /* fixed width */
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.footer-links {
    padding-left: 2rem; /* spacing after separator */
}

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

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

.footer-links a {
    text-decoration: none;
    color: #444;
    transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
    color: #000;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Bottom copyright bar */
.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 1.4rem;
}


/* Form & Card Styles */
.we-need-to-style-this {
    background: var(--surface);
    padding: 4rem 3rem;
    border-radius: calc(var(--radius) * 1.5);
    box-shadow: var(--shadow-bottom-right);
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

label {
    font-weight: 600;
    color: #444;
}

/* Input & Select */
input,
select,
textarea{
    font: inherit;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: inset -2px -2px 4px rgba(255,255,255,0.6),
    inset 2px 2px 4px rgba(0,0,0,0.15);
    transition: box-shadow var(--speed), outline var(--speed);
}

input:focus, select:focus, textarea:focus  {
    outline: 2px solid rgba(0,123,255,0.55);
    box-shadow: inset -3px -3px 6px rgba(255,255,255,0.7),
    inset 3px 3px 6px rgba(0,0,0,0.18);
}

input::placeholder {
    color: #5f7c7c;
}

textarea {
    resize: vertical; /* allow the user to make it taller if desired */
}


/* Button */
.button-ctn {
    justify-self: start;
    padding: 0.9rem 2.2rem;
    border: 2px solid #d9f2f1;
    border-radius: var(--radius);
    background: var(--surface);
    color: #222;
    font-weight: 600;
    font-size: inherit;
    cursor: pointer;
    box-shadow: 6px 16px 19px -3px #0000002e;
    transition: box-shadow var(--speed), transform var(--speed);
}

.button-ctn:enabled:hover {
    transform: translateY(-2px);
}

.button-ctn:enabled:active {
    transform: translateY(0);
    box-shadow: var(--shadow-top-left), var(--shadow-bottom-right),
    inset var(--shadow-top-left), inset var(--shadow-bottom-right);
}

.button-ctn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* About Us */
.about-us {
    padding: 20px 5px;
}

.about-us__content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: row;
}

.about-us--reverse .about-us__content {
    flex-direction: row-reverse;
}

.about-us__text,
.about-us__image {
    flex: 1;
    padding: 20px;
}

.about-us__image img {
    display: block;
    width: 700px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 0 auto; /* centers the image */
}

.about-us__image_square img {
    display: block;
    width: 330px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.main_page_img {
    width: 800px
}


.test_img {
    box-shadow: 3px 17px 27px -19px #585858;
    border-radius: var(--radius);
    margin-top: 25px;
}


@media (max-width: 768px) {
    .about-us__content {
        flex-direction: column-reverse;
    }
}

/* Utility */
.short {
    height: 950px;
}

.cert_border {
    border-radius: 100%;
}

.testimonial {
    backdrop-filter: blur(10px);
    border-radius: 29px;
    padding: 20px 40px;
    box-shadow: 0px 15px 53px -45px;
    border: 2px solid #ffffff54;
    margin-bottom: 10rem;
}

.testimonial_txt {
    font-weight: 100;
}

/* Checklist */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.9rem;
}

.check-list li {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 18px;
}

.check-list li::before {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15em;
    line-height: 1;
    color: #5f5f5f;
    aria-hidden: true;
}

/* Main Content */
main {
    min-height: 50vh;
}

h1 {
    font-size: 312.5%;
    margin-bottom: 2rem;
    color: #444444;
    line-height: normal;
}

p {
    margin-bottom: 1.6rem;
    color: #444;
    font-size: 125%;
}

.mb-8{
    margin-bottom:8px;
}

.mt-8 {
    margin-top:8px;
}

.mb-10{
    margin-bottom:10px;
}

.mt-10{
    margin-top:10px;
}

.mb-15 {
    margin-bottom:15px;
}

.mt-15{
    margin-top:15px;
}

.mb-20 {
    margin-bottom:20px;
}

.mt-20{
    margin-top:20px
}


.mb-25 {
    margin-bottom: 25px;
}

.mt-25{
    margin-top:25px;
}

/* Cards */
.card-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-bottom-right);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--speed), box-shadow var(--speed);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-top-left), var(--shadow-bottom-right)
    inset var(--shadow-top-left) inset var(--shadow-bottom-right);
}

.card-image img {
    display: block;
    width: 100%;
    height: auto;
}

.card-title {
    font-size: 2rem;
    margin: 1.5rem 1.5rem 0.5rem;
    color: #333;
}

.card-desc {
    flex-grow: 1;
    font-size: 1.6rem;
    margin: 0 1.5rem 1.5rem;
    color: #444;
    line-height: 1.4;
}

.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card-link:focus {
    outline: 3px solid rgba(0,123,255,0.55);
    outline-offset: 2px;
}

.title-secondary {
    background: #cdfbfb;
    border-radius: 7px;
    padding-left: 11px;
}

/* Sidebar */
.sidebar {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 0.4rem;
}

.sidebar-title {
    font-size: 2rem;
    margin-bottom: 1.6rem;
    color: #444444;
}

/* Footer */
.site-footer {
    background: #f8f8f8;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    color: #666;
}

.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

/* Base table styles */
.table-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-bottom-right);
    overflow: hidden;
}

/* Header */
.table-wrapper thead {
    background: rgba(255, 255, 255, 0.6);
}
.table-wrapper th {
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    position: relative;
}
.table-wrapper th:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 60%;
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
}

/* Body rows */
.table-wrapper tbody tr {
    transition: background var(--speed), box-shadow var(--speed);
}
.table-wrapper tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}
.table-wrapper tbody tr:hover {
    background: #cbfcfc;
}

/* Cells */
.table-wrapper td {
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    color: #444;
    vertical-align: middle;
}

/* Special styling for location types */
.table-wrapper .location.online {
    font-style: italic;
}
.table-wrapper .location.community-center {
    font-weight: 600;
}

/* Make sure the table scrolls nicely on small screens */
@media (max-width: 768px) {
    .table-wrapper table {
        font-size: 1.4rem;
    }
    .table-wrapper th,
    .table-wrapper td {
        padding: 0.75rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col.footer-logo {
        border-right: none;     /* remove vertical separator */
        padding-right: 0;       /* remove desktop spacing */
        display: flex;          /* center the image */
        justify-content: center;
    }

    .footer-links {
        padding-left: 0;
        margin-top: 1.5rem;
    }

    .footer-links ul {
        display: inline-block;
        text-align: left;
    }
}