/* Color Variables */
:root {
    --primary-color: #0F172A; /* Slate 900 - Deep Premium Navy */
    --secondary-color: #1E293B; /* Slate 800 - Elegant Navy */
    --accent-color: #F59E0B; /* Amber 500 - Vibrant Premium Gold */
    --accent-hover: #D97706; /* Amber 600 - Richer Gold */
    --light-bg: #F8FAFC; /* Slate 50 - Soft Light Background */
    --gray-text: #475569; /* Slate 600 - Readable Elegant Gray */
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-bg);
    color: var(--gray-text);
    overflow-x: hidden;
}

/* Utilities */
.text-primary-dark { color: var(--primary-color) !important; }
.bg-primary-dark { background-color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-light-accent { background-color: rgba(245, 158, 11, 0.1) !important; }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 43, 94, 0.2);
}

.btn-secondary-custom {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}
.btn-secondary-custom:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-accent-custom {
    background-color: var(--accent-color);
    border: none;
    transition: all 0.3s ease;
}
.btn-accent-custom:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    transition: all 0.3s ease;
}
.navbar.sticky-top {
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.navbar-brand .brand-text {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 5px;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: url('../Css/1.jpeg') center/cover no-repeat fixed;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.75));
}

/* Section Title */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Services */
.service-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 16px;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

/* Gallery Hover Overlay */
.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-card img {
    transition: transform 0.5s ease;
}
.gallery-card:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.gallery-card:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Article */
.border-accent {
    border-color: var(--accent-color) !important;
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}
.testimonial-card:hover {
    border-top-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Footer Links */
.footer-links a, .footer-links li {
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--accent-color) !important;
    padding-right: 5px;
}

/* About Image Overlay */
.about-image .overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    transition: opacity 0.3s ease;
    opacity: 0;
}
.about-image:hover .overlay-hover {
    opacity: 1;
}

/* --- New Advanced Animations & Hovers --- */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
    transition: all 0.3s ease;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #FFF;
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.floating-phone {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(61, 140, 175, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-phone 2s infinite;
    transition: all 0.3s ease;
}
@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.7); }
    70% { box-shadow: 0 0 0 18px rgba(15, 23, 42, 0); }
    100% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0); }
}


/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    box-shadow: 0px 4px 15px rgba(15, 23, 42, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background-color: var(--accent-color);
    color: #FFF;
    transform: translateY(-5px);
}

/* Typewriter Cursor */
.type-text::after {
    content: '|';
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* Micro Interactions */
.transition-transform {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.step-card:hover .transition-transform {
    transform: scale(1.15) rotate(5deg);
}

/* FAQ Accordion */
.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--light-bg) !important;
    color: var(--accent-color) !important;
    box-shadow: none;
}
.accordion-custom .accordion-button:focus {
    box-shadow: none;
}
.accordion-custom .accordion-button::after {
    transition: transform 0.4s ease;
}

/* Navbar Shrink */
.navbar.navbar-scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}
