/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px; /* Account for fixed navbar */
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #007bff !important;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
}

.nav-link:hover {
    color: #007bff !important;
}

.navbar-toggler {
    border-color: #007bff;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    width: 100%;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: sepia(30%) hue-rotate(190deg) saturate(120%);
}

/* Navigation dots */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* Overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-weight: 600;
    margin-bottom: 3rem;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff;
    margin: 20px auto;
}

/* Services Icons */
.card .fa-3x {
    color: #007bff;
    margin-bottom: 1.5rem;
}

/* Contact Form */
.form-control {
    padding: 0.8rem;
    border-radius: 0.5rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Footer */
footer {
    background-color: #1a1a1a;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

/* Animations */
.card, .btn, .form-control {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}