:root {
    --primary-color: #B03060;
    --secondary-color: #2986e2;
    --text-color: #333;
    --bg-light: #f8f9fa;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap&subset=latin-ext');

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.header-btn,
.slide-title-main,
.service-title {
    font-family: 'Poppins', sans-serif;
}


a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Header */
.top-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 0.9rem;
}

.main-header {
    padding: 20px 0;
    background: #fff;
}

.navbar {
    background-color: var(--primary-color);
    padding: 0;
}

.navbar .nav-link {
    color: #fff !important;
    padding: 15px 20px !important;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background-color: rgba(0, 0, 0, 0.1);
}

.header-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-btn:hover {
    color: #fff;
    background: #902048;
}

/* Slider */
.carousel-item {
    height: 500px;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 5px;
    color: #333;
    text-align: left;
    max-width: 500px;
    left: 10%;
    bottom: 20%;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 300;
    background: var(--secondary-color);
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 5px;
}

.slide-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

/* Section: Uzmanlık Alanları */
.section-services {
    padding: 60px 0;
}

.service-card {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
    height: 100%;
    border: 1px solid #eee;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--secondary-color);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .carousel-item {
        height: auto;
        /* Allow height to adjust */
        min-height: 250px;
        /* Minimum height for very small screens */
    }

    .carousel-item img {
        height: auto;
        /* Adjust image height naturally */
        min-height: 250px;
        object-fit: cover;
    }

    .carousel-caption {
        bottom: 10%;
        /* Adjust position */
        left: 5%;
        right: 5%;
        padding: 15px;
        max-width: 90%;
    }

    .slide-title-main {
        font-size: 1.2rem;
        /* Smaller title */
    }

    .slide-title {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: #222;
    color: #aaa;
    padding: 60px 0 20px;
}

footer h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

footer a {
    color: #aaa;
}

footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}