/* 
  CJC Group - Combined CSS for Performance
  This file combines all CSS for faster loading
*/

/* Variables */
:root {
    --primary-color: #5c4f8c;
    --secondary-color: #a292dd;
    --accent-color: #c4e1dd;
    --light-purple: #e8e3f7;
    --dark-purple: #4a3f70;
    --text-light: #f3f3f3;
    --text-dark: #333333;
    --bg-light: #ffffff;
    --bg-dark: #f9f9f9;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: url('../images/back.webp') center center/cover no-repeat fixed;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 18px 35px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(92, 79, 140, 0.3);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(92, 79, 140, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(92, 79, 140, 0.3);
}

/* Skip Navigation for Accessibility */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-nav:focus {
    top: 6px;
}

/* Decorative Element Styles */

/* Left side decorative element using Z1.png */
.side-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 70px;
    /* Width of the decorative element */
    height: 100vh;
    z-index: 999;
    overflow: hidden;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Color variations for decoration - uncomment the one you prefer */

/* Styling for Z1.png decoration with gradient opacity */
.decoration-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Z1.webp');
    background-size: 100% auto;
    background-position: 0 0;
    background-repeat: repeat-y;
    opacity: 0.3;
    /* Much lower opacity for subtle effect */
    transform: scaleX(1);
    /* Normal LTR orientation */
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
}

/* Left decoration */
.left-decoration {
    left: 0;
}

/* Right decoration - Hide in English (LTR) */
.right-decoration {
    display: none;
    /* Hide right decoration in English */
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(92, 79, 140, 0.1);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.modern-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.navbar-brand {
    flex: 0 0 auto;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light-purple);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: var(--transition);
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-swiper {
    height: 100vh;
    position: relative;
    overflow: hidden;
}


.hero-slider {
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 50px;
    max-width: 600px;
    margin-left: 30px;
    margin-top: 100px;
}


.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
    color: var(--primary-color);
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


.cta-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.slide-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Force all hero slider images to be consistent */
.slide-bg-image,
.hero-swiper .slide-bg-image,
.hero-slider .slide-bg-image,
.swiper-slide .slide-bg-image,
.slide-image .slide-bg-image,
img.slide-bg-image {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    filter: brightness(1.05) contrast(1.05) saturate(1.1) !important;
    transition: transform 0.3s ease;
}

/* Responsive image positioning */
@media (max-width: 768px) {
    .slide-bg-image {
        object-position: center center;
        object-fit: cover;
        filter: brightness(1.1) contrast(1.1) saturate(1.05);
        min-height: 100vh;
        width: 100%;
    }

    .slide-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .slide-bg-image {
        object-position: center center;
        object-fit: cover;
        filter: brightness(1.15) contrast(1.1) saturate(1.0);
        min-height: 100vh;
        width: 100%;
    }

    .slide-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

/* Hide pagination dots on mobile */
@media screen and (max-width: 768px) {
    .swiper-pagination {
        display: none !important;
    }
}

/* Improve arrow visibility */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
}

html[dir="rtl"] .swiper-button-next {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .swiper-button-prev {
    left: auto;
    right: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-color);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Services Section */
.services {
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(10px);
}

.services-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-tabs {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.tabs-container {
    margin-bottom: 40px;
}

.tab-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--light-purple);
    border: none;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Override for Unique Services - must come after general rules */
.tab-btn[data-tab="unique"] {
    background: #c4e1dd !important;
    color: black !important;
}

.tab-btn[data-tab="unique"]:hover,
.tab-btn[data-tab="unique"].active {
    background: #c4e1dd !important;
    color: black !important;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.service-tab-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.service-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.tab-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-item-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.service-item-content h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Unique Services Tab Icons - Match Button Color */
#unique-tab .service-item-icon {
    background: #c4e1dd;
    color: white;
}

/* Why CJC Section */
.why-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.reasons-list {
    display: grid;
    gap: 30px;
}

.reason-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.point-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.point-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.point-content p {
    color: #666;
    line-height: 1.6;
}

/* Partners Section */
.partners-section {
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(10px);
}

.partners-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.partner-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.category-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.category-content p {
    color: #666;
    line-height: 1.6;
}

.partner-network {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.partner-network h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.partner-network p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.partner-ecosystem {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ecosystem-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--light-purple);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 500;
}

.ecosystem-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* FAQ Section */
.faq-section {
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(10px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.contact-info {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.info-details h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-details p {
    color: #666;
    line-height: 1.6;
}

.info-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-details a:hover {
    text-decoration: underline;
}

.whatsapp-item {
    background: #25d366;
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.whatsapp-item .info-icon {
    background: rgba(255, 255, 255, 0.2);
}

.whatsapp-item h3,
.whatsapp-item p {
    color: white;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #25d366;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Contact Form */
.info-box-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-top: 0;
}

.form-header {
    margin-bottom: 20px;
    text-align: center;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.form-group {
    margin-bottom: 6px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(92, 79, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 40px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Back to Top Button */
#back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#back-to-top-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
.footer-compact {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
    position: relative;
    z-index: 1000;
}

.compact-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.tagline {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer-social-compact {
    display: flex;
    gap: 15px;
}

.footer-social-compact a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-compact a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright-text {
    color: #ccc;
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .navbar-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .language-selector {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    /* Footer mobile improvements */
    .footer-compact {
        padding: 30px 0;
    }

    .compact-footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .footer-social-compact {
        justify-content: center;
        margin: 15px 0;
    }

    .copyright-text {
        order: 3;
        margin-top: 10px;
    }

    .modern-navbar {
        padding: 10px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .about-img {
        height: auto;
        max-height: 400px;
        object-position: center;
    }

    .navbar-brand {
        max-width: 60%;
    }

    .mobile-menu {
        padding-top: 60px;
    }

    .compact-footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .copyright-text {
        width: 100%;
        text-align: center;
        order: 3;
        margin-top: 5px;
    }

    .footer-brand {
        margin-bottom: 10px;
    }

    .footer-social-compact {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .slide-content {
        position: relative;
        width: 100%;
        max-width: 90%;
        padding: 20px;
        margin: 0 auto;
        margin-top: 20px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Better mobile padding for all sections */
    .container {
        padding: 0 30px;
    }

    .about-text {
        padding: 0 20px;
    }

    .about-text h3 {
        margin-bottom: 12px;
    }

    .about-text p {
        margin-bottom: 18px;
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }


    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        margin-top: 20px;
    }


    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .partner-ecosystem {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    /* Side decoration responsive */
    .side-decoration {
        width: 80px;
    }
}

@media screen and (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .slide-content {
        position: relative;
        width: 100%;
        max-width: 95%;
        padding: 15px;
        margin: 0 auto;
        margin-top: 10px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    /* Better mobile padding for smaller screens */
    .container {
        padding: 0 25px;
    }

    .about-text {
        padding: 0 25px;
    }

    .about-text h3 {
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .about-text p {
        margin-bottom: 16px;
        padding: 0 20px;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .section-header {
        margin-bottom: 30px;
        padding: 0 25px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .services-tabs {
        padding: 20px;
    }

    .info-box-container {
        padding: 15px;
    }

    .form-header h3 {
        font-size: 1.3rem;
    }

    .form-header p {
        font-size: 0.85rem;
    }

    #contactForm {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .floating-whatsapp {
        left: 20px !important;
        right: auto !important;
        bottom: 80px !important;
    }

    html[dir="rtl"] .floating-whatsapp {
        right: 20px !important;
        left: auto !important;
        bottom: 80px !important;
    }

    #back-to-top-btn {
        right: 20px !important;
        left: auto !important;
        bottom: 20px !important;
    }

    /* Side decoration responsive for small mobile */
    .side-decoration {
        width: 60px;
    }
}

/* RTL Support */
html[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .slide-image {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] .slide-bg-image {
    transform: scaleX(-1) !important;
}

html[dir="rtl"] .about-content {
    direction: rtl;
}

html[dir="rtl"] .contact-content {
    direction: rtl;
}

html[dir="rtl"] .reason-point {
    direction: rtl;
}

html[dir="rtl"] .service-item {
    direction: rtl;
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

html[dir="rtl"] .info-item {
    direction: rtl;
}

html[dir="rtl"] .mobile-menu {
    right: auto;
    left: -300px;
}

html[dir="rtl"] .mobile-menu.active {
    left: 0;
}

html[dir="rtl"] .close-menu {
    right: auto;
    left: 20px;
}

/* RTL Support - Removed general side-decoration rule to allow specific left/right positioning */

/* RTL Support for Side Decorations */
html[dir="rtl"] .left-decoration {
    left: auto;
    right: 0;
}

html[dir="rtl"] .right-decoration {
    display: none;
    /* Hide right decoration in Arabic */
}

html[dir="rtl"] .left-decoration .decoration-image {
    transform: scaleX(1);
    /* No flip for RTL - keep original orientation */
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
}

html[dir="rtl"] .right-decoration .decoration-image {
    transform: scaleX(1);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
}

/* RTL Body adjustments */
html[dir="rtl"] body {
    direction: rtl;
}

/* Arabic typography improvements: reduce widows and balance headings */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    text-wrap: balance;
}

html[dir="rtl"] p,
html[dir="rtl"] .about-text p {
    text-wrap: pretty;
}

/* Emphasize the first word after a period in Arabic paragraphs */
html[dir="rtl"] .sentence-next-word {
    font-weight: 700;
    font-size: 1.06em;
}

html[dir="rtl"] .container {
    direction: rtl;
}

html[dir="rtl"] .slide-content {
    direction: rtl;
    text-align: right;
    margin-left: 0 !important;
    margin-right: 30px !important;
}

/* RTL Mobile Responsive */
@media screen and (max-width: 768px) {
    html[dir="rtl"] .slide-content {
        text-align: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    html[dir="rtl"] .slide-content {
        text-align: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

/* Notification system removed - using cookie consent banner instead */

/* Animation Classes */
.animate {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Animation */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-color)
    }
}

.hero-content h1 span {
    color: var(--primary-color) !important;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    font-weight: 800 !important;
    overflow: visible !important;
    white-space: normal !important;
    display: inline !important;
    width: auto !important;
    animation: none !important;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/* Ensure typing animation works on slide change */
/* Disable typing animation to keep width stable */
.swiper-slide-active .hero-content h1 span {
    animation: none !important;
}

/* Fix spacing issues after typing animation */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .slide-image {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] .slide-bg-image {
    transform: scaleX(-1) !important;
}

html[dir="rtl"] .about-content {
    direction: rtl;
}

html[dir="rtl"] .contact-content {
    direction: rtl;
}

html[dir="rtl"] .reason-point {
    direction: rtl;
}

html[dir="rtl"] .service-item {
    direction: rtl;
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

html[dir="rtl"] .info-item {
    direction: rtl;
}

html[dir="rtl"] .mobile-menu {
    right: auto;
    left: -300px;
}

html[dir="rtl"] .mobile-menu.active {
    left: 0;
}

html[dir="rtl"] .close-menu {
    right: auto;
    left: 20px;
}

/* RTL Support - Removed general side-decoration rule to allow specific left/right positioning */

/* RTL Support for Side Decorations */
html[dir="rtl"] .left-decoration {
    left: auto;
    right: 0;
}

html[dir="rtl"] .right-decoration {
    display: none;
    /* Hide right decoration in Arabic */
}

html[dir="rtl"] .left-decoration .decoration-image {
    transform: scaleX(1);
    /* No flip for RTL - keep original orientation */
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
}

html[dir="rtl"] .right-decoration .decoration-image {
    transform: scaleX(1);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
}

/* RTL Body adjustments */
html[dir="rtl"] body {
    direction: rtl;
}

/* Arabic typography improvements: reduce widows and balance headings */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    text-wrap: balance;
}

html[dir="rtl"] p,
html[dir="rtl"] .about-text p {
    text-wrap: pretty;
}

/* Emphasize the first word after a period in Arabic paragraphs */
html[dir="rtl"] .sentence-next-word {
    font-weight: 700;
    font-size: 1.06em;
}

html[dir="rtl"] .container {
    direction: rtl;
}

html[dir="rtl"] .slide-content {
    direction: rtl;
    text-align: right;
    margin-left: 0 !important;
    margin-right: 30px !important;
}

/* RTL Mobile Responsive */
@media screen and (max-width: 768px) {
    html[dir="rtl"] .slide-content {
        text-align: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    html[dir="rtl"] .slide-content {
        text-align: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

/* Notification system removed - using cookie consent banner instead */

/* Animation Classes */
.animate {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Animation */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-color)
    }
}

.hero-content h1 span {
    color: var(--primary-color) !important;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    font-weight: 800 !important;
    overflow: visible !important;
    white-space: normal !important;
    display: inline !important;
    width: auto !important;
    animation: none !important;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/* Ensure typing animation works on slide change */
/* Disable typing animation to keep width stable */
.swiper-slide-active .hero-content h1 span {
    animation: none !important;
}

/* Fix spacing issues after typing animation */
.hero-content h1 span::after {
    content: '';
    display: none;
}

/* News Section Styles */
.news-section {
    background: #f8f9fa;
    padding: 80px 0;
    border-bottom: 1px solid #e2e8f0;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.news-header p {
    color: #718096;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-date {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-summary {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.news-link:hover {
    gap: 8px;
}

.news-cta {
    text-align: center;
    margin-top: 40px;
}

.linkedin-btn {
    background: #0077b5;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.linkedin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
    color: white;
}

[dir="rtl"] .news-link i {
    transform: rotate(180deg);
}

[dir="rtl"] .linkedin-btn {
    flex-direction: row-reverse;
}