/*
==============================
  General Styles
==============================
*/
:root {
    --primary-color: #4A89DC;
    --primary-dark: #3A70B9;
    --secondary-color: #4FC1E9;
    --accent-color: #5D9CEC;
    --light-color: #F5F7FA;
    --dark-color: #434A54;
    --text-color: #656D78;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #AAB2BD;
    --light-gray: #E6E9ED;
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #6c1413;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

section {
    padding: var(--section-padding);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: #6c1413;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(74, 137, 220, 0.3);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 137, 220, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: #6c1413;
    border: 2px solid #6c1413;
}

.secondary-btn:hover {
    background-color: #6c1413;
    color: var(--white);
    transform: translateY(-3px);
}

.section-title {
    margin-bottom: 50px;
}

.section-title span {
    display: inline-block;
    color: #6c1413;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: #6c1413;
}

.section-title.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/*
==============================
  Header Styles
==============================
*/
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar-scrolled {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #6c1413;
}

.navbar-scrolled .logo-text {
    color: #6c1413;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.nav-link:hover {
    color: #6c1413 !important;
}

.appointment-btn {
    background-color: #6c1413;
    color: var(--white) !important;
    border-radius: 50px;
    padding: 10px 20px !important;
    margin-left: 10px;
}

.appointment-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
}

/*
==============================
  Hero Section Styles
==============================
*/
.hero-section {
    padding: 180px 0 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #6c1413;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/*
==============================
  About Section Styles
==============================
*/
.about-section {
    background-color: var(--white);
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content p {
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.about-list li i {
    color: #6c1413;
    margin-right: 10px;
    font-size: 18px;
}

/*
==============================
  Services Section Styles
==============================
*/
.services-section {
    background-color: var(--light-color);
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(74, 137, 220, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 35px;
    color: #6c1413;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

/*
==============================
  Blog Section Styles
==============================
*/
.blog-section {
    background-color: var(--white);
}

.blog-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    background-color: var(--white);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 14px;
    color: #6c1413;
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-content p {
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: #6c1413;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/*
==============================
  Appointment Section Styles
==============================
*/
.appointment-section {
    background-color: var(--light-color);
}

.appointment-content {
    padding-right: 30px;
}

.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: #6c1413;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    margin-bottom: 0;
}

.appointment-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    padding: 10px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: #6c1413;
    box-shadow: none;
}

textarea.form-control {
    height: auto;
}

/*
==============================
  Contact Section Styles
==============================
*/
.contact-section {
    padding: 50px 0;
    background-color: var(--white);
}

.contact-card {
    background-color: #6c1413;
    padding: 40px;
    border-radius: var(--border-radius);
    color: var(--white);
}

.contact-card h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-social {
    margin-bottom: 20px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--white);
    color: #6c1413;
    transform: translateY(-3px);
}

.contact-btn {
    background-color: var(--white);
    color: #6c1413;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.contact-btn i {
    margin-right: 10px;
}

/*
==============================
  Footer Styles
==============================
*/
footer {
    background-color: var(--dark-color);
    color: var(--light-gray);
    padding: 80px 0 20px;
}

footer h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: #6c1413;
    color: var(--white);
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #6c1413;
    transform: translateX(5px);
}

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

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: #6c1413;
    margin-right: 15px;
    font-size: 18px;
    margin-top: 5px;
}

.footer-contact li span {
    flex: 1;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
}

/*
==============================
  Responsive Styles
==============================
*/
@media (max-width: 991px) {
    .hero-section {
        padding: 150px 0 80px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-content {
        margin-top: 40px;
    }

    .appointment-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 130px 0 60px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .contact-card {
        padding: 30px;
        text-align: center;
    }

    .contact-social {
        justify-content: center;
        display: flex;
    }

    .contact-btn {
        margin-top: 20px;
    }

    .appointment-form {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}
