@import url('https://fonts.cdnfonts.com/css/geist');

/* ======================================== */
/* VARIABLES                                */
/* ======================================== */
:root {
    --primary-color: #1B9AA6;
    --secondary-color: #3FBFA0;
    --accent-color: #2FC3D2;
    --accent-alt: #3FBFA0;
    --text-color: #2c3e50;
    --text-light: #FFFFFF;
    --background-color: #2FC3D2;
    --white: #ffffff;
    --gray-light: #f0f0f0;
    --gray-medium: #1B9AA6;
    --gray-dark: #1B9AA6;
    --dark-navy: #0A2A4A;

    --hero-primary: #2062C5;
    --hero-primary-dark: #1855B1;
    --hero-banner-gradient: linear-gradient(270deg, rgba(6, 29, 71, 0) 0%, rgba(6, 29, 71, 0.6) 100%);
    --hero-banner-thumb-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0) 30.52%, rgba(0, 0, 0, 0.9) 100%);
    --hero-btn-shadow: 0 10px 30px rgba(32, 98, 197, 0.25);
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #2FC3D2;
    line-height: 1.4;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    color: #FFFFFF;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 200;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ======================================== */
/* TYPOGRAPHY                               */
/* ======================================== */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #0A2A4A;
    margin-bottom: 30px;
}

/* ======================================== */
/* LAYOUT                                   */
/* ======================================== */
.main-content {
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 80px;
    }
}

.services-container {
    max-width: 1200px;
    margin: 70px auto 40px;
    padding: 30px 20px;
    width: 100%;
    position: relative;
    background: #fff;
    border-radius: 38px 38px 0 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 20px;
    width: 100%;
}

.service-card {
    flex: 0 0 300px;
    background: #eff1fe;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
    text-align: center;
    padding: 5px;
}

.service-icon {
    width: 173px;
    height: 173px;
    margin-bottom: 15px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.service-icon img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.service-title {
    color: #0A2A4A;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    min-height: 45px;
}

/* ======================================== */
/* DESKTOP HEADER                           */
/* ======================================== */
.header {
    position: absolute;
    width: min(1200px, calc(100vw - 40px));
    height: 80px;
    left: 50%;
    transform: translateX(-50%);
    top: 40px;
    background: #1B9AA6;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(27, 154, 166, 0.3);
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 30px;
    gap: 20px;
}

.logo {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-alt);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.doctor-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.doctor-name {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
}

.doctor-specialty {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    white-space: nowrap;
}

.search-container {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--white);
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--text-color);
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    border-color: var(--accent-color);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ======================================== */
/* RESPONSIVE BREAKPOINTS (BASE)            */
/* ======================================== */
@media (max-width: 1400px) {
    .header {
        width: calc(100vw - 40px);
    }
}

@media (max-width: 1024px) {
    .header-content {
        padding: 0 20px;
    }
    .services-container {
        padding: 0 15px;
    }
}
