/* Global Styles */
:root {
    --primary-color: #6f4e3d;
    --secondary-color: #c78e5d;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white-color: #fff;
    --black-color: #000;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 29px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
}

/* Thin Header */
.thin-header {
    background-color: var(--primary-color);
    color: var(--black-color);
    font-size: 12px;
    padding: 8px 0;
}

.thin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-left: 20px;
}

.contact-info i {
    margin-left: 5px;
}

.social-media a {
    margin-right: 15px;
    color: var(--white-color);
    transition: var(--transition);
}

.social-media a:hover {
    color: var(--secondary-color);
}

/* Main Header */
.main-header {
    padding: 2px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background-color: var(--white-color);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-right: 20px;
}

.main-nav ul li a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    right: 0;
    transition: var(--transition);
    display: none;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Cairo', sans-serif;
    width: 200px;
}

.search-box button {
    background-color: transparent;
    border: none;
    margin-right: 10px;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6f4e3dab; 
    z-index: 1; 
    pointer-events: none; 
}

.hero-slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.1);
    animation: zoom 15s infinite;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
    color: var(--white-color);
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content .main-title {
    font-size: 30px;
    display: block;
    margin-top: 15px;
}

.typing {
    color: var(--secondary-color);
    font-weight: 800;
    border-right: 2px solid var(--white-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: var(--white-color);
    }
}

.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.section-divider .shape-fill {
    fill: var(--white-color);
}

/* About Section */
.about-section {
    padding-top: 80px;
    background-color: var(--white-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray-color);
}

.about-video {
    flex: 1;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    background: var(--white-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 250px;
    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.05);
}

.project-info {
    padding: 20px;
    border-top: 3px solid var(--primary-color);
}

.project-info h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.project-info .btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 20px;
    font-size: 14px;
}

.project-info .btn:hover {
    background-color: var(--secondary-color);
}

/* View All Button */
.view-all {
    text-align: center;
    margin-top: 50px;
}

/* Banner Section */
.banner-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--primary-color);
    color: var(--white-color);
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-item i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 0 auto 15px;
}

.counter {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item span {
    font-size: 18px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    aspect-ratio: 1/1;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(133, 84, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover .service-content {
    transform: translateY(0);
}

/* For tablet and mobile - always show the content */
@media (max-width: 768px) {
    /* Adjust text size for smaller screens */
    .service-content h3 {
        font-size: 20px;
    }
    
    .service-content p {
        font-size: 14px;
    }
    
    .service-content .btn {
        padding: 6px 15px;
        font-size: 14px;
    }
}

.service-content {
    text-align: center;
    color: var(--white-color);
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-content .btn {
    background-color: var(--secondary-color);
    border: 2px solid var(--white-color);
}

.service-content .btn:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

/* Sectors Section */
.sectors-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-color);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.sector-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sector-text {
    flex: 1;
}

.sector-text h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sector-text p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sector-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sector-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blogs Section */
.blogs-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-content p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(133, 84, 58, 0.2);
}

.contact-info {
    flex: 1;
    padding: 8px;
    background-color: var(--light-color);
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-right: 17px;
}

.info-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-left: 15px;
    margin-top: 3px;
}

.info-item p {
    color: var(--gray-color);
    line-height: 1.6;
}

.contact-info .social-media {
    margin-top: 30px;
}

.contact-info .social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
}

.contact-info .social-media a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Customers Section */
.customers-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.customers-slider {
    padding: 30px 0;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.swiper-slide:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Map Section */
.map-section {
    padding: 80px 0px 30px 0px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.main-footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white-color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.about-us p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.our-services ul li {
    margin-bottom: 10px;
}

.our-services ul li a {
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.our-services ul li a:hover {
    color: var(--secondary-color);
    padding-right: 10px;
}

.our-services ul li hr {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.blog-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.blog-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 15px;
}

.blog-info a {
    color: #ddd;
    font-size: 14px;
    transition: var(--transition);
    display: block;
    margin-bottom: 5px;
}

.blog-info a:hover {
    color: var(--secondary-color);
}

.blog-info span {
    font-size: 12px;
    color: var(--gray-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 18px;
}

.copyright {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links span {
    color: #555;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .sector-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-video,
    .sector-image {
        margin-top: 30px;
    }
    
    .hero-content h1 {
        font-size: 22px;
    }
    
    .hero-content .main-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .thin-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .social-media {
        margin-top: 0px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        background-color: var(--white-color);
        padding: 15px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }
    
    .main-nav ul li {
        margin: 0 0 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .search-box {
        /* order: 2;
        margin-right: auto;
        margin-left: 15px; */
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .blogs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 18px;
    }
    
    .hero-content .main-title {
        font-size: 22px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/** Adds **/
/* Clickable Phone number */
a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
}

a[href^="tel:"]:hover {
    color: inherit;
    text-decoration: none;
}

/* Whatsapp Floating Icon */
    /* WhatsApp Floating Button Styles */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background-color: #25D366;
        color: #FFF;
        border-radius: 50%;
        text-align: center;
        font-size: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        animation: pulse 2s infinite;
    }
    
    .whatsapp-float:hover {
        background-color: #128C7E;
        transform: scale(1.1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    
    .whatsapp-icon {
        margin-top: 2px;
    }
    
    @keyframes pulse {
        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);
        }
    }
    
    @media (max-width: 768px) {
        .whatsapp-float {
            width: 50px;
            height: 50px;
            font-size: 25px;
            bottom: 20px;
            right: 20px;
        }
    }