body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1556912172-45b7abe8b7e1?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    min-height: 500px;
}

/* Service Cards Enhancement */
.service-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

.service-card .card-body {
    padding: 1.25rem 0.75rem;
}

.service-card .card-title {
    margin-bottom: 0;
    font-weight: 600;
    color: #222;
    transition: color 0.3s;
}

.service-card:hover .card-title {
    color: #0d6efd;
}

/* Blog Post Styling */
.blog-post {
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
}

.blog-post img {
    transition: opacity 0.3s;
}

.blog-post img:hover {
    opacity: 0.95;
}

/* Logo Slider (Marquee effect) */
.logo-slider-container {
    overflow: hidden;
    padding: 60px 0;
    background: #fff;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.logo-track {
    display: inline-flex;
    animation: scroll 40s linear infinite;
}

.logo-item {
    padding: 0 60px;
    display: flex;
    align-items: center;
}

.logo-item img {
    height: 100px; /* Larger logos */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reference Cloud */
.reference-cloud {
    border-left: 5px solid #0d6efd;
    background: #f8f9fa;
    transition: all 0.3s;
}

.reference-cloud:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Navbar Customization */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-left: 15px;
    position: relative;
}

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

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

/* Buttons */
.btn-primary {
    border-radius: 4px;
    padding: 12px 35px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Contact Form */
.form-control {
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #eee;
    background-color: #fdfdfd;
    transition: all 0.3s;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
    background-color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .service-card .card-img-top {
        height: 150px;
    }
    .logo-item img {
        height: 70px;
    }
    .logo-item {
        padding: 0 30px;
    }
}
