/*
Name : Geo Dzair Solutions - Premium Redesign
*/

/*===================
    import fonts
===================*/
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

/*===================
    Variables & Reset
===================*/
:root {
    --primary: #008BFF;
    --primary-dark: #00559b;
    --dark: #1f2937;
    --dark-light: #374151;
    --light: #f3f4f6;
    --white: #ffffff;
    --gray: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f9fafb;
    /* Lighter, more modern background */
    color: var(--dark-light);
    font-size: 16px;
    /* Slightly larger base size */
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    /* #008BFF */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/*===================
    Utilities
===================*/
.section {
    padding: 80px 0;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

/*===================
    Buttons
===================*/
.button {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    border-radius: 50px;
}

/*===================
    Navbar
===================*/
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    /* Less transparent whites */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    /* Fixed at top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .navbar-brand h2 {
    font-size: 24px;
    margin: 0;
    color: var(--dark);
    font-weight: 800;
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--dark-light) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .active .nav-link {
    color: var(--primary) !important;
}

/* Dropdown */
.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 10px;
    margin-top: 15px;
    animation: fadeInUp 0.3s ease;
    background: #fff;
}

.navbar .dropdown-item {
    border-radius: var(--radius-md);
    padding: 8px 15px;
    color: var(--dark-light);
    font-weight: 500;
}

.navbar .dropdown-item:hover {
    background: #f0fdf4;
    color: var(--primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*===================
    Hero Section (Header Intro)
===================*/
.header-intro {
    padding: 160px 0 100px;
    /* Increase top padding for fixed navbar */
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.header-intro .entry span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
}

.header-intro .entry h2 {
    font-size: 3.5rem;
    /* Larger */
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--dark);
    font-weight: 800;
}

.header-intro .entry p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 90%;
    color: var(--gray);
}

.header-intro video,
.header-intro img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Pages Header (Redesigned - No Dark Blue) */
.header-pages .pages-title {
    background: #fdfdfd;
    /* Clean very light bg */
    padding: 160px 0 60px;
    /* Adjust for fixed header */
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-pages .pages-title h2 {
    color: var(--dark);
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.header-pages .pages-title span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

/*===================
    New Card Design
===================*/
.card-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.card-modern img {
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-modern-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: #E6F4FF;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-modern h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card-modern p,
.card-modern h6 {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes button down */
}

/* Service Page Specific */
.services .entry {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: left;
    /* Align left for cleaner look */
    height: 100%;
}

.services .entry:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.services .entry img {
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.services .entry h5 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.services .entry h6 {
    color: var(--gray);
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 20px;
}

/*===================
    Footer
===================*/
footer {
    background: var(--dark);
    color: #9ca3af;
    padding: 80px 0 30px;
    font-size: 15px;
}

footer h2,
footer h6 {
    color: var(--white);
}

footer p {
    color: #9ca3af;
    max-width: 400px;
}

footer ul {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

footer ul li a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

footer ul li a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

footer .link-foter {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .link-foter a {
    color: #9ca3af;
    font-weight: 500;
}

footer .link-foter a:hover {
    color: var(--primary);
}

/*===================
    Specific Component Overrides from old style
===================*/
.title-section {
    text-align: center;
    margin-bottom: 60px;
}

.title-section span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.title-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Login Page Tweaks (if using global CSS) */
/* We will likely use login.css for specific Login page styles, but global resets help */

/*===================
    Dropdown Menu Redesign
===================*/
.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 15px;
    margin-top: 20px;
    /* More spacing */
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar .dropdown-item {
    border-radius: var(--radius-md);
    padding: 10px 20px;
    color: #1f2937;
    /* Black/Dark text by default */
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    background: #E6F4FF;
    /* Light blue bg */
    color: var(--primary);
    /* Primary color text */
    padding-left: 25px;
    /* Slide effect */
}

/* Hide default Bootstrap dropdown arrow to prevent double arrows */
.dropdown-toggle::after {
    display: none !important;
}

/*===================
    Our Work - Premium Gallery
===================*/
.our-work {
    padding: 80px 0;
}

.work-gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    margin-bottom: 30px;
    height: 300px;
    /* Fixed height for consistency */
}

.work-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay Effect */
.work-gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 1;
}

/* Premium Feature Card */
.feature-card-large {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

.feature-card-large:hover {
    transform: translateY(-5px);
}

.feature-img {
    height: 100%;
    min-height: 400px;
    /* Transparent background to show spacing */
    background: transparent;
    position: relative;
    overflow: hidden;
    /* Add Spacing around the video */
    padding: 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* Add Corner Radius */
    border-radius: 20px;
    overflow: hidden;
    /* subtle shadow for depth */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.premium-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remove opacity for clearer video */
    opacity: 1;
}

.feature-content {
    background: #fff;
}

.sub-heading {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.divider-line {
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin: 20px 0;
    border-radius: 2px;
}

.lead-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.btn-blue {
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-blue:hover {
    background: #0069d9;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 139, 255, 0.3);
}

/* Ensure no-gutters works in Bootstrap 4 if not standard */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.work-gallery-item:hover::after {
    opacity: 1;
}

.work-gallery-item .overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease 0.1s;
    z-index: 2;
}

.work-gallery-item:hover .overlay-icon {
    transform: translate(-50%, -50%) scale(1);
}

/*===================
    FAQ - Premium Cards
===================*/
.faq .entry {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.faq .entry:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(16, 185, 129, 0.2);
}

.faq .entry h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq .entry p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/*===================
    Consultation Form - Premium Card
===================*/
.consultation-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Deep soft shadow */
    max-width: 800px;
    margin: 50px auto;
    /* Center horizontally */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.consultation-form .form-control {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px 20px;
    height: auto;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.consultation-form .form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px #E6F4FF;
}

.consultation-form .button {
    width: 100%;
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/*===================
    Team - Premium Cards (Notre équipe)
===================*/
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-content {
    padding: 25px;
}

.team-content h5 {
    color: var(--dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.team-content p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.team-socials a i {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.team-socials a:hover i {
    transform: scale(1.2);
}

/*===================
    Features (Accordion for Solution.html)
===================*/
.features {
    padding: 80px 0;
}

.features .entry img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
}

.features .entry h4 {
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 2rem;
    font-weight: 700;
}

.features .accordion .card {
    border: none;
    background: transparent;
    margin-bottom: 15px;
}

.features .accordion .card-header {
    background: var(--white);
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.features .accordion .card-header button {
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    padding: 20px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    text-decoration: none;
    outline: none;
}

.features .accordion .card-header button:hover,
.features .accordion .card-header button[aria-expanded="true"] {
    color: var(--primary);
    background: #f0fdf4;
    /* Light green bg */
}

.features .accordion .card-header button i {
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.features .accordion .collapse.show .card-body {
    background: var(--white);
    padding: 25px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
    color: var(--gray);
    margin-top: -5px;
}

/*===================
    About Us
===================*/
.about-us {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.about-us .entry img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.about-us .entry span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.about-us .entry h2 {
    margin-bottom: 25px;
    font-size: 2.5rem;
}

/*===================
    Contact & Other Pages
===================*/
.contact-us,
.page404 {
    padding: 80px 0;
}

/*===================
    Lightbox Fixes (Overlay "X" Button)
===================*/
.lb-data .lb-close {
    position: absolute;
    top: -30px;
    /* Move above the image */
    right: 0;
    width: 30px;
    height: 30px;
    background-size: contain;
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.8);
    /* Make it visible */
    border-radius: 50%;
    padding: 5px;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 1 !important;
    /* Forces arrows to be visible */
}

/* FAQ Spacing Fix */
.faq .row {
    row-gap: 30px;
    /* Bootstrap 4 GAP shim or logical spacing */
}

.faq .entry {
    margin-bottom: 30px;
    /* Ensure vertical spacing between stacked cards */
}

.faq {
    padding-bottom: 100px;
    /* Spacing with Footer */
}

/* Footer Adjustments */
footer {
    padding: 40px 0 20px;
    /* Reduced specific padding */
}