/* General Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004a99;
    --accent-color: #ff6b35;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    background: transparent;
    mix-blend-mode: lighten;
    filter: brightness(1.2) contrast(1.1);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Carousel */
.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.6);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.carousel-caption h1 {
    animation: fadeInUp 1s ease;
}

.carousel-caption p {
    animation: fadeInUp 1.2s ease;
}

.carousel-caption .btn {
    animation: fadeInUp 1.4s ease;
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
#about {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

#about img {
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.02);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

/* Service Card Links */
#services a {
    text-decoration: none;
    color: inherit;
    display: block;
}

#services a:hover .card-title {
    color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card .card-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
}

.service-card .card-text {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-card {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.why-card:hover .feature-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.why-card h4 {
    font-weight: 600;
    margin: 1rem 0;
    color: var(--text-dark);
}

.why-card p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
}

.contact-form .form-control {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.contact-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-info a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        display: none;
    }
}

/* Utility Classes */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Loading Animation */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth Scrolling Offset for Fixed Navbar */
section {
    scroll-margin-top: 70px;
}

