body {
    font-family: 'Arial', sans-serif;
    background-color: #e4ecfc;
    color: #052718;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #acc4cc;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 180px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #052718;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #3b4d3a;
    color: #e4ecfc;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.2rem;

}

/* Hero Section */
.hero {
    background-color: #acc4cc;
    color: #052718;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Buttons */
/* Унифицированный стиль кнопок */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.btn.auth {
    background-color: #3b4d3a;
    color: #e4ecfc;
    width: 100%; /* Растягиваем кнопку по контейнеру */
    padding: 1rem;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn.auth:hover {
    background-color: #052718;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 77, 58, 0.3);
}

/* Контейнер кнопок */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.btn.primary {
    background-color: #3b4d3a;
    color: #e4ecfc;
}

.btn.secondary {
    background-color: #acc4cc;
    color: #052718;
    border: 2px solid #052718;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.features {
    padding: 4rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: #acc4cc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.about {
    padding: 4rem 0;
    background-color: #e4ecfc;
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    padding: 0 2rem;
}

.about h2 {
    text-align: center;
    color: #052718;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-bottom: 3rem;
}

.info-card {
    background-color: #acc4cc;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-card h3 {
    color: #052718;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: #052718;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: #acc4cc;
    color: #052718;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #052718;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about-content {
        padding: 0 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .about h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .map-container {
        height: 350px;
    }
}

/* Add these new styles for About page */
.about-hero {
    background-color: #acc4cc;
    color: #052718;
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.about-wrapper {
    padding: 2rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background-color: #acc4cc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.card-inner {
    padding: 2rem;
    text-align: center;
}

.card-inner h2 {
    color: #052718;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.card-inner ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.card-inner li {
    margin-bottom: 0.8rem;
    color: #052718;
}

.facilities-section {
    margin: 4rem 0;
    text-align: center;
}

.facilities-section h2 {
    margin-bottom: 3rem;
    color: #052718;
    font-size: 2.5rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.facility-card {
    background-color: #acc4cc;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.location-section {
    margin: 4rem 0;
    text-align: center;
}

.location-section h2 {
    margin-bottom: 2rem;
    color: #052718;
    font-size: 2.5rem;
}

.auth-section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e4ecfc;
    background-image: linear-gradient(135deg, #e4ecfc 0%, #acc4cc 100%);
}

.auth-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem;
    background-color: rgba(172, 196, 204, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.auth-container h2 {
    text-align: center;
    color: #052718;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
}

.auth-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #3b4d3a;
    border-radius: 2px;
}

.auth-form {
    display: flex;
    flex-direction: column;  
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.form-group label {
    color: #052718;
    font-weight: 500;
    font-size: 1.1rem;
}

.form-group input {
    padding: 1rem;
    border: 2px solid rgba(59, 77, 58, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(228, 236, 252, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #3b4d3a;
    background-color: rgba(228, 236, 252, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 77, 58, 0.1);
}

.checkbox-label {
    display: flex; 
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    accent-color: #3b4d3a;
}

.btn.primary {
    background-color: #3b4d3a;
    color: #e4ecfc;
    padding: 1.1rem 2rem;
    max-width: 200px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}


.btn.primary:hover {
    background-color: #052718;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 77, 58, 0.3);
}

.auth-links {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.auth-links a {
    color: #3b4d3a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.auth-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3b4d3a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.auth-links a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
        padding: 2rem;
    }

    .auth-section {
        padding: 2rem 0;
    }

    .auth-container h2 {
        font-size: 1.8rem;
    }

    .form-group input {
        padding: 0.8rem;
    }

    .btn.primary {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p {
        font-size: 1.2rem;
    }
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
    text-align: center;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.map-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .map-container {
        width: 100%;
    }
}

/* Schedule Page Styles */
.schedule-hero {
    background-color: #acc4cc;
    padding: 4rem 0;
    text-align: center;
    color: #052718;
}

.schedule-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.schedule-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.schedule-section {
    padding: 4rem 0;
    background-color: #e4ecfc;
}

.schedule-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.schedule-filters {
    padding: 1.5rem;
    background-color: #acc4cc;
}

.schedule-select {
    padding: 0.8rem 1.5rem;
    border: 2px solid #3b4d3a;
    border-radius: 8px;
    font-size: 1rem;
    color: #052718;
    background-color: #e4ecfc;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.schedule-select:focus {
    border-color: #052718;
    box-shadow: 0 0 0 3px rgba(59, 77, 58, 0.2);
}

.schedule-table {
    padding: 1.5rem;
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #acc4cc;
}

.schedule-table th {
    background-color: #3b4d3a;
    color: #e4ecfc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.schedule-table tr:hover {
    background-color: rgba(172, 196, 204, 0.1);
}

.doctor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.doctor-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-info span {
    font-weight: 500;
    color: #052718;
}

@media (max-width: 768px) {
    .schedule-table {
        overflow-x: auto;
    }

    .schedule-table table {
        min-width: 800px;
    }

    .schedule-hero h1 {
        font-size: 2rem;
    }

    .schedule-hero p {
        font-size: 1rem;
    }
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #e4ecfc;
    color: #052718;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Шапка */
header {
    background-color: #acc4cc;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 180px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #052718;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #3b4d3a;
    color: #e4ecfc;
}

/* Главный блок (hero) */
.doctors-hero {
    background-color: #acc4cc;
    color: #052718;
    padding: 4rem 0;
    text-align: center;
}

.doctors-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Раздел с врачами */
.doctors-section {
    padding: 4rem 0;
}

.doctors-filters {
    text-align: center;
    margin-bottom: 2rem;
}

.doctors-select {
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #052718;
}

/* Карточки врачей */
/* Карточки врачей */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Увеличена минимальная ширина */
    gap: 2rem;
}

.doctor-card {
    background-color: #acc4cc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px; /* Добавлено для увеличенной высоты */
}

.doctor-card:hover {
    transform: translateY(-5px);
}

/* Убираем дублирующийся заголовок */
.doctor-name {
    display: none;
}

/* Информация о докторе */
.doctor-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.doctor-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.specialty {
    font-weight: bold;
    font-size: 1.1rem;
    color: #3b4d3a;
}

.experience {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Уменьшаем кнопку с расписанием */
.doctor-schedule {
    background-color: #e4ecfc;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    min-width: 80px; /* Сужаем кнопку */
    text-align: center;
    line-height: 1.4;
}


.doctor-image img {
    width: 100%;
    height: auto;
}

.doctor-info {
    padding: 1.5rem;
    text-align: center;
}

.doctor-info h3 {
    margin-bottom: 0.5rem;
}

.specialty {
    font-weight: bold;
    color: #3b4d3a;
}

.experience {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.doctor-schedule {
    background-color: #e4ecfc;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.btn.primary {
    background-color: #3b4d3a;
    color: #e4ecfc;
}

.btn.primary:hover {
    background-color: #052718;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 77, 58, 0.3);
}

/* Подвал */
footer {
    background-color: #acc4cc;
    color: #052718;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info,
.footer-hours {
    flex: 1;
}

.footer-info h3,
.footer-hours h3 {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #052718;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Appointment Page Styles */
.appointment-hero {
    background-color: #acc4cc;
    padding: 4rem 0;
    text-align: center;
    color: #052718;
}

.appointment-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.appointment-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.appointment-section {
    padding: 4rem 0;
    background-color: #e4ecfc;
}

.appointment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: rgba(172, 196, 204, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.form-group label {
    color: #052718;
    font-weight: 500;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(59, 77, 58, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(228, 236, 252, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b4d3a;
    background-color: rgba(228, 236, 252, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 77, 58, 0.1);
}

.appointment-form .btn.primary {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .appointment-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .appointment-hero h1 {
        font-size: 2rem;
    }

    .appointment-hero p {
        font-size: 1rem;
    }
}
