/*
* Mikrobiolab - Laboratory Website Template
* Version: 1.0
*/

/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
:root {
    --primary-color: #0056b3;
    --secondary-color: #30a3f1;
    --accent-color: #28a745;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --mid-gray: #e9ecef;
    --dark-gray: #495057;
    --white: #ffffff;
    --black: #000000;
    --body-bg: #ffffff;
    --border-color: #dee2e6;
    --border-radius: 5px;
    --box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Arial Unicode MS';
    src: local('Arial Unicode MS');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0259, U+018F, U+011F, U+0131, U+015E, U+0049;
}

body {
    font-family: 'Arial Unicode MS', 'Segoe UI', 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.btn {
    padding: 10px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

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

.section-title h2 {
    font-size: 36px;
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

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

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.top-bar {
    background-color: #0056b3; 
    color: white;
    padding: 5px 0;
}

.top-bar a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.top-bar a:hover {
    color: rgba(255,255,255,0.8);
}

.header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile uyğunlaşdırma */
@media (max-width: 768px) {
    .top-bar .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .top-bar .contact-info a {
        margin-bottom: 5px;
    }
    
    .social-links {
        text-align: left;
        margin-top: 5px;
    }
}
.contact-info a {
    color: var(--white);
    margin-right: 20px;
    font-size: 14px;
}

.contact-info a i {
    margin-right: 5px;
}

.social-links {
    text-align: right;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 14px;
}

.social-links a:hover {
    opacity: 0.8;
}

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 15px;
    position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active:after,
.navbar-nav .nav-link:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Hero Slider
--------------------------------------------------------------*/
.hero-slider {
    position: relative;
    height: 600px;
}

.hero-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border-radius: 50%;
    margin-bottom: 20px;
}

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

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Page Banner
--------------------------------------------------------------*/
.page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.page-banner-content h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--white);
}

/*--------------------------------------------------------------
# Vision Mission
--------------------------------------------------------------*/
.vision-box,
.mission-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.vision-icon,
.mission-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border-radius: 50%;
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    height: 300px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-position {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Features / Why Choose Us
--------------------------------------------------------------*/
.feature-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Service Details
--------------------------------------------------------------*/
.service-details-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.service-details-content h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-features ul {
    padding-left: 0;
    list-style: none;
}

.service-features ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

.service-features ul li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-color);
}

.widget {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.services-list ul {
    padding-left: 0;
    list-style: none;
}

.services-list ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.services-list ul li:last-child {
    border-bottom: none;
}

.services-list ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    transition: var(--transition);
}

.services-list ul li a:hover {
    color: var(--primary-color);
}

.services-list ul li.active a {
    color: var(--primary-color);
}

.contact-widget .contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-widget .contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.contact-widget .contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-widget .contact-text p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    margin-right: 15px;
}

.contact-info-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info-text p {
    margin-bottom: 0;
}

.contact-social h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

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

.contact-social .social-links a:hover {
    background-color: var(--secondary-color);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
}

textarea.form-control {
    height: auto;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background-color: #071c36;
    color: var(--white);
    padding-top: 70px;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-social {
    margin-top: 20px;
}

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

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.footer-links li a {
    color: var(--white);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

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

.footer-contact li i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-color);
}

.footer-contact li a {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 40px;
    }
}

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

    .hero-slider, .hero-item {
        height: 500px;
    }

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

    .hero-content p {
        font-size: 16px;
    }

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

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

    .top-bar {
        text-align: center;
    }
    
    .top-bar .contact-info a {
        display: inline-block;
        margin-bottom: 5px;
        font-size: 12px;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }

    .social-links {
        text-align: center;
        margin-top: 10px;
    }

    .social-links a {
        margin: 0 8px;
    }

    .hero-slider, .hero-item {
        height: 400px;
    }

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

    .btn {
        padding: 8px 20px;
    }

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

    .team-img {
        height: 250px;
    }

    .page-banner {
        height: 200px;
    }

    .page-banner-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .hero-slider, .hero-item {
        height: 350px;
    }

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

    .hero-content p {
        font-size: 14px;
    }

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