/* Expo Arabic Font Family */
@font-face {
    font-family: 'Expo Arabic';
    src: url('../fonts/Expo Arabic Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Expo Arabic';
    src: url('../fonts/Expo Arabic Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Expo Arabic';
    src: url('../fonts/Expo Arabic Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Expo Arabic';
    src: url('../fonts/Expo Arabic Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Fallback Badr Font */
@font-face {
    font-family: 'Badr';
    src: url('../fonts/badr.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Expo Arabic', 'Badr', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* RTL Support */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* Button direction support */
html[dir="ltr"] .hero-content {
    align-items: flex-start;
    text-align: left;
}

html[dir="ltr"] .btn-arrow {
    order: 3;
}

html[dir="ltr"] .btn-text {
    order: 1;
}

html[dir="ltr"] .hero-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(255 255 255 / 8%);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

/* Solid navbar background on pages with header */
.page-with-header .navbar {
    background: color-mix(in srgb, var(--primary-color) 95%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: color-mix(in srgb, var(--primary-color) 95%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.navbar.scrolled .logo img {
    height: 60px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    order: 2;
}

.logo img {
    height: 70px;
    width: auto;
    filter: brightness(1.1);
    transition: height 0.3s ease;
}

.nav-menu {
    order: 1;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
    position: relative;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 18px;
    display: block;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-menu li::after {
    content: '';
    position: absolute;
    bottom: -42px;
    right: 0;
    left: 0;
    height: 9px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar.scrolled .nav-menu li::after{
    bottom: -32px;
}

.nav-menu li:has(a.active)::after,
.nav-menu li:hover::after {
    transform: scaleX(1);
}

.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, rgba(30, 50, 80, 0.85) 0%, rgba(40, 60, 90, 0.5) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 1200px;
}

.hero-content {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 100%;
}

html[dir="rtl"] .hero-content {
    text-align: right;
    align-items: flex-start;
}

html[dir="ltr"] .hero-content {
    text-align: left;
    align-items: flex-start;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
    max-width: 100%;
}

.hero-btn {
    display: inline-flex
;
    align-items: stretch;
    overflow: hidden;
    background: transparent;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s backwards;
    padding-right: 10px;
    padding-left: 10px;
    background: white;
    padding-top: 0;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.btn-text {
    background: #ffffff;
    color: #454685;
    padding: 6px 35px;
    display: flex;
    align-items: center;
    order: 2;
    transition: all 0.3s ease;
}

.btn-arrow {
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    min-width: 60px;
    order: 1;
    transition: all 0.3s ease;
}

.hero-btn:hover .btn-arrow {
    background: #3a3b6d;
    transform: translateX(-3px);
}

.hero-btn:hover .btn-text {
    background: #f5f5f5;
}

/* Hero Service Cards */
.hero-cards {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(50%);
    z-index: 10;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 45px 35px;
    border-radius: 12px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(69, 70, 133, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="rtl"] .hero-card::before {
    transform-origin: right;
}

.hero-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(69, 70, 133, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 80px rgba(69, 70, 133, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(69, 70, 133, 0.2);
}

.hero-card:hover::before {
    transform: scaleX(1);
}

.hero-card:hover::after {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(69, 70, 133, 0.12) 0%, transparent 70%);
}

.hero-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

html[dir="rtl"] .hero-card h3 {
    text-align: right;
}

html[dir="ltr"] .hero-card h3 {
    text-align: left;
}

.hero-card:hover h3 {
    color: #3a3b6d;
}

.hero-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

html[dir="rtl"] .hero-card p {
    text-align: right;
}

html[dir="ltr"] .hero-card p {
    text-align: left;
}

.hero-card:hover p {
    color: #333;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

/* About Section */
.about-preview {
    padding-top: 200px !important;
    background: #f8f9fa;
}

.about {
    background: #f8f9fa;
}

/* Services Section */
.services {
    background: #ffffff;
}

/* Projects Section */
.projects {
    background: #f8f9fa;
}

/* Contact Section */
.contact {
    background: #ffffff;
}

/* Projects Section */
.projects-section {
    background: #ffffff;
}

/* About Section with Background */
.about-section-bg {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    padding-bottom: 0!important;
}

.about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

html[dir="rtl"] .about-bg-overlay {
    background: linear-gradient(to left, rgba(69, 70, 133, 0.82) 0%, rgba(69, 70, 133, 0.2) 100%);
}

html[dir="ltr"] .about-bg-overlay {
    background: linear-gradient(to right, rgba(69, 70, 133, 0.82) 0%, rgba(69, 70, 133, 0.2) 100%);
}

html[dir='ltr'] .footer-locations-list{
    padding-right: 0;
    padding-left: 10px;
    border-left: 2px solid #423e44;
    border-right: 0;
}

.about-section-bg .container {
    position: relative;
    z-index: 3;
}

.about-content-wrapper {
    width: 100%;
    text-align: center;
    color: #ffffff;
    padding: 60px 40px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-bottom: 0;
    border-radius: 0;
    padding-bottom: 200px;
}

.about-logo {
    margin-bottom: 40px;
}

html[dir="rtl"] .about-logo {
    text-align: right;
}

html[dir="ltr"] .about-logo {
    text-align: left;
}

.about-logo img {
    height: 100px;
    width: auto;
    filter: brightness(1.2);
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .about-title {
    text-align: right;
}

html[dir="ltr"] .about-title {
    text-align: left;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-intro,
.about-description {
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

html[dir="rtl"] .about-intro,
html[dir="rtl"] .about-description {
    text-align: right;
}

html[dir="ltr"] .about-intro,
html[dir="ltr"] .about-description {
    text-align: left;
}

.about-intro {
    font-weight: 400;
}

.about-description {
    font-weight: 300;
}

/* About Stats Section */
.about-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: statsPattern 20s linear infinite;
}

@keyframes statsPattern {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.about-stats .container {
    position: relative;
    z-index: 2;
}

.stats-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.stats-title {
    color: white !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 42px !important;
    margin-bottom: 15px;
}

.stats-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-top: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 50px 35px;
    background: white;
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: none;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover::after {
    opacity: 0.03;
}

.stat-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

.stat-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card:hover .stat-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.stat-icon i {
    font-size: 40px;
    color: white;
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-family: 'Expo Arabic', sans-serif;
    display: block;
}

.stat-label {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.4;
}

.stat-desc {
    font-size: 15px;
    margin: 0;
    line-height: 1.7;
    color: #666;
}

/* Vision & Mission Section */
.vision-mission {
    background: linear-gradient(135deg, #f8f9fc 0%, #e6ecf4 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23454685" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.vm-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.vm-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.vm-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(69, 70, 133, 0.2);
    border-color: var(--primary-color);
}

.vm-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.3);
}

.vm-card:hover .vm-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(69, 70, 133, 0.4);
}

.vm-icon i {
    font-size: 40px;
    color: #ffffff;
}

.vm-card h3 {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
}

.vm-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    font-weight: 400;
}

/* Why Choose Us / Values Section */
.why-choose-us {
    background: #ffffff;
}

.bg-light {
    background: #ffffff !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 50px rgba(69, 70, 133, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #e6ecf4 100%);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.3);
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 35px rgba(69, 70, 133, 0.4);
}

.value-icon i {
    font-size: 34px;
    color: #ffffff;
}

.value-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    font-weight: 400;
}

/* Licenses & Certifications Section */
.licenses-section {
    background: linear-gradient(135deg, #f8f9fc 0%, #e6ecf4 100%);
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
    font-weight: 500;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.license-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.license-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.license-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 60px rgba(69, 70, 133, 0.2);
    border-color: var(--primary-color);
}

.license-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(69, 70, 133, 0.3);
}

.license-card:hover .license-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 40px rgba(69, 70, 133, 0.5);
}

.license-icon i {
    font-size: 45px;
    color: #ffffff;
}

.license-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.license-desc {
    font-size: 14px;
    margin: 10px 0;
    color: #666;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.license-number {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* Projects Filter */
.projects-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: #454685;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #454685, #6b6fab);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
    display: none;
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn i,
.filter-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.filter-btn:hover {
    border-color: #454685;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.25);
}

.filter-btn:hover i,
.filter-btn:hover span {
    
}

.filter-btn.active {
    background: linear-gradient(135deg, #454685, #6b6fab);
    color: white;
    border-color: #454685;
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.35);
    transform: translateY(-2px);
}

.filter-btn.active::before {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #6b6fab, #454685);
    display: none;
}

.filter-btn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .projects-filter {
        gap: 10px;
        margin-top: 30px;
    }
    
    .filter-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .filter-btn i {
        font-size: 16px;
    }
}

/* No Projects Message */
.no-projects-message {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin: 40px 0;
}

.no-projects-message i {
    font-size: 64px;
    color: #454685;
    margin-bottom: 25px;
    opacity: 0.5;
}

.no-projects-message h3 {
    font-size: 28px;
    color: #454685;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-projects-message p {
    font-size: 18px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .no-projects-message {
        padding: 60px 15px;
    }
    
    .no-projects-message i {
        font-size: 48px;
    }
    
    .no-projects-message h3 {
        font-size: 22px;
    }
    
    .no-projects-message p {
        font-size: 16px;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.project-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 280px;
    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.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(69, 70, 133, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #ffffff;
    color: #454685;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #454685;
    margin-bottom: 15px;
    line-height: 1.4;
}

.project-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.project-location,
.project-status {
    font-size: 14px;
    font-weight: 600;
}

.project-location {
    color: #454685;
}

.project-status {
    color: #666;
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
}

.section-footer {
    text-align: center;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Language Switcher */
.lang-switcher {
    margin-right: 20px;
}

.lang-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 18px !important;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.lang-link:hover .flag-icon {
    transform: scale(1.1);
}

.lang-link span {
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Section Padding Utility */
.section-padding {
    padding: 80px 0;
}

/* Page Header */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    padding: 180px 0 100px;
    margin-top: 110px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* Geometric Zigzag Pattern Background */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml;utf8,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><path d="M0 40 L20 20 L20 0 L40 20 L60 0 L60 20 L80 40 L60 60 L60 80 L40 60 L20 80 L20 60 Z" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1.5"/></svg>');
    background-size: 80px 80px;
    opacity: 0.6;
    animation: patternSlide 20s linear infinite;
}

@keyframes patternSlide {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* Decorative elements */
.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.03));
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
    position: relative;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 2px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header SVG Shapes */
.header-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

/* Header Logo Watermark */
.header-logo-watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.watermark-logo {
    position: absolute;
    opacity: 0.08;
    filter: brightness(0) invert(1);
    mix-blend-mode: overlay;
}

.watermark-logo-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -50px;
    animation: floatLogo1 25s ease-in-out infinite;
}

.watermark-logo-2 {
    width: 350px;
    height: 350px;
    top: 50%;
    right: -80px;
    transform: translateY(-50%) rotate(30deg);
    animation: floatLogo2 20s ease-in-out infinite;
}

.watermark-logo-3 {
    width: 400px;
    height: 400px;
    bottom: -120px;
    left: 40%;
    transform: translateX(-50%) rotate(-15deg);
    animation: floatLogo3 22s ease-in-out infinite;
}

@keyframes floatLogo1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.08;
    }
    50% {
        transform: translate(30px, -40px) rotate(10deg) scale(1.05);
        opacity: 0.12;
    }
}

@keyframes floatLogo2 {
    0%, 100% {
        transform: translateY(-50%) rotate(30deg) scale(1);
        opacity: 0.08;
    }
    50% {
        transform: translateY(-50%) translate(-30px, 20px) rotate(40deg) scale(1.1);
        opacity: 0.1;
    }
}

@keyframes floatLogo3 {
    0%, 100% {
        transform: translateX(-50%) rotate(-15deg) scale(1);
        opacity: 0.08;
    }
    50% {
        transform: translateX(-50%) translate(20px, -30px) rotate(-5deg) scale(1.08);
        opacity: 0.1;
    }
}

.header-shapes .shape {
    position: absolute;
    opacity: 1;
}

.header-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -50px;
    animation: floatShape1 20s ease-in-out infinite;
}

.header-shapes .shape-2 {
    width: 350px;
    height: 350px;
    top: 50%;
    right: -80px;
    animation: floatShape2 18s ease-in-out infinite;
}

.header-shapes .shape-3 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: 30%;
    animation: floatShape3 22s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes floatShape2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-40px, 30px) rotate(-120deg);
    }
    66% {
        transform: translate(20px, -20px) rotate(-240deg);
    }
}

@keyframes floatShape3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(25px, -25px) rotate(180deg);
    }
}

/* Header Floating Particles */
.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.header-particles .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.header-particles .particle-1 {
    top: 20%;
    left: 10%;
    animation: floatParticle 8s ease-in-out infinite;
}

.header-particles .particle-2 {
    top: 60%;
    left: 80%;
    width: 6px;
    height: 6px;
    animation: floatParticle 10s ease-in-out infinite 1s;
}

.header-particles .particle-3 {
    top: 40%;
    left: 25%;
    width: 5px;
    height: 5px;
    animation: floatParticle 12s ease-in-out infinite 2s;
}

.header-particles .particle-4 {
    top: 75%;
    left: 60%;
    width: 7px;
    height: 7px;
    animation: floatParticle 9s ease-in-out infinite 3s;
}

.header-particles .particle-5 {
    top: 30%;
    left: 90%;
    width: 4px;
    height: 4px;
    animation: floatParticle 11s ease-in-out infinite 4s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-80px) translateX(40px);
        opacity: 1;
    }
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #3a3b6d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer-section {
    position: relative;
    padding: 100px 0 40px;
    padding-top: 0px!important;
    overflow: hidden;
    background: var(--footer-bg-color);
}

.footer-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--footer-bg-color);
    z-index: 2;
}

.footer-section .container {
    position: relative;
    z-index: 3;
}

.footer-content-box {
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 0px;
    border-top: 0!important;
    padding: 50px 40px;
    color: #423e44;
    text-align: center;
    padding-top: 80px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 100px;
    width: auto;
    filter: brightness(1.2);
}

.footer-company-info {
    margin-bottom: 30px;
}

.footer-company-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--footer-text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-registration {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.registration-item {
    font-size: 20px;
    color: #423e44;
    font-weight: 500;
}

.footer-phones {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #423e44;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 5px;
}

.footer-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 22px;
}

.footer-locations {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    align-items: center;
}

html[dir="rtl"] .footer-locations {
    flex-direction: row-reverse;
}

html[dir="ltr"] .footer-locations {
    flex-direction: row-reverse;
}

.location-icon {
    font-size: 22px;
    color: #423e44;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-locations-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 2px solid #423e44;
    padding-right: 10px;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #423e44;
}

.footer-location-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #423e44;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-location-link:hover {
    background: rgba(66, 62, 68, 0.1);
    color: var(--primary-color);
    transform: translateX(3px);
}

html[dir="rtl"] .footer-location-link:hover {
    transform: translateX(-3px);
}

.location-link-icon {
    font-size: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-location-link:hover .location-link-icon {
    opacity: 1;
}

html[dir="rtl"] .footer-location {
    text-align: right;
}

html[dir="ltr"] .footer-location {
    text-align: left;
}

.location-label {
    font-weight: 600;
    color: #423e44;
}

.location-text {
    font-weight: 400;
    color: #423e44;
}

.footer-copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
}

.footer-copyright p {
    color: #423e44;
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

/* Page Header Subtitle */
.page-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid */
.services {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23454685" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(69, 70, 133, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(69, 70, 133, 0.2);
    border-color: rgba(69, 70, 133, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon-wrapper {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(69, 70, 133, 0.2);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(69, 70, 133, 0.35);
}

.service-card:hover .service-icon::before {
    opacity: 0.5;
}

.service-icon i {
    font-size: 45px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 25px;
    position: relative;
    z-index: 1;
}

.service-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(69, 70, 133, 0.1), rgba(255, 116, 137, 0.1));
    border: 1px solid rgba(69, 70, 133, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .feature-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Contact Grid */
.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(69, 70, 133, 0.15);
    border-color: #454685;
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #454685 0%, #5a5ba5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 30px;
    color: #ffffff;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #454685;
    margin-bottom: 15px;
}

.contact-link {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #454685;
}

.contact-text {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* Modern Contact Page Styles */
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-cards-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card-modern {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.contact-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card-modern:hover::before {
    transform: scaleX(1);
}

.contact-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(69, 70, 133, 0.15);
    border-color: var(--primary-color);
}

.whatsapp-card {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
}

.whatsapp-card h3,
.whatsapp-card .contact-link-modern {
    color: #ffffff !important;
}

.whatsapp-card .contact-icon-modern {
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-card-modern:hover .contact-icon-modern {
    transform: rotateY(360deg);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-icon-modern i {
    font-size: 32px;
    color: #ffffff;
}

.contact-card-modern h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link-modern {
    color: #555;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link-modern:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateX(-5px);
}

html[dir="rtl"] .contact-link-modern:hover {
    transform: translateX(5px);
}

/* Locations Section */
.locations-section {
    margin-bottom: 60px;
}

.locations-title,
.social-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.locations-title::after,
.social-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card-modern {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.location-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(69, 70, 133, 0.12);
    border-color: var(--secondary-color);
}

.location-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.location-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #6a6baa);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon-modern i {
    font-size: 26px;
    color: #ffffff;
}

.location-info {
    flex: 1;
}

.location-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.location-info p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.map-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.3);
}

.map-link-btn i {
    font-size: 18px;
}

/* Social Media Section */
.social-section {
    margin-bottom: 60px;
    text-align: center;
}

.social-links-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link-modern {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-link-modern:hover::before {
    transform: scale(1);
}

.social-link-modern:hover {
    transform: translateY(-5px) rotate(360deg);
}

.social-link-modern.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    box-shadow: 0 5px 20px rgba(29, 161, 242, 0.3);
}

.social-link-modern.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 5px 20px rgba(240, 148, 51, 0.3);
}

.social-link-modern.facebook {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.3);
}

.social-link-modern.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
    box-shadow: 0 5px 20px rgba(0, 119, 181, 0.3);
}

/* Contact Licenses Display */
.contact-licenses {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(69, 70, 133, 0.2);
}

.licenses-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.license-info-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.license-info-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.license-info-card i {
    font-size: 28px;
    opacity: 0.9;
}

.license-info-card span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* ============================================
   MODERNIZED CONTACT PAGE STYLES
   ============================================ */

/* Section Badge */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(69, 70, 133, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Grid Layout */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 60px;
}

/* Contact Form Section */
.contact-form-section {
    position: relative;
}

.form-container-modern {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
}

/* Modern Form Styles */
.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group-modern {
    position: relative;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 20px;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1;
}

[dir="rtl"] .input-icon-wrapper i {
    left: auto;
    right: 20px;
}

.input-icon-wrapper.textarea-wrapper i {
    top: 20px;
}

.form-input-modern {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid #e6ecf4;
    border-radius: 15px;
    font-size: 16px;
    color: #333;
    background: #f8f9fc;
    transition: all 0.3s ease;
    font-family: inherit;
}

[dir="rtl"] .form-input-modern {
    padding: 18px 55px 18px 20px;
}

.form-input-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 5px 20px rgba(69, 70, 133, 0.1);
}

.form-input-modern:focus + i,
.form-input-modern:focus ~ i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

textarea.form-input-modern {
    resize: vertical;
    min-height: 140px;
    padding-top: 18px;
}

/* Submit Button */
.btn-submit-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.35);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 16px;
}

.btn-submit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit-modern:hover::before {
    left: 100%;
}

.btn-submit-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit-modern:hover::after {
    width: 400px;
    height: 400px;
}

.btn-submit-modern:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(69, 70, 133, 0.5);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-submit-modern:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.35);
}

.btn-submit-modern:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.35), 0 0 0 4px rgba(69, 70, 133, 0.2);
}

.btn-text {
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.btn-submit-modern i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.btn-submit-modern:hover i {
    transform: translateX(5px) rotate(15deg);
}

[dir="rtl"] .btn-submit-modern:hover i {
    transform: translateX(-5px) rotate(-15deg);
}

.btn-submit-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit-modern:disabled:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.35);
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Enhanced Contact Cards */
.contact-cards-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card-modern.phone-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-card-modern.phone-card h3,
.contact-card-modern.email-card h3,
.contact-card-modern.whatsapp-card h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.contact-card-modern.phone-card .contact-icon-modern i,
.contact-card-modern.email-card .contact-icon-modern i,
.contact-card-modern.whatsapp-card .contact-icon-modern i {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact-card-modern.email-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.contact-card-modern .contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.contact-link-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-link-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.4);
}

[dir="rtl"] .contact-link-modern:hover {
    transform: translateX(-5px);
}

.contact-link-modern i {
    font-size: 16px;
    min-width: 20px;
}

.contact-link-modern span {
    flex: 1;
}

/* WhatsApp Button Style */
.whatsapp-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #25D366 !important;
    font-weight: 700;
    justify-content: center;
}

.whatsapp-btn i {
    font-size: 22px;
}

.whatsapp-btn:hover {
    background: white !important;
    transform: scale(1.05);
}

/* Quick Stats Section */
.quick-stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(69, 70, 133, 0.15);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 26px;
    color: white;
}

.stat-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Locations Section Wrapper */
.locations-section-wrapper {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e6ecf4;
}

.locations-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.locations-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Enhanced Location Cards */
.location-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(69, 70, 133, 0.3);
}

[dir="rtl"] .location-badge {
    right: auto;
    left: 20px;
}

.location-badge.secondary {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.location-card-modern {
    position: relative;
}

.location-header .location-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.location-header .location-info p i {
    color: var(--primary-color);
    font-size: 14px;
}

.location-actions {
    margin-top: 25px;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(69, 70, 133, 0.3);
}

.map-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(69, 70, 133, 0.4);
}

.map-link-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.map-link-btn:hover i {
    transform: rotate(45deg);
}

/* Social Section Wrapper */
.social-section-wrapper {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fc, #e6ecf4);
    border-radius: 25px;
}

.social-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.social-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* Enhanced Social Links */
.social-links-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-link-modern {
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-icon-wrapper i {
    font-size: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.social-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.social-link-modern:hover .social-icon-wrapper {
    transform: scale(1.15) rotate(360deg);
    background: rgba(255, 255, 255, 0.3);
}

.social-link-modern:hover .social-icon-wrapper i {
    transform: scale(1.1);
}

.social-link-modern:hover {
    transform: translateY(-10px);
}

/* Enhanced Licenses Section */
.contact-licenses {
    margin-top: 80px;
    padding: 60px 50px;
    background: linear-gradient(135deg, #f8f9fc 0%, #e6ecf4 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.contact-licenses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.licenses-main-title {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.licenses-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    font-weight: 500;
}

.licenses-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.license-info-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.license-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.license-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(69, 70, 133, 0.15);
    border-color: var(--primary-color);
}

.license-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.license-info-card:hover .license-icon {
    transform: rotate(360deg) scale(1.1);
}

.license-icon i {
    font-size: 36px;
    color: white;
}

.license-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.license-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.license-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Navbar Tablet */
    .navbar {
        padding: 15px 0;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-menu ul {
        gap: 25px;
    }
    
    .nav-menu a {
        font-size: 15px;
        padding: 8px 14px;
    }
    
    /* Hero Tablet */
    .hero {
        height: calc(100vh - 80px);
        margin-bottom: 100px;
    }
    
    .hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .cards-grid {
        gap: 20px;
    }
    
    .hero-card {
        padding: 35px 25px;
    }
    
    .hero-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .hero-card p {
        font-size: 15px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .licenses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Services Tablet */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 28px;
    }
    
    .service-icon {
        width: 85px;
        height: 85px;
    }
    
    .service-icon i {
        font-size: 38px;
    }
    
    .service-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .service-card p {
        font-size: 15px;
    }
    
    .feature-badge {
        font-size: 12px;
        padding: 7px 14px;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        padding: 12px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .navbar.scrolled .logo img {
        height: 45px;
    }
    
    .nav-menu ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .nav-menu li::after {
        bottom: -20px;
        height: 6px;
    }
    
    .navbar.scrolled .nav-menu li::after {
        bottom: -18px;
    }
    
    .lang-link {
        padding: 6px 12px !important;
    }
    
    .flag-icon {
        width: 18px;
        height: 18px;
    }
    
    .lang-link span {
        font-size: 13px;
    }
    
    /* Hero Mobile */
    .hero {
        height: auto;
        min-height: 70vh;
        margin-bottom: 100px;
        padding: 120px 0 60px;
        padding-top: 200px;
    }
    
    .hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    html[dir="rtl"] .hero-content,
    html[dir="ltr"] .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .hero-btn {
        font-size: 16px;
    }
    
    .btn-text {
        padding: 12px 25px;
    }
    
    .btn-arrow {
        padding: 12px 18px;
        min-width: 50px;
        font-size: 20px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-cards {
        position: relative;
        transform: none;
        margin-top: -80px;
    }
    
    .about-preview {
        padding-top: 80px !important;
    }
    
    .hero-card {
        padding: 30px 25px;
        border-radius: 10px;
    }
    
    .hero-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .hero-card p {
        font-size: 15px;
        line-height: 1.8;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .page-header {
        padding: 150px 0 80px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header h1::after {
        width: 60px;
        height: 3px;
    }
    
    .page-subtitle {
        font-size: 17px;
        margin-top: 25px;
    }
    
    .watermark-logo-1 {
        width: 300px;
        height: 300px;
        top: -50px;
        left: -100px;
    }
    
    .watermark-logo-2 {
        width: 250px;
        height: 250px;
        right: -100px;
    }
    
    .watermark-logo-3 {
        width: 280px;
        height: 280px;
        bottom: -80px;
    }
    
    .footer-section {
        padding: 80px 0 30px;
    }
    
    .footer-content-box {
        padding: 40px 25px;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .footer-company-name {
        font-size: 24px;
    }
    
    .footer-registration {
        gap: 20px;
    }
    
    .registration-item {
        font-size: 24px;
    }
    
    .footer-phones {
        gap: 20px;
    }
    
    .footer-phone {
        font-size: 16px;
    }
    
    .footer-locations {
        gap: 10px;
        font-size: 14px;
    }
    
    .location-icon {
        font-size: 20px;
    }
    
    .footer-locations-list {
        gap: 6px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-image {
        height: 250px;
    }
    
    .project-content {
        padding: 25px;
    }
    
    .project-content h3 {
        font-size: 20px;
    }
    
    .about-section-bg {
        padding: 80px 0;
    }
    
    .about-stats {
        padding: 60px 0;
    }
    
    .stats-title {
        font-size: 32px !important;
    }
    
    .stats-subtitle {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .stat-card {
        padding: 40px 25px;
    }
    
    .stat-icon {
        width: 75px;
        height: 75px;
    }
    
    .stat-icon i {
        font-size: 34px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-label {
        font-size: 19px;
    }
    
    .stat-desc {
        font-size: 14px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .vm-card {
        padding: 35px 25px;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
    }
    
    .vm-icon i {
        font-size: 28px;
    }
    
    .vm-card h3 {
        font-size: 22px;
    }
    
    .vm-card p {
        font-size: 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 26px;
    }
    
    .value-card h4 {
        font-size: 18px;
    }
    
    .value-card p {
        font-size: 14px;
    }
    
    .licenses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .license-card {
        padding: 40px 25px;
    }
    
    .license-icon {
        width: 70px;
        height: 70px;
    }
    
    .license-icon i {
        font-size: 32px;
    }
    
    .license-card h4 {
        font-size: 18px;
    }
    
    .license-number {
        font-size: 26px;
    }
    
    .about-content-wrapper {
        padding: 30px 20px;
    }
    
    .about-logo img {
        height: 80px;
    }
    
    .about-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .about-intro,
    .about-description {
        font-size: 16px;
        line-height: 1.9;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .service-icon {
        width: 85px;
        height: 85px;
    }
    
    .service-icon i {
        font-size: 38px;
    }
    
    .service-card h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .service-card p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .feature-badge {
        font-size: 12px;
        padding: 7px 14px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-cards-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-card-modern {
        padding: 35px 25px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .location-card-modern {
        padding: 25px;
    }
    
    .location-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .location-info h4 {
        font-size: 18px;
    }
    
    .location-info p {
        font-size: 14px;
    }
    
    .social-links-modern {
        gap: 15px;
    }
    
    .social-link-modern {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-licenses {
        padding: 30px 20px;
    }
    
    .licenses-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .license-info-card {
        padding: 20px;
        font-size: 13px;
    }
    
    .license-info-card i {
        font-size: 24px;
    }
    
    .contact-card {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    /* Navbar Small Mobile */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-wrapper {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .navbar.scrolled .logo img {
        height: 45px;
    }
    
    .nav-menu {
        order: 2;
        flex: 1;
    }
    
    .nav-menu ul {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 5px;
    }
    
    .nav-menu a {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .nav-menu li::after {
        display: none;
    }
    
    .lang-switcher {
        order: 3;
        margin-right: 0;
        margin-left: 0;
    }
    
    .lang-link {
        padding: 6px 12px !important;
        display: inline-flex !important;
    }
    
    .flag-icon {
        width: 18px;
        height: 18px;
    }
    
    /* Hero Small Mobile */
    .hero {
        height: auto;
        min-height: 60vh;
        margin-bottom: 80px;
        padding: 100px 0 40px;
        padding-top: 200px;
        flex-direction: column;
    }
    
    .hero .container {
        padding: 0 15px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    html[dir="rtl"] .hero-content,
    html[dir="ltr"] .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .hero-btn {
        font-size: 15px;
    }
    
    .btn-text {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .btn-arrow {
        padding: 10px 12px;
        min-width: 40px;
        font-size: 16px;
    }
    
    /* Hero Cards Small Mobile */
    .hero-cards {
        position: relative;
        transform: none;
        margin-top: -60px;
        padding: 0 15px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-card {
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .hero-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .hero-card p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .about-section-bg {
        padding: 60px 0;
    }
    
    .about-stats {
        padding: 50px 0;
    }
    
    .stats-title {
        font-size: 28px !important;
    }
    
    .stats-subtitle {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat-card {
        padding: 35px 25px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }
    
    .stat-icon i {
        font-size: 30px;
    }
    
    .stat-number {
        font-size: 44px;
        margin-bottom: 15px;
    }
    
    .stat-label {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .stat-desc {
        font-size: 14px;
    }
    
    .about-content-wrapper {
        padding: 25px 15px;
        border-width: 2px;
    }
    
    .about-logo img {
        height: 70px;
    }
    
    .about-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .about-intro,
    .about-description {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .about-text-content {
        gap: 20px;
    }
    
    .footer-section {
        padding: 60px 0 25px;
    }
    
    .footer-content-box {
        padding: 30px 15px;
        border-width: 2px;
    }
    
    .footer-logo img {
        height: 70px;
    }
    
    .footer-company-name {
        font-size: 20px;
    }
    
    .footer-registration {
        flex-direction: column;
        gap: 10px;
    }
    
    .registration-item {
        font-size: 20px;
    }
    
    .footer-phones {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-phone {
        font-size: 15px;
        padding: 8px 15px;
    }
    
    .footer-locations {
        gap: 10px;
        font-size: 13px;
    }
    
    .location-icon {
        font-size: 18px;
    }
    
    .footer-locations-list {
        gap: 5px;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .page-header {
        padding: 130px 0 70px;
    }
    
    .page-header h1 {
        font-size: 28px;
        letter-spacing: -0.3px;
    }
    
    .page-header h1::after {
        width: 50px;
        height: 3px;
        bottom: -12px;
    }
    
    .page-subtitle {
        font-size: 15px;
        margin-top: 20px;
    }
    
    .header-shapes .shape-1 {
        width: 250px;
        height: 250px;
        top: -50px;
        left: -80px;
    }
    
    .header-shapes .shape-2 {
        width: 220px;
        height: 220px;
        right: -100px;
    }
    
    .header-shapes .shape-3 {
        width: 200px;
        height: 200px;
        bottom: -50px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 30px;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .service-card p {
        font-size: 15px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 25px;
    }
    
    .contact-card h3 {
        font-size: 20px;
    }
    
    .contact-link {
        font-size: 16px;
    }
    
    .contact-text {
        font-size: 14px;
    }
    
    /* Hero Cards Mobile */
    .hero-cards {
        position: relative;
        transform: none;
        margin-top: -60px;
        padding: 0 15px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-card {
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .hero-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .hero-card p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* Projects Section Mobile */
    .projects-section {
        padding: 80px 0 60px;
    }
    
    .section-header h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        border-radius: 12px;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .project-content p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .project-location,
    .project-status {
        font-size: 13px;
    }
    
    .btn-primary {
        font-size: 15px;
        padding: 12px 28px;
    }
    
    /* About Section Mobile */
    .about-section-bg {
        padding: 50px 0;
    }
    
    .about-content-wrapper {
        padding: 25px 18px;
    }
    
    .about-logo img {
        height: 65px;
    }
    
    .about-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .about-intro {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .about-description {
        font-size: 14px;
        line-height: 1.8;
    }
    
    /* Vision Mission Mobile */
    .vision-mission {
        padding: 50px 0;
    }
    
    .section-badge {
        font-size: 13px;
        padding: 8px 18px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vm-card {
        padding: 25px 20px;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .vm-icon i {
        font-size: 26px;
    }
    
    .vm-card h3 {
        font-size: 19px;
        margin-bottom: 12px;
    }
    
    .vm-card p {
        font-size: 14px;
        line-height: 1.8;
    }
    
    /* Values Grid Mobile */
    .why-choose-us {
        padding: 50px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-icon {
        width: 55px;
        height: 55px;
        border-radius: 12px;
    }
    
    .value-icon i {
        font-size: 24px;
    }
    
    .value-card h4 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .value-card p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* Licenses Mobile */
    .licenses-section {
        padding: 50px 0;
    }
    
    .licenses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .license-card {
        padding: 25px 20px;
    }
    
    .license-icon {
        width: 70px;
        height: 70px;
    }
    
    .license-icon i {
        font-size: 30px;
    }
    
    .license-card h4 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .license-desc {
        font-size: 13px;
    }
    
    .license-number {
        font-size: 20px;
    }
    
    /* Services Small Mobile */
    .services {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 35px 25px;
        border-radius: 15px;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 25px;
    }
    
    .service-icon i {
        font-size: 34px;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }
    
    .service-card p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 18px;
    }
    
    .service-features {
        gap: 8px;
    }
    
    .feature-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ========================================
   PROJECT DETAIL PAGE
   ======================================== */

/* Project Detail Header */
.project-detail-header {
    text-align: center;
}

.project-detail-meta {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.meta-item i {
    font-size: 18px;
    opacity: 0.9;
}

/* Project Detail Section */
.project-detail-section {
    padding: 80px 0;
}

/* Project Image */
.project-detail-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 60px;
    position: relative;
}

.project-detail-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    z-index: 1;
    pointer-events: none;
}

.project-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-detail-image:hover img {
    transform: scale(1.05);
}

/* Project Image Gallery Slider */
.project-gallery {
    width: 100%;
    margin-bottom: 60px;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.gallery-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #f5f5f5;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gallery-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    font-size: 16px;
    z-index: 2;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .thumbnail {
        width: 90px;
        height: 60px;
    }
    
    .slide-counter {
        bottom: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Project Content */
.project-detail-content {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #454685;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.detail-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #454685, #6b6fab);
    border-radius: 2px;
}

.detail-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-top: 30px;
}

/* Project Services Section - Modern UI */
.project-services {
    margin: 60px 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(69, 70, 133, 0.03), rgba(107, 111, 171, 0.05));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.project-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #454685, #6b6fab, #454685);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #454685, #6b6fab);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(69, 70, 133, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.services-icon-wrapper i {
    font-size: 36px;
    color: white;
}

.services-title {
    font-size: 32px;
    font-weight: 700;
    color: #454685;
    margin-bottom: 10px;
}

.services-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(69, 70, 133, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(69, 70, 133, 0.2);
    border-color: #454685;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #454685, #6b6fab);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-content {
    flex: 1;
}

.service-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-item:hover .service-text {
    color: #454685;
}

.service-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(69, 70, 133, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #454685;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.service-item:hover .service-number {
    opacity: 1;
    transform: scale(1.1);
    background: #454685;
    color: white;
}

/* RTL Support for Services */
[dir="rtl"] .service-number {
    right: auto;
    left: 15px;
}

/* Responsive Services */
@media (max-width: 768px) {
    .project-services {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .services-title {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        padding: 25px 20px;
    }
}

/* Project Info Grid */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 80px 0;
    padding: 0;
}

.info-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #454685, #6b6fab);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(69, 70, 133, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(69, 70, 133, 0.2);
    border-color: rgba(69, 70, 133, 0.2);
}

.info-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #454685, #6b6fab);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(69, 70, 133, 0.3);
    position: relative;
    z-index: 1;
}

.info-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6b6fab, #454685);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover .info-icon::before {
    opacity: 1;
}

.info-card:hover .info-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(69, 70, 133, 0.4);
}

.info-icon i {
    font-size: 40px;
    color: white;
    position: relative;
    z-index: 2;
}

.info-card h3 {
    font-size: 24px;
    color: #454685;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.info-card:hover h3 {
    transform: scale(1.05);
    color: #6b6fab;
}

.info-card p {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-card:hover p {
    color: #333;
}

/* Responsive Info Grid */
@media (max-width: 768px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 50px 0;
    }
    
    .info-card {
        padding: 35px 25px;
    }
    
    .info-icon {
        width: 75px;
        height: 75px;
    }
    
    .info-icon i {
        font-size: 32px;
    }
    
    .info-card h3 {
        font-size: 20px;
    }
    
    .info-card p {
        font-size: 15px;
    }
}

/* Related Projects Section */
.related-projects {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 2px solid #e6ecf4;
}

.related-projects .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #454685;
    text-align: center;
    margin-bottom: 50px;
    position: relative;

}

.related-projects .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #454685, #6b6fab);
    border-radius: 2px;
}

.related-projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-projects .project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-projects .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(69, 70, 133, 0.15);
}

.related-projects .project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.related-projects .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-projects .project-card:hover .project-image img {
    transform: scale(1.1);
}

.related-projects .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(69, 70, 133, 0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-projects .project-card:hover .project-overlay {
    opacity: 1;
}

.related-projects .project-link {
    display: inline-block;
    background: white;
    color: #454685;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.related-projects .project-card:hover .project-link {
    transform: translateY(0);
}

.related-projects .project-link:hover {
    background: #454685;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(69, 70, 133, 0.3);
}

.related-projects .project-content {
    padding: 25px;
}

.related-projects .project-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #454685;
    margin-bottom: 12px;
}

.related-projects .project-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-projects .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e6ecf4;
}

.related-projects .project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #777;
}

.related-projects .project-location i {
    color: #454685;
}

.related-projects .project-status {
    background: linear-gradient(135deg, #454685, #6b6fab);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

/* Detail Actions */
.detail-actions {
    text-align: center;
    margin-top: 60px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-large i {
    transition: transform 0.3s ease;
}

html[dir="rtl"] .btn-large:hover i {
    transform: translateX(5px);
}

html[dir="ltr"] .btn-large:hover i {
    transform: translateX(-5px);
}

/* Responsive Design - Project Detail */
@media (max-width: 768px) {
    /* Contact Page Responsive */
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-container-modern {
        padding: 35px 25px;
    }
    
    .form-title {
        font-size: 26px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .contact-form-modern {
        gap: 20px;
    }
    
    .form-input-modern {
        padding: 15px 15px 15px 50px;
        font-size: 15px;
    }
    
    [dir="rtl"] .form-input-modern {
        padding: 15px 50px 15px 15px;
    }
    
    .btn-submit-modern {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .quick-stats-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .locations-section-wrapper {
        margin-top: 50px;
        padding-top: 40px;
    }
    
    .locations-title {
        font-size: 28px;
    }
    
    .locations-subtitle {
        font-size: 16px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .location-badge {
        top: 15px;
        right: 15px;
        padding: 6px 15px;
        font-size: 11px;
    }
    
    [dir="rtl"] .location-badge {
        right: auto;
        left: 15px;
    }
    
    .social-section-wrapper {
        margin-top: 50px;
        padding: 40px 20px;
    }
    
    .social-title {
        font-size: 26px;
    }
    
    .social-subtitle {
        font-size: 14px;
    }
    
    .social-links-modern {
        gap: 15px;
    }
    
    .social-link-modern {
        width: 120px;
        height: 120px;
    }
    
    .social-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .social-icon-wrapper i {
        font-size: 26px;
    }
    
    .social-name {
        font-size: 12px;
    }
    
    .contact-licenses {
        margin-top: 50px;
        padding: 40px 20px;
    }
    
    .licenses-main-title {
        font-size: 28px;
    }
    
    .licenses-subtitle {
        font-size: 16px;
        color: #555;
    }
    
    .licenses-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .license-info-card {
        padding: 25px;
    }
    
    .license-icon {
        width: 70px;
        height: 70px;
    }
    
    .license-icon i {
        font-size: 30px;
    }
    
    .license-content h4 {
        font-size: 16px;
    }
    
    .license-number {
        font-size: 20px;
    }
    
    /* Project Detail Responsive */
    .project-detail-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .meta-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .project-detail-section {
        padding: 50px 0;
    }
    
    .project-detail-image {
        margin-bottom: 40px;
        border-radius: 15px;
    }
    
    .detail-title {
        font-size: 28px;
    }
    
    .detail-description {
        font-size: 16px;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
    }
    
    .info-icon i {
        font-size: 30px;
    }
    
    .related-projects {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .related-projects .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .related-projects .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .related-projects .project-image {
        height: 200px;
    }
    
    .detail-actions {
        margin-top: 40px;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 24px;
    }
    
    .detail-description {
        font-size: 15px;
    }
    
    .info-card h3 {
        font-size: 20px;
    }
    
    .info-card p {
        font-size: 15px;
    }
    
    .related-projects .section-title {
        font-size: 24px;
    }
    
    .related-projects .project-content h3 {
        font-size: 20px;
    }
}

