/* CSS Variables */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --transition-speed: 0.3s;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Site Header */
.site-header {
    background: var(--dark-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.site-header.scrolled {
    padding: 0.5rem 0 !important;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

.site-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.site-header .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.site-header .btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    z-index: -2;
}

.site-header .btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    z-index: -1;
}

.site-header .btn:hover::before {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

/* Services Section */
.services-section .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.services-section .card:hover {
    transform: translateY(-5px);
}

.services-section .card-title {
    color: #333;
    font-weight: 600;
}

/* Features Section */
.features-section i {
    color: #007bff;
}

.features-section h4 {
    margin: 20px 0;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

/* Contact Section */
.contact-section a {
    color: #333;
    text-decoration: none;
}

.contact-section a:hover {
    color: #007bff;
}

/* Custom Button Styles */
.btn {
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Navigation Enhancements */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 15px 20px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
}

/* Footer Enhancements */
footer {
    background-color: #1a1a1a;
}

footer .social-links a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: #007bff;
    transform: translateY(-3px);
}

/* Animation Utilities */
.hover-lift {
    transition: transform var(--transition-speed) ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform var(--transition-speed) ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 30px;
    }
    
    .features-section .col-md-4 {
        margin-bottom: 30px;
    }
    
    .site-header {
        padding: 0.5rem 0;
    }
    
    .site-header h1 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
    }
}

/* Add smooth scrolling to the page */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Animations */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease-in-out;
}

.navbar-collapse.collapsing {
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Navbar Toggler Animation */
.navbar-toggler {
    transition: transform 0.3s ease;
}

.navbar-toggler.active {
    transform: rotate(90deg);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    transition: background-color 0.3s ease;
}

.navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent;
} 