/* ===== BASE STYLES ===== */

/* ========== VARIABLES ========== */ 
    :root {
        --primary: #1a237e;
        --primary-dark: #0d1642;
        --primary-light: #3949ab;
        --primary-color: #0d6efd;
        --secondary-color: #6c757d;
        --success-color: #198754;
        --dark-color: #212529;
        --secondary: #ff9800;
        --secondary-dark: #f57c00;
        --accent: #00bcd4;
        --dark: #1a1a2e;
        --light: #f8f9fa;
        --gray: #6c757d;
        --gradient-primary: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #01579b 100%);
        --gradient-secondary: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
        --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
        --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
        --radius: 12px;
        --radius-lg: 20px;
        --radius-xl: 24px;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    html {
        scroll-behavior: smooth;
    }
    
    body {
        font-family: 'Cairo', sans-serif;
        background: #fff;
        background-color: #f8f9fa;
        color: var(--dark);
        line-height: 1.7;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    ::selection {
        background: rgba(255,152,0,0.3);
        color: var(--primary-dark);
    }


/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hover-primary {
    transition: color 0.3s ease;
}

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

.hover-light:hover {
    color: #fff !important;
}

/* Object Fit */
.object-fit-cover {
    object-fit: cover;
}

.transition-transform {
    transition: transform 0.5s ease;
}

.hover-lift:hover .transition-transform {
    transform: scale(1.05);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* Form Styling */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Card Enhancements */
.card {
    border-radius: 10px;
    overflow: hidden;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* Button Enhancements */
.btn {
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
}



/* ========== HERO ========== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.hero-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.35);
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.5);
    color: #fff;
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }


@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.3);
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    background-color: rgba(255,255,255,0.4) !important;
    border: none !important;
}

.carousel-indicators button.active {
    background-color: #ff9800 !important;
    width: 35px !important;
    border-radius: 20px !important;
}


/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.feature-box {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(26,35,126,0.12);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(26,35,126,0.3);
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff9800;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    color: #1a1a2e;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(26,35,126,0.15);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.12);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,35,126,0.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-body {
    padding: 1.75rem;
    position: relative;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-top: -48px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 25px rgba(26,35,126,0.25);
    position: relative;
    z-index: 2;
}

.price-tag {
    color: #f57c00;
    font-weight: 800;
    font-size: 1.15rem;
}

.link-arrow {
    color: #1a237e;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    color: #f57c00;
    gap: 0.75rem;
}

/* ===== PROJECT CARDS ===== */
.project-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,35,126,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255,152,0,0.3);
    z-index: 2;
}

.project-body {
    padding: 1.75rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #01579b 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.02);
    border-radius: 50%;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-8px);
}

.testimonial-quote {
    font-size: 3rem;
    color: rgba(255,152,0,0.5);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,152,0,0.5);
}

.testimonial-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-title {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 1.1rem;
    margin-left: 0.15rem;
}

.testimonial-stars i.bi-star {
    color: rgba(255,255,255,0.2);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #01579b 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border: none;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255,152,0,0.35);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255,152,0,0.5);
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.8rem; }
    .section-header h2 { font-size: 2.2rem; }
    .hero-section, .hero-slide { min-height: 600px; height: auto; padding: 120px 0 80px; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-section, .hero-slide { min-height: 500px; padding: 100px 0 60px; }
    .section-header h2 { font-size: 1.8rem; }
    .testimonial-card { padding: 1.75rem; }
}

/* Navbar Enhancements */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(33, 37, 41, 0.95) !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    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,
.nav-link.active::after {
    width: 80%;
}

/* Footer Links */
.footer-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    transform: translateX(5px);
    color: #fff !important;
}

/* Carousel Enhancements */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    .display-5 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .whatsapp-float {
        display: none !important;
    }
}

/* Dashboard Styles */
.dashboard-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
}

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

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.stat-card:hover::before {
    transform: scale(1);
}

/* Table Styles */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Form Enhancements */
.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Image Preview */
.img-thumbnail {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.img-thumbnail:hover {
    border-color: #0d6efd;
    transform: scale(1.02);
}

/* Sticky Sidebar */
.sticky-top {
    z-index: 1020;
}

/* Action Buttons */
.btn-group-sm > .btn, .btn-sm {
    border-radius: 6px;
}

/* Alerts in Tables */
.table-warning {
    --bs-table-bg: #fff3cd;
    --bs-table-striped-bg: #f2e7c3;
    --bs-table-hover-bg: #ecdba8;
}

/* Dashboard Navigation */
.dashboard-nav .nav-link {
    color: #6c757d;
    border-radius: 8px;
    margin-bottom: 4px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.dashboard-nav .nav-link:hover,
.dashboard-nav .nav-link.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

.dashboard-nav .nav-link i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}
    
    /* ===== NAVBAR ===== */
    #mainNavbar {
        background: transparent;
        padding: 1.2rem 0;
        transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1030;
    }
    
    #mainNavbar.scrolled {
        background: rgba(26, 35, 126, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 0.7rem 0;
    }
    
    #mainNavbar .navbar-brand {
        color: #fff;
        font-size: 1.35rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        transition: all 0.3s ease;
    }
    
    #mainNavbar .navbar-brand:hover {
        transform: scale(1.02);
    }
    
    #mainNavbar .navbar-brand img {
        height: 48px;
        width: auto;
        transition: all 0.3s ease;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }
    
    #mainNavbar.scrolled .navbar-brand img {
        height: 40px;
    }
    
    #mainNavbar .nav-link {
        color: rgba(255,255,255,0.88) !important;
        font-weight: 600;
        font-size: 0.95rem;
        padding: 0.6rem 1.1rem !important;
        position: relative;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 0.15rem;
    }
    
    #mainNavbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 1.1rem;
        left: 1.1rem;
        height: 2.5px;
        background: var(--secondary);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    #mainNavbar .nav-link:hover::after,
    #mainNavbar .nav-link.active::after {
        transform: scaleX(1);
    }
    
    #mainNavbar .nav-link:hover,
    #mainNavbar .nav-link.active {
        color: #fff !important;
        background: rgba(255,255,255,0.06);
    }
    
    #mainNavbar .btn-warning {
        background: var(--gradient-secondary);
        border: none;
        padding: 0.65rem 1.8rem;
        font-weight: 700;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(255,152,0,0.3);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    #mainNavbar .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255,152,0,0.45);
    }
    
    /* Login link in navbar */
    .nav-login-link {
        color: rgba(255,255,255,0.7) !important;
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 50px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }
    
    .nav-login-link:hover {
        color: #fff !important;
        border-color: rgba(255,255,255,0.5);
        background: rgba(255,255,255,0.08);
    }
    
    .nav-login-link::after {
        display: none !important;
    }
    
    /* ===== MESSAGES / ALERTS ===== */
    .alert-container {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        min-width: 320px;
        max-width: 500px;
        width: 90%;
    }
    
    .alert {
        border: none;
        border-radius: var(--radius);
        padding: 1rem 1.25rem;
        font-weight: 600;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        animation: slideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .alert-success {
        background: linear-gradient(135deg, #28a745, #20c997);
        color: #fff;
    }
    
    .alert-danger {
        background: linear-gradient(135deg, #dc3545, #e74c3c);
        color: #fff;
    }
    
    .alert-warning {
        background: linear-gradient(135deg, #ffc107, #ff9800);
        color: #1a1a2e;
    }
    
    .alert-info {
        background: linear-gradient(135deg, #17a2b8, #00bcd4);
        color: #fff;
    }
    
    .alert .btn-close {
        filter: brightness(0) invert(1);
        opacity: 0.7;
    }
    
    .alert-warning .btn-close {
        filter: none;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
        color: #fff;
        position: relative;
        overflow: hidden;
    }
   
   .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-secondary);
    }
    
    .footer h5, .footer h6 {
        color: #fff;
        font-weight: 700;
    }
    
    .footer p {
        color: rgba(255,255,255,0.65);
        line-height: 1.8;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.85rem;
    }
    
    .footer-links a {
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
    }
 
    .footer-links a::before {
        content: '';
        width: 0;
        height: 2px;
        background: var(--secondary);
        transition: width 0.3s ease;
    }
    
    .footer-links a:hover {
        color: var(--secondary);
        padding-right: 8px;
    }
    
    .footer-links a:hover::before {
        width: 12px;
    }

    .social-links {
        display: flex;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-decoration: none;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .social-links a:hover {
        background: var(--secondary);
        color: #fff;
        transform: translateY(-5px) scale(1.1);
        border-color: var(--secondary);
        box-shadow: 0 10px 25px rgba(255,152,0,0.3);
    }
    
    .contact-info {
        list-style: none;
        padding: 0;
    }
    
    .contact-info li {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        margin-bottom: 1.1rem;
        color: rgba(255,255,255,0.7);
        font-size: 0.95rem;
    }
    
    .contact-info i {
        color: var(--secondary);
        font-size: 1.15rem;
        margin-top: 0.25rem;
        min-width: 20px;
    }
    
    .footer hr {
        border-color: rgba(255,255,255,0.08);
    }
    
    .footer-bottom {
        color: rgba(255,255,255,0.45);
        font-size: 0.9rem;
    }
    
    /* ===== BACK TO TOP BUTTON ===== */
    .back-to-top {
        position: fixed;
        bottom: 25px;
        left: 25px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--gradient-primary);
        color: #fff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1020;
        box-shadow: 0 4px 15px rgba(26,35,126,0.3);
    }
    
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .back-to-top:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 30px rgba(26,35,126,0.4);
    }
    
    /* ===== LOADING SPINNER ===== */
    .page-loader {
        position: fixed;
        inset: 0;
        background: #fff;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    
    .page-loader.hidden {
        opacity: 0;
        visibility: hidden;
    }
    
    .loader-spinner {
        width: 50px;
        height: 50px;
        border: 3px solid rgba(26,35,126,0.1);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }
    
    @keyframes spin {
        to { transform: rotate(360deg); }
    }
    
    /* ===== RESPONSIVE ===== */
    @media (max-width: 991.98px) {
        #mainNavbar {
            background: rgba(26, 35, 126, 0.95);
            backdrop-filter: blur(10px);
        }
        
        #mainNavbar .navbar-collapse {
            background: rgba(26, 35, 126, 0.98);
            border-radius: var(--radius-lg);
            margin-top: 1rem;
            padding: 1rem;
            box-shadow: var(--shadow-lg);
        }
        
        #mainNavbar .nav-link {
            padding: 0.75rem 1rem !important;
            border-radius: 8px;
        }
        
        #mainNavbar .nav-link::after {
            display: none;
        }
        
        .nav-login-link {
            margin-top: 0.5rem;
            justify-content: center;
        }
    }
    
    @media (max-width: 767.98px) {
        .footer {
            text-align: center;
        }
        
        .social-links {
            justify-content: center;
        }
        
        .contact-info li {
            justify-content: center;
            text-align: right;
        }
    }
/* ========== HERO ========== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.hero-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.35);
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.5);
    color: #fff;
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }


@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.3);
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    background-color: rgba(255,255,255,0.4) !important;
    border: none !important;
}

.carousel-indicators button.active {
    background-color: #ff9800 !important;
    width: 35px !important;
    border-radius: 20px !important;
}


/* ========== SECTIONS ========== */
.section-header h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* ========== FEATURES ========== */
.feature-box {
    padding: 2rem;
    border-radius: var(--radius);
    background: #fff;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,35,126,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-body {
    padding: 1.5rem;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: -45px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.price-tag {
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.link-arrow {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    color: var(--secondary-dark);
    padding-right: 5px;
}

/* ========== PROJECT CARDS ========== */
.project-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,35,126,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-body {
    padding: 1.5rem;
}

/* ========== CTA ========== */
.cta-section {
    background: var(--gradient-primary);
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.8);
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 140px 0 60px;
    text-align: center;
}

/* ========== FILTER BUTTONS ========== */
.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
}

/* ========== LIGHTBOX ========== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary);
}

.lightbox-close { top: 20px; left: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-thumbs {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.lightbox-thumb {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--secondary);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== ADMIN PANEL ========== */
.admin-sidebar {
    min-height: 100vh;
    background: var(--dark);
    color: #fff;
    padding: 1.5rem;
    position: fixed;
    right: 0;
    top: 0;
    width: 260px;
    z-index: 1000;
}

.admin-main {
    margin-right: 260px;
    padding: 2rem;
    min-height: 100vh;
    background: #f5f6fa;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: var(--primary);
    color: #fff;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========== FORM STYLES ========== */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(57,73,171,0.15);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .section-header h2 { font-size: 2rem; }
    
    .admin-sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
    }
    .admin-main {
        margin-right: 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-section,
    .hero-slide {
        min-height: 500px;
        height: auto;
        padding: 120px 0 60px;
    }
}
