:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --text-color: #212529;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem; /* Slightly smaller base font */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h5 { font-size: 1.15rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    .display-4 { font-size: 2.5rem; }
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

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

.section-subtitle {
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

/* Navbar */
.navbar-brand img {
    height: 40px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Hero */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 70vh;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* About Section */
.about-img-container {
    position: relative;
    padding: 10px;
}

.about-img-main {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-text {
    padding-left: 1.5rem;
}

@media (max-width: 991px) {
    .about-text {
        padding-left: 0;
        margin-top: 2rem;
    }
}

.mvv-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.mvv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-bottom-color: var(--primary-color);
}

.mvv-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.why-us-item {
    display: flex;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.why-us-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 0.75rem;
}

/* Cards General */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

/* Category Cards */
.category-card .icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.category-card:hover .icon-box {
    transform: scale(1.1);
}

/* Service Cards */
.service-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
}

/* Team */
.team-card .card-img-top {
    transition: transform 0.5s ease;
}
.team-card:hover .card-img-top img {
    transform: scale(1.05);
}

.object-fit-cover {
    object-fit: cover;
}

/* Blog */
.blog-card .card-img-top {
    height: 180px;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 200px; /* Reduced height */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 1.5rem;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 0;
    font-size: 0.9rem;
}

footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Form */
.form-control {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

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

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

/* Utils */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
