@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0d9488;
    --primary-hover: #0f766e;
    --secondary-color: #10b981;
    --dark-blue: #1e293b;
    --text-primary: #334155;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition-speed: 0.3s;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Urbanist', sans-serif;
    color: var(--dark-blue);
    font-weight: 700;
}

p {
    line-height: 1.7;
    color: var(--text-secondary);
}

.btn-modern {
    padding: 12px 28px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: inline-block;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

nav {
    animation: showDown 0.8s ease-in-out;
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav.bg-white {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    border-radius: 8px;
}

.nav-link {
    border-radius: var(--border-radius-sm);
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: all var(--transition-speed) ease-in-out;
}

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

@media screen and (max-width: 576px) {
    #navbarSupportedContent {
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: var(--border-radius-sm);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        margin-top: 10px;
    }
}

.main-container {
    padding: 0;
    margin: 0;
}

#main {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url('../images/fisio10.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 100px;
    /* Space for the transparent navbar overlay */
    margin: 0;
}

.main-info h1 {
    font-size: 4.5rem;
    animation: showUp 1s ease-in-out;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.main-info p {
    font-size: 1.25rem;
    animation: showUp 1.2s ease-in-out;
    margin-bottom: 30px;
}

#team {
    background-color: var(--white);
}

#team .description h2 {
    font-size: 3rem;
    color: var(--dark-blue);
}

#team .images img {
    width: 350px;
    height: 350px;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}

#team .images img:hover {
    transform: scale(1.02);
}

#services {
    background-color: var(--bg-light);
}

.services-info h1 {
    font-size: 3.5rem;
    color: var(--dark-blue);
}

.services-info p {
    color: var(--text-secondary);
}

.service-card {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.service-card .card-body {
    padding: 2rem;
}

.service-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s ease;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-hover);
}

#benefies {
    position: relative;
    background-color: var(--white);
}

.benefie {
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.benefie:hover {
    transform: translateY(-5px);
}

.benefie .icon {
    width: 80px;
    height: 80px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.benefie h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefie p {
    font-size: 1rem;
}

#date {
    background-color: var(--bg-light);
    padding-bottom: 4rem;
}

#date h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 3rem;
}

.form-control {
    border-radius: var(--border-radius-sm);
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

form label {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.adress-info img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

footer {
    background-color: var(--dark-blue);
    color: var(--white);
}

footer h3 {
    color: var(--white);
}

footer p {
    color: var(--white) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white) !important;
}

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

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

.social .links iconify-icon {
    color: var(--white) !important;
}

@keyframes showUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes showDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shape-fill {
    fill: var(--white);
}

.custom-shape-divider-bottom-1671324272,
.custom-shape-divider-top-1671502078 {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1671324272 {
    bottom: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1671502078 {
    top: 0;
}

.custom-shape-divider-bottom-1671324272 svg,
.custom-shape-divider-top-1671502078 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

@media screen and (min-width: 768px) {

    .custom-shape-divider-bottom-1671324272 svg,
    .custom-shape-divider-top-1671502078 svg {
        height: 150px;
    }
}

@media screen and (max-width: 992px) {
    .main-info h1 {
        font-size: 3.5rem;
    }

    #team .images img {
        width: 250px;
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .main-info h1 {
        font-size: 2.8rem;
    }

    #main {
        background-position: center top;
    }

    .contact-card {
        padding: 1.5rem;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 2rem;
    }

    .adress-info {
        flex-direction: column !important;
    }

    .adress-info img {
        width: 100%;
        margin-top: 1rem;
    }

    .service-card img {
        height: 200px;
    }

    #date h1 {
        font-size: 2.5rem;
    }
}