:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --accent-color: #00d4aa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Navbar */
#mainNavbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

#mainNavbar.scrolled {
    padding: 10px 0;
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

#mainNavbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: #fff !important;
}

#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

/* Hero Carousel */
.hero-section {
    margin-top: 0;
}

.carousel-image {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(13,110,253,0.4) 100%);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: left;
    padding: 0;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* About Section */
.about-image-wrapper {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 25px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13,110,253,0.3);
}

.vision-box, .mission-box {
    transition: transform 0.3s;
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-5px);
}

/* Services */
.service-card {
    transition: all 0.4s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-icon {
    position: absolute;
    bottom: -25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(13,110,253,0.3);
}

/* Products */
.product-card {
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.product-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Portfolio */
.portfolio-item {
    cursor: pointer;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13,110,253,0.9);
    opacity: 0;
    transition: all 0.4s ease;
}

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

.portfolio-item img {
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Team */
.team-card {
    padding: 20px;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    overflow: hidden;
}

.team-social a {
    transition: color 0.3s;
}

.team-social a:hover {
    color: var(--primary-color) !important;
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* Blog */
.blog-card {
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

/* Contact */
.contact-icon {
    transition: all 0.3s;
}

.contact-info:hover .contact-icon {
    transform: rotateY(360deg);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

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

/* Footer */
.footer {
    background: var(--dark-color) !important;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

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

.social-links a {
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    display: inline-block;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(13,110,253,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0b5ed7;
    color: white;
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    margin-top: 76px;
}

/* Section Headers */
.section-header span {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Admin Styles */
.admin-sidebar {
    min-height: 100vh;
    background: var(--dark-color);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 2px 10px;
    transition: all 0.3s;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-sidebar .nav-link i {
    width: 25px;
}

/* Responsive */
@media (max-width: 991px) {
    .carousel-image {
        height: 70vh;
        min-height: 500px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .experience-badge {
        right: 10px;
        bottom: -10px;
        padding: 15px 20px;
    }

    .experience-badge span:first-child {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .carousel-image {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption .lead {
        font-size: 1rem;
    }
}

/* Animations */
[data-aos] {
    pointer-events: auto;
}
