/* Font Face */
/* Add to your app.css */
html {
    scroll-behavior: smooth;
}

/* Adjust for fixed navbar if you have one */
section {
    scroll-margin-top: 80px; /* Match your navbar height */
}
@font-face {
    font-family: 'Alata';
    src: url("../fonts/Alata-Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Base Styles */
body {
    text-align: justify;
    text-justify: inter-word;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.bimcare-font {
    font-family: 'Alata', sans-serif;
}
/* Navbar styling */
.navbar {
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #3498db;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 100%;
}

/* Section offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}
/* Alert Styles */
.alert {
    padding: 15px;
    margin-top: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* Hero Section */
.hero-section-full-height {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

#heroCarousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    padding: 40px 0;
}

.section-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.section-img:hover {
    transform: scale(1.02);
}

.text-content {
    padding: 30px;
}

.text-content p,
.text-content ul,
.text-content li {
    text-align: justify;
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: #3498db;
}

/* Service Cards */
.service-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none;
    background: white;
}

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

.service-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.service-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #7f8c8d;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Contact Section Styles */
.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
}

/* Button Styles */
.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section-full-height {
        height: 50vh;
    }

    .content-section {
        padding: 50px 0;
    }

    .text-content {
        padding: 20px 0;
    }

    .carousel-caption {
        width: 90%;
        padding: 15px;
    }

    .carousel-caption h5 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .section-img {
        margin-bottom: 20px;
    }
}
