@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

:root {
    --primary-color: #946317;
    --secondary-color: #6c757d;
    --dark-color: #946317;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --footerhover-color: #ffac30;
    /* HexaDesign Inspired Variables */
    --shadow-light: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --border-radius: 15px;
    --border-radius-lg: 25px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #b8751f);
    --gradient-secondary: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Enhanced Responsive Base */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

@media (min-width: 576px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Tajawal', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    margin-bottom: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive Container System */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        padding-right: 50px;
        padding-left: 50px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Enhanced Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Touch-friendly Elements */
.btn, .nav-link, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Responsive Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

h6 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* General Styles */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 12px 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.header {
    background-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

    .section-title .subtitle {
        display: inline-block;
        font-size: 16px;
        font-weight: 500;
        color: var(--primary-color);
        margin-bottom: 10px;
        position: relative;
    }

    .section-title h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
    }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background-color: var(--primary-color);
            bottom: -10px;
            left: 25%;
        }

    .section-title p {
        font-size: 16px;
        color: var(--secondary-color);
        max-width: 700px;
        margin: 0 auto;
    }

/* Header Styles */
.top-bar {
    font-size: 0.9rem;
}

.social-icons a {
    transition: all 0.3s ease;
}

    .social-icons a:hover {
        opacity: 0.8;
    }
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar .nav-link {
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    position: relative;
}

    .navbar .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
     
        background-color:var(--warning-color);
        bottom: 0;
        right: 0;
        transition: all 0.3s ease;
    }

    .navbar .nav-link:hover:after,
    .navbar .nav-link.active:after {
        width: 100%;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: white !important;
    }

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: #fff;
}

    footer h5 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    footer ul li {
        margin-bottom: 10px;
    }

    footer a {
        transition: all 0.3s ease;
    }

        footer a:hover {
            color: var(--primary-color) !important;
            text-decoration: none;
        }

/* Modern Hero Section */
.modern-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0 100px;
    position: relative;
    color: white;
    overflow: hidden;
}

    .modern-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(0, 0, 0, 0.7));
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.hero-image-container {
    position: relative;
    z-index: 2;

}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

/* Stats Section */
.stats-section {
    margin-top: -30px;
    position: relative;
    z-index: 3;
}

.stats-item {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .stats-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.stats-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stats-item h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.stats-item p {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--secondary-color);
}

/* Services Section */
.services-section {
    position: relative;
    overflow: hidden;
}

.service-card-modern {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

    .service-card-modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .service-card-modern:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--primary-color);
        transition: all 0.5s ease;
        z-index: -1;
        opacity: 0.05;
    }

    .service-card-modern:hover:before {
        height: 100%;
    }

.service-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
}

    .service-link:hover {
        color: var(--primary-color);
        padding-left: 5px;
    }

.services-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Projects Section */
.projects-section {
    position: relative;
}

.projects-filter {
    margin-bottom: 30px;
}

.btn-filter {
    background-color: transparent;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-filter.active,
    .btn-filter:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

.project-card-modern {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.project-image {
    position: relative;
    overflow: hidden;
}

    .project-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: all 0.5s ease;
    }

.project-card-modern:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 110, 253, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.project-card-modern:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.project-card-modern:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-content {
    padding: 20px;
    background-color: #fff;
}

.project-category {
    display: block;
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.project-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

    .project-content h4 a {
        color: var(--dark-color);
    }

        .project-content h4 a:hover {
            color: var(--primary-color);
        }

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
}

.why-choose-image {
    position: relative;
}

.badge {
    color: var(--primary-color);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

    .experience-badge .years {
        font-size: 40px;
        font-weight: 700;
        line-height: 1;
    }

    .experience-badge .text {
        font-size: 14px;
        text-align: center;
    }

.why-choose-list {
    margin-top: 30px;
}

.why-choose-item {
    display: flex;
    margin-bottom: 20px;
}

    .why-choose-item .icon {
        font-size: 24px;
        color: var(--primary-color);
        margin-right: 15px;
        margin-top: 5px;
    }

    .why-choose-item .content h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .why-choose-item .content p {
        margin-bottom: 0;
    }

/* Clients Section */
.clients-section {
    position: relative;
}

.client-logo-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .client-logo-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .client-logo-item img {
        max-width: 100%;
        max-height: 80px;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .client-logo-item:hover img {
        filter: grayscale(0%);
        opacity: 1;
    }

.placeholder-logo {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.testimonial-icon {
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-rating {
    color: var(--warning-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

    .author-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-placeholder {
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Blog Section */
.blog-section {
    position: relative;
}

.blog-card-modern {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .blog-card-modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.blog-image {
    position: relative;
    overflow: hidden;
}

    .blog-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: all 0.5s ease;
    }

.blog-card-modern:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 0;
    left: 20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    text-align: center;
}

    .blog-date .day {
        font-size: 24px;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .blog-date .month {
        font-size: 14px;
    }

.blog-content {
    padding: 25px;
}

.blog-meta {
    margin-bottom: 15px;
}

    .blog-meta span {
        font-size: 14px;
        color: var(--secondary-color);
        margin-right: 15px;
    }

        .blog-meta span i {
            margin-right: 5px;
        }

.blog-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

    .blog-content h4 a {
        color: var(--dark-color);
    }

        .blog-content h4 a:hover {
            color: var(--primary-color);
        }

.blog-content p {
    margin-bottom: 20px;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 500;
}

    .blog-link:hover {
        color: var(--primary-color);
        padding-left: 5px;
    }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(0, 0, 0, 0.8)), url('/img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

    .cta-content h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .cta-content p {
        font-size: 18px;
        margin-bottom: 30px;
    }

.cta-buttons {
    margin-bottom: 30px;
}

.cta-contact-info {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

    .contact-item i {
        font-size: 20px;
        margin-right: 10px;
    }

/* Responsive Styles */
@media (max-width: 767px) {
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 10px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .modern-hero {
        padding: 100px 0 70px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .stats-item {
        margin-bottom: 30px;
    }

    .why-choose-image {
        margin-bottom: 50px;
    }

    .experience-badge {
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons .btn {
        margin-bottom: 10px;
    }

    .cta-contact-info {
        flex-direction: column;
    }

    .contact-item {
        margin-bottom: 10px;
    }
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0;
    position: relative;
    color: white;
}

    .hero-section:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
    }

.hero-content {
    position: relative;
    z-index: 1;
}

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

/* Cards and Boxes */
.service-card,
.project-card,
.blog-card {
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .service-card:hover,
    .project-card:hover,
    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0b5ed7;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    }

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* HexaDesign Inspired Modern Cards */
.hexa-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

    .hexa-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-heavy);
    }

.hexa-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: linear-gradient(135deg, #f8f9fa, #fff);
}

.hexa-card-body {
    padding: 1.5rem;
}

.hexa-card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Modern Service Cards - Enhanced */
.service-card-hexa {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(148, 99, 23, 0.1);
    transform: translateY(0);
}

    .service-card-hexa::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: var(--transition);
        transform-origin: left;
    }

    .service-card-hexa:hover::before {
        transform: scaleX(1);
    }

    .service-card-hexa:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: var(--shadow-heavy);
        border-color: rgba(148, 99, 23, 0.2);
    }

.service-icon-hexa {
    width: 85px;
    height: 85px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(148, 99, 23, 0.3);
}

.service-card-hexa:hover .service-icon-hexa {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 30px rgba(148, 99, 23, 0.4);
}

.service-icon-hexa i {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Modern Stats Cards - Enhanced */
.stats-card-hexa {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(148, 99, 23, 0.1);
    transform: translateY(0);
}

    .stats-card-hexa::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        opacity: 0;
        transition: var(--transition);
        z-index: 1;
    }

    .stats-card-hexa:hover::before {
        opacity: 0.08;
    }

    .stats-card-hexa:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: var(--shadow-heavy);
        border-color: rgba(148, 99, 23, 0.3);
    }

    .stats-card-hexa > * {
        position: relative;
        z-index: 2;
    }

.stats-icon-hexa {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(148, 99, 23, 0.3);
}

.stats-card-hexa:hover .stats-icon-hexa {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 15px 35px rgba(148, 99, 23, 0.4);
}

.stats-icon-hexa i {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stats-number-hexa {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats-label-hexa {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Blog Cards - Enhanced */
.blog-card-hexa {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 2px solid rgba(148, 99, 23, 0.1);
    transform: translateY(0);
}

    .blog-card-hexa:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: var(--shadow-heavy);
        border-color: rgba(148, 99, 23, 0.2);
    }

.blog-image-hexa {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

    .blog-image-hexa img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
        filter: brightness(1);
    }

.blog-card-hexa:hover .blog-image-hexa img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.blog-content-hexa {
    padding: 1.5rem;
}

.blog-meta-hexa {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.blog-title-hexa {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

    .blog-title-hexa a {
        color: var(--dark-color);
        text-decoration: none;
        transition: var(--transition);
    }

        .blog-title-hexa a:hover {
            color: var(--primary-color);
        }

/* Enhanced Hexa Cards with Glow Effect */
.hexa-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    overflow: hidden;
    border: 2px solid rgba(148, 99, 23, 0.1);
    position: relative;
}

    .hexa-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent, rgba(148, 99, 23, 0.05), transparent);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .hexa-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: var(--shadow-heavy);
        border-color: rgba(148, 99, 23, 0.3);
    }

        .hexa-card:hover::after {
            opacity: 1;
        }

/* Enhanced Button Styles */
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .btn-outline-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        transition: var(--transition);
        z-index: -1;
    }

    .btn-outline-primary:hover::before {
        left: 0;
    }

    .btn-outline-primary:hover {
        color: #fff;
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(148, 99, 23, 0.3);
    }

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

.fw-bold {
    font-weight: 800 !important;
}

/* Enhanced Animations */
@keyframes float-enhanced {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float-enhanced 3s ease-in-out infinite;
}

/* Enhanced Shadows for Better Depth */
.shadow-enhanced {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06) !important;
}

/* Pulse Animation for Icons */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(148, 99, 23, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(148, 99, 23, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(148, 99, 23, 0);
    }
}

.service-icon-hexa, .stats-icon-hexa {
    animation: pulse-glow 2s infinite;
}

/* Override Old Styles to Force New Design */
.service-card-alwaqdan {
    background: linear-gradient(145deg, #ffffff, #f8f9fa) !important;
    border-radius: var(--border-radius-lg) !important;
    padding: 2.5rem !important;
    box-shadow: var(--shadow-medium) !important;
    transition: var(--transition) !important;
    border: 2px solid rgba(148, 99, 23, 0.1) !important;
    transform: translateY(0) !important;
}

    .service-card-alwaqdan:hover {
        transform: translateY(-12px) scale(1.02) !important;
        box-shadow: var(--shadow-heavy) !important;
        border-color: rgba(148, 99, 23, 0.2) !important;
    }

.service-icon-alwaqdan {
    width: 85px !important;
    height: 85px !important;
    background: var(--gradient-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    transition: var(--transition) !important;
    box-shadow: 0 8px 20px rgba(148, 99, 23, 0.3) !important;
}

.service-card-alwaqdan:hover .service-icon-alwaqdan {
    transform: scale(1.15) rotate(10deg) !important;
    box-shadow: 0 12px 30px rgba(148, 99, 23, 0.4) !important;
}

.service-icon-alwaqdan i {
    font-size: 2.2rem !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* Enhanced Card Titles */
.service-title, .blog-title-hexa h5 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--dark-color) !important;
    margin-bottom: 1rem !important;
}

/* Enhanced Card Descriptions */
.service-description {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin-bottom: 1.5rem !important;
}

/* Force Modern Look on All Cards */
.card, .blog-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa) !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--shadow-medium) !important;
    border: 2px solid rgba(148, 99, 23, 0.1) !important;
    transition: var(--transition) !important;
}

    .card:hover, .blog-card:hover {
        transform: translateY(-8px) scale(1.01) !important;
        box-shadow: var(--shadow-heavy) !important;
        border-color: rgba(148, 99, 23, 0.2) !important;
    }

/* Enhanced Navigation - HexaDesign Style */
.nav-hexa {
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.nav-item-hexa {
    position: relative;
    width: 130px;
}

.nav-link-hexa {
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1.25rem !important;
    margin: 0 0.25rem !important;
    border-radius: var(--border-radius) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--dark-color) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 2px solid transparent !important;
}

    .nav-link-hexa::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(148, 99, 23, 0.1), rgba(148, 99, 23, 0.05));
        transition: var(--transition);
        z-index: -1;
    }

    .nav-link-hexa:hover::before {
        left: 0;
    }

    .nav-link-hexa:hover {
        color: var(--primary-color) !important;
        background: rgba(148, 99, 23, 0.05) !important;
        border-color: rgba(148, 99, 23, 0.2) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(148, 99, 23, 0.2) !important;
    }

    .nav-link-hexa i {
        font-size: 1rem;
        transition: var(--transition);
        color: var(--primary-color);
    }

    .nav-link-hexa:hover i {
        transform: scale(1.2) rotate(5deg);
        color: var(--primary-color);
    }

    .nav-link-hexa span {
        transition: var(--transition);
    }

    .nav-link-hexa:hover span {
        transform: translateX(2px);
    }

    /* Active Navigation Link */
    .nav-link-hexa.active {
        background: var(--gradient-primary) !important;
        color: #fff !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 4px 15px rgba(148, 99, 23, 0.3) !important;
    }

        .nav-link-hexa.active i {
            color: #fff !important;
        }

/* Special Contact Button */
.contact-btn-hexa {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(148, 99, 23, 0.3) !important;
    margin-left: 0.5rem !important;
}

    .contact-btn-hexa:hover {
        background: linear-gradient(135deg, #b8751f, var(--primary-color)) !important;
        color: #fff !important;
        transform: translateY(-3px) scale(1.05) !important;
        box-shadow: 0 8px 25px rgba(148, 99, 23, 0.4) !important;
    }

    .contact-btn-hexa i {
        color: #fff !important;
    }

    .contact-btn-hexa:hover i {
        color: #fff !important;
        animation: ring 1s ease-in-out;
    }

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-10deg) scale(1.1);
    }

    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

/* Mobile Navigation Enhancements */
@media (max-width: 991.98px) {
    .nav-hexa {
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem 0;
    }

    .nav-link-hexa {
        margin: 0.125rem 0 !important;
        justify-content: flex-start !important;
    }

    .contact-btn-hexa {
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
}

/* Navbar Brand Enhancement */
.navbar-brand {
    transition: var(--transition) !important;
}

    .navbar-brand:hover {
        transform: scale(1.05) !important;
    }

/* Navbar Toggler Enhancement */
.navbar-toggler {
    border: 2px solid var(--primary-color) !important;
    border-radius: var(--border-radius) !important;
    padding: 0.5rem !important;
    transition: var(--transition) !important;
}

    .navbar-toggler:hover {
        background: rgba(148, 99, 23, 0.1) !important;
        transform: scale(1.05) !important;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23946317' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Additional Navigation Animations */
@keyframes bounce-gentle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.animate-bounce {
    animation: bounce-gentle 0.6s ease-in-out;
}

/* Navigation Dropdown Enhancement (if needed) */
.dropdown-menu {
    border: none !important;
    box-shadow: var(--shadow-medium) !important;
    border-radius: var(--border-radius) !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    border-radius: var(--border-radius) !important;
    padding: 0.75rem 1rem !important;
    transition: var(--transition) !important;
    color: var(--dark-color) !important;
}

    .dropdown-item:hover {
        background: var(--gradient-primary) !important;
        color: #fff !important;
        transform: translateX(5px) !important;
    }

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: var(--shadow-medium) !important;
}

/* Enhanced Navbar Container */
.navbar {
    transition: var(--transition) !important;
    padding: 1rem 0 !important;
}

.navbar-scrolled {
    padding: 0.5rem 0 !important;
}

/* Professional Back to Top Button - HexaDesign Style */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

    .back-to-top-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .back-to-top-btn:hover::before {
        transform: translateX(100%);
    }

    .back-to-top-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .back-to-top-btn:hover {
        background: linear-gradient(135deg, #b8751f, var(--primary-color));
        transform: translateY(-5px) scale(1.1);
        box-shadow: var(--shadow-heavy);
        animation: pulse-glow 1.5s infinite;
    }

    .back-to-top-btn i {
        font-size: 1.4rem;
        transition: var(--transition);
        margin-bottom: 2px;
    }

    .back-to-top-btn:hover i {
        transform: translateY(-2px);
        animation: bounce-up 0.6s ease-in-out;
    }

    .back-to-top-btn .btn-text {
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0;
        transform: translateY(10px);
        transition: var(--transition);
    }

    .back-to-top-btn:hover .btn-text {
        opacity: 1;
        transform: translateY(0);
    }

    /* Enhanced version with progress indicator */
    .back-to-top-btn.with-progress {
        background: conic-gradient(var(--primary-color) var(--scroll-progress, 0%), rgba(255,255,255,0.2) 0%);
        padding: 4px;
    }

        .back-to-top-btn.with-progress::after {
            content: '';
            position: absolute;
            top: 4px;
            left: 4px;
            right: 4px;
            bottom: 4px;
            background: var(--gradient-primary);
            border-radius: 50%;
            z-index: -1;
        }

/* Animations for Back to Top */
@keyframes bounce-up {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.back-to-top-btn.floating {
    animation: float-gentle 3s ease-in-out infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

        .back-to-top-btn i {
            font-size: 1.2rem;
        }

        .back-to-top-btn .btn-text {
            font-size: 0.6rem;
        }
}

/* Alternative styles for different positions */
.back-to-top-btn.left-position {
    right: auto;
    left: 30px;
}

.back-to-top-btn.center-position {
    right: 50%;
    transform: translateX(50%) translateY(20px) scale(0.8);
}

    .back-to-top-btn.center-position.show {
        transform: translateX(50%) translateY(0) scale(1);
    }

    .back-to-top-btn.center-position:hover {
        transform: translateX(50%) translateY(-5px) scale(1.1);
    }

/* Square version */
.back-to-top-btn.square {
    border-radius: var(--border-radius);
    width: 55px;
    height: 55px;
}

/* Minimal version */
.back-to-top-btn.minimal {
    background: rgba(148, 99, 23, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

    .back-to-top-btn.minimal:hover {
        background: var(--gradient-primary);
        border-color: rgba(255,255,255,0.3);
    }

/* Click animation */
.back-to-top-btn.clicked {
    transform: scale(0.9);
    animation: click-pulse 0.3s ease-out;
}

@keyframes click-pulse {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(148, 99, 23, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(148, 99, 23, 0);
    }
}

/* Success feedback animation */
.back-to-top-btn .fa-check {
    color: #28a745;
    animation: success-bounce 0.5s ease-in-out;
}

@keyframes success-bounce {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* Rocket animation for double-click */
.back-to-top-btn .fa-rocket {
    animation: rocket-launch 1.5s ease-in-out;
}

@keyframes rocket-launch {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(-10deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    75% {
        transform: translateY(-15px) rotate(-5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Enhanced progress indicator */
.back-to-top-btn.with-progress {
    position: relative;
}

    .back-to-top-btn.with-progress::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 50%;
        background: conic-gradient( var(--primary-color) var(--scroll-progress, 0%), rgba(255,255,255,0.2) var(--scroll-progress, 0%) );
        z-index: -1;
        animation: rotate-progress 2s linear infinite;
    }

@keyframes rotate-progress {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Tooltip for back to top button */
.back-to-top-btn::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    right: 50%;
    transform: translateX(50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    margin-bottom: 10px;
    pointer-events: none;
}

.back-to-top-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(-5px);
}

/* Pulse effect when button appears */
.back-to-top-btn.show {
    animation: appear-pulse 0.6s ease-out;
}

@keyframes appear-pulse {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Alternative designs */
.back-to-top-btn.gradient-border {
    background: #fff;
    color: var(--primary-color);
    border: 3px solid;
    border-image: var(--gradient-primary) 1;
}

    .back-to-top-btn.gradient-border:hover {
        background: var(--gradient-primary);
        color: #fff;
    }

.back-to-top-btn.glass-effect {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--primary-color);
}

    .back-to-top-btn.glass-effect:hover {
        background: rgba(148, 99, 23, 0.2);
        color: var(--primary-color);
    }

/* Accessibility improvements */
.back-to-top-btn:focus {
    outline: 3px solid rgba(148, 99, 23, 0.5);
    outline-offset: 2px;
}

    .back-to-top-btn:focus:not(:focus-visible) {
        outline: none;
    }

/* High contrast mode support */
@media (prefers-contrast: high) {
    .back-to-top-btn {
        border: 2px solid;
        background: var(--primary-color);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .back-to-top-btn,
    .back-to-top-btn *,
    .back-to-top-btn::before,
    .back-to-top-btn::after {
        animation: none !important;
        transition: none !important;
    }
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    width: 108%;
    height: 100vh; /* يغطي كامل الشاشة */
    overflow: hidden;
    z-index: -1; /* تأكد أن العناصر فوق الفيديو */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 108%;
    min-height: 100%;
    width: 108%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}


.alwaqdan-hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .alwaqdan-hero > .container,
    .alwaqdan-hero .row,
    .alwaqdan-hero .hero-content {
        position: relative;
        z-index: 2;
    }

/* ���� ����� ��� ������� ������ ���� ���� */
.video-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35); /* ����� ����� �������� ��� ������ */
    z-index: 1;
}
/* ���� ����� ��� ������� ������ ���� ���� */
/* للصورة */
.responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 80vh;
    display: block;
    border-radius: 10px; /* اختياري */
}

/* للفيديو */
.responsive-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* نسبة الطول إلى العرض 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px; /* اختياري */
}

    .responsive-video-container iframe,
    .responsive-video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        object-fit: cover; /* لتعبئة المساحة */
    }
