/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

/* CSS Variables for Colors */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white-color: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --gradient-accent: linear-gradient(135deg, #45b7d1 0%, #2980b9 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
}

#contactSubmitBtn{
    background-color:#ff6b35 ;
    color: #fff;
}

.order-btn{
    background-color:#ff6b35 ;
    color: #fff;
    font-size: large;
}
/* Brand Button (Orange) */
.btn-brand {
    background: #16b3aa !important;
    color: #fff !important;
    border: none;
    font-weight: 800;
    border-radius: 12px;
    text-align: right;
}
.btn-brand:hover,
.btn-brand:focus {
    background: #ff6b35;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.25);
}
.btn-brand:disabled {
    opacity: 0.7;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Navigation Bar */
#mainNavbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    width: 55px;
    height: 55px;
    margin-left: 0.5rem;
    object-fit: contain;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Language Switcher */
.language-switcher .btn {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-switcher .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(78, 205, 196, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: var(--white-color);
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons .btn-primary {
    background: var(--gradient-secondary);
    border: none;
    box-shadow: var(--shadow-medium);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white-color);
    color: var(--white-color);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
}

.slider-nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-nav-btn.prev {
    right: 2rem;
}

.slider-nav-btn.next {
    left: 2rem;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--white-color);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.3rem;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav-btn.prev {
        right: 1rem;
    }
    
    .slider-nav-btn.next {
        left: 1rem;
    }
    
    .slider-indicators {
        bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* About Section Styles */
.about-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Section Header */
.section-header {
    text-align: right;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-right: 0;
}

/* About Content */
.about-content {
    padding-right: 2rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--dark-color);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Features List */
.features-list {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white-color);
}

.feature-content h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-content p {
    color: var(--dark-color);
    opacity: 0.7;
    margin: 0;
    line-height: 1.6;
}

/* About Stats */
.about-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

/* About Visual */
.about-visual {
    position: relative;
    padding: 2rem;
}

.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Floating Card */
.floating-card {
    position: absolute;
    top: -20px;
    left: -30px;
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
    max-width: 200px;
    transition: all 0.3s ease;
}

.floating-card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.floating-card .card-icon i {
    font-size: 1.2rem;
    color: var(--white-color);
}

.floating-card h5 {
    color: var(--dark-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.floating-card p {
    color: var(--dark-color);
    opacity: 0.7;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-heavy);
    z-index: 3;
    animation: pulse 2s ease-in-out infinite;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Background Elements */
.about-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.1;
}

.bg-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.bg-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: -75px;
    animation: float 8s ease-in-out infinite reverse;
}

.bg-circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 10%;
    animation: float 4s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design for About Section */
@media (max-width: 991px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .about-visual {
        padding: 1rem;
    }
    
    .floating-card {
        left: 0;
        top: 0;
    }
    
    .experience-badge {
        right: 0;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-card,
    .experience-badge {
        position: absolute;
        transform: none;
        animation: none;
    }
    
    .floating-card {
        top: -15px;
        left: -25px;
        width: 140px;
        padding: 1.2rem;
    }
    
    .floating-card .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }
    
    .floating-card h5 {
        font-size: 0.9rem;
    }
    
    .floating-card p {
        font-size: 0.8rem;
    }
    
    .experience-badge {
        bottom: -15px;
        right: -25px;
        width: 100px;
        height: 100px;
        padding: 1.2rem;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
    
    .about-image-wrapper {
        text-align: center;
    }
    
    .about-image {
        max-width: 100%;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .floating-card,
    .experience-badge {
        position: absolute;
        transform: none;
        animation: none;
    }
    
    .floating-card {
        top: -15px;
        left: -20px;
        width: 120px;
        height: auto;
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .floating-card .card-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.5rem;
    }
    
    .floating-card .card-icon i {
        font-size: 0.9rem;
    }
    
    .floating-card h5 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .floating-card p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .experience-badge {
        bottom: -15px;
        right: -20px;
        width: 80px;
        height: 80px;
        padding: 0.8rem;
    }
    
    .experience-badge .years {
        font-size: 1.2rem;
    }
    
    .experience-badge .text {
        font-size: 0.6rem;
    }
    
    .about-image {
        height: 250px;
    }
    
    .about-visual {
        padding: 0.5rem;
    }
}

/* Services Section Styles */
.services-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ff6b35" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.service-logo {
    position: absolute;
    bottom: -5px;
    right: -5px;
    z-index: 3;
}

.logo-small {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: var(--white-color);
    padding: 2px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.service-icon:hover .logo-small {
    transform: scale(1.1);
}

.service-content h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-content p {
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--primary-color);
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

/* Services CTA */
.services-cta {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 25px;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.services-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.services-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.services-cta .btn {
    background: var(--white-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.services-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Background Elements */
.services-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.1;
}

.bg-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.bg-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

.bg-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

/* Responsive Design for Services Section */
@media (max-width: 991px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .logo-small {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-cta {
        padding: 2rem;
    }
    
    .services-cta h3 {
        font-size: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.2rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
    }
    
    .services-cta .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Services Slider */
.services-slider { position: relative; }
.services-viewport { overflow: hidden; }
.services-track { display: flex; gap: 1rem; transition: transform 0.4s ease; will-change: transform; direction: ltr; }
.service-slide { flex: 0 0 33.333%; }
.service-slide .service-card { height: 100%; }

.services-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: none; border-radius: 50%; background: #fff; color: var(--primary-color); box-shadow: var(--shadow-medium); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.services-nav.prev { right: 0.5rem; }
.services-nav.next { left: 0.5rem; }
.services-nav:hover { transform: translateY(-50%) scale(1.05); }
.services-nav i { font-size: 1rem; }

@media (max-width: 992px) {
  .service-slide { flex: 0 0 50%; }
}
@media (max-width: 576px) {
  .services-track { gap: 0.75rem; }
  .service-slide { flex: 0 0 100%; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Services: 5-in-row compact grid overrides */
.services-section .cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.services-section .cards-grid .card-col { display: flex; }
.services-section .cards-grid .card-col .service-card { width: 100%; }
.services-section .service-actions { display: none; }

/* Compact sizing for service cards */
.services-section .service-card { padding: 1rem; border-radius: 14px; }
.services-section .service-icon { margin-bottom: 0.75rem; }
.services-section .service-icon i { font-size: 1.6rem; }
.services-section .service-logo .logo-small { width: 28px; height: 28px; }
.services-section .service-content h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.services-section .service-content p { font-size: 0.85rem; margin-bottom: 0.75rem; }
.services-section .service-features li { font-size: 0.85rem; margin-bottom: 0.35rem; }

/* Responsive columns */
@media (max-width: 1400px) {
  .services-section .cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .services-section .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .services-section .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .services-section .cards-grid { grid-template-columns: 1fr; }
}

/* Gallery Section */
/* Ensure local video fits lightbox */
.lightbox-body #lightboxVideoFile { width: 100%; height: auto; max-height: 70vh; background: #000; display: none; }
.gallery-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
}

.filter-bar {
    margin-bottom: 2rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    border: none;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-light); }
.filter-btn.active { background: var(--gradient-primary); color: var(--white-color); }

/* Masonry Layout using CSS columns */
.gallery-grid {
    column-count: 3;
    column-gap: 1rem;
}

@media (max-width: 992px) {
  .gallery-grid { column-count: 2; }
}

@media (max-width: 576px) {
  .gallery-grid { column-count: 1; }
}

.gallery-item { 
  position: relative; 
  display: inline-block; 
  width: 100%; 
  margin: 0 0 1rem; 
  break-inside: avoid; 
  overflow: hidden; 
  border-radius: 12px; 
  box-shadow: none; 
  background: transparent; 
}

.media-wrapper { position: relative; cursor: zoom-in; display: block; background: #000; }
.media-wrapper img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform 0.4s ease; }
.media-wrapper video { width: 100%; height: auto; display: block; object-fit: cover; max-height: 260px; }
.media-wrapper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%); opacity: 0; transition: opacity 0.3s ease; }
.media-wrapper:hover img { transform: scale(1.05); }
.media-wrapper:hover::after { opacity: 1; }

.media-badge { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: #fff; padding: 6px 10px; border-radius: 20px; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }
.media-badge i { font-size: 0.9rem; }

/* FAQ Section */
.faq-section { padding: 80px 0; background: var(--section-bg, #f9fafc); }
.faq-accordion { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 14px; box-shadow: var(--shadow-light); overflow: hidden; }
.faq-question { width: 100%; text-align: inherit; background: transparent; border: 0; padding: 18px 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.faq-question[aria-expanded="true"] { color: var(--primary-color); }
.faq-question i { transition: transform 0.25s ease; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; border-top: 1px solid #f0f2f5; background: #fff; }
.faq-answer p { margin: 0; padding: 14px 20px 18px; color: var(--text-muted, #555); line-height: 1.8; }

@media (max-width: 768px) {
  .faq-section { padding: 60px 0; }
  .faq-question { padding: 16px; font-size: 0.98rem; }
  .faq-answer p { padding: 12px 16px 16px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.75); display: none; align-items: center; justify-content: center; z-index: 1050; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 85vh; width: 100%; }
.lightbox-body { background: #000; border-radius: 12px; overflow: hidden; }
.lightbox-body img, .lightbox-body .lightbox-video-wrapper { width: 100%; height: 70vh; object-fit: contain; display: none; }
.lightbox-body img { display: block; background: #000; }
.lightbox-video-wrapper { position: relative; padding: 0; }
/* Lightbox advanced controls */
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); backdrop-filter: blur(4px); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; z-index: 2; }
.lightbox-nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.05); }
.lightbox-prev { right: 12px; }
.lightbox-next { left: 12px; }
.lightbox-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; padding: 10px 14px; margin-top: 8px; background: rgba(0,0,0,0.4); border-radius: 10px; }
.lightbox-title { font-weight: 700; }
.lightbox-counter { opacity: 0.9; font-size: 0.95rem; }
.lightbox-video-wrapper iframe { width: 100%; height: 100%; display: block; }
.lightbox-close { position: absolute; top: -44px; left: 0; background: #fff; color: #333; border: none; border-radius: 22px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-medium); cursor: pointer; }
.lightbox-close:hover { transform: scale(1.05); }

/* Contact Section */
.contact-section { padding: 90px 0; background: linear-gradient(180deg, #fff 0%, #fafbff 100%); position: relative; overflow: hidden; }
.contact-section::before, .contact-section::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.25; pointer-events: none; }
.contact-section::before { width: 280px; height: 280px; background: var(--gradient-primary); top: -60px; inset-inline-start: -60px; }
.contact-section::after { width: 220px; height: 220px; background: var(--gradient-secondary); bottom: -40px; inset-inline-end: -40px; }
.contact-form .form-control { border-radius: 12px; padding: 0.75rem 0.9rem; }
.contact-form .btn { border-radius: 14px; padding: 0.8rem 1.1rem; font-weight: 700; }
.contact-card { border-radius: 18px; border: 1px solid #eef1f6; box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.contact-card .card-body { padding: 28px; }
.contact-side { background: #fff; color: var(--dark-color); box-shadow: var(--shadow-light); border: 1px solid #f0f2f5; border-radius: 16px; }
.contact-side a { color: var(--primary-color); }
.contact-side .btn { color: var(--primary-color); border-color: var(--primary-color); }
.contact-side .btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Input groups with icons */
.contact-form .input-group-text { background: #fff; border-color: #e9edf3; color: var(--primary-color); border-radius: 12px; }
.contact-form .input-group.input-group-lg .form-control { padding-block: 0.9rem; }
.contact-form .form-control, .contact-form .input-group-text { border-width: 1px; }
.contact-form .form-control:focus { box-shadow: 0 0 0 0.2rem rgba(255,107,53,0.12); border-color: rgba(255,107,53,0.5); }

/* Contact info tiles */
.contact-info-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #eef1f6; border-radius: 14px; background: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; position: relative; }
.contact-info-item + .contact-info-item { margin-top: 12px; }
.contact-info-item .icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-secondary); color: #fff; box-shadow: var(--shadow-light); }
.contact-info-item .content .label { font-weight: 800; font-size: 0.92rem; color: var(--dark-color); margin-bottom: 2px; }
.contact-info-item .content .link { text-decoration: none; color: var(--primary-color); font-weight: 700; }
.contact-info-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); border-color: rgba(255,107,53,0.35); }

/* Success alert styling */
#contactAlert { border-radius: 12px; border: 1px solid #e7f6ed; background: #f3fbf6; color: #146c43; }

/* Contact Map */
.contact-map iframe { width: 100%; height: 380px; border: 0; border-radius: 12px; display: block; }

/* Button spinner state */
button.btn .spinner-border { margin-right: 6px; }
button.btn.loading .btn-text { opacity: 0.7; }

@media (max-width: 768px) {
  .contact-card .card-body { padding: 20px; }
  .contact-section { padding: 70px 0; }
}

/* Footer */
.site-footer { background: #0f172a; color: #e2e8f0; padding: 56px 0 24px; margin-top: 40px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 280px at 80% -120px, rgba(255,107,53,0.15), transparent); pointer-events: none; }
.site-footer a { color: #cbd5e1; opacity: 0.95; text-decoration: none; }
.site-footer a:hover { color: #fff; opacity: 1; }
.site-footer .footer-title { font-weight: 800; color: #fff; margin-bottom: 10px; }
.site-footer .footer-links li { margin: 6px 0; }
.site-footer .footer-links a { position: relative; padding-inline-start: 8px; }
.site-footer .footer-links a::before { content: "›"; position: absolute; inset-inline-start: 0; color: var(--primary-color); opacity: 0.8; }
.site-footer .footer-contact li { margin: 8px 0; display: flex; align-items: center; gap: 8px; }
.site-footer .footer-contact i { color: var(--primary-color); }
.site-footer .footer-desc { color: #cbd5e1; opacity: 0.9; }
.site-footer .footer-social .btn { border-color: rgba(255,255,255,0.2); color: #fff; backdrop-filter: blur(2px); }
.site-footer .footer-social .btn:hover { background: var(--primary-color); border-color: var(--primary-color); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); color: #94a3b8; }
.site-footer .list-inline-item a { color: #94a3b8; }
.site-footer .list-inline-item a:hover { color: #fff; }

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(6, 1fr); }
    .gallery-item { grid-column: span 6 !important; }
    .lightbox-body img, .lightbox-body .lightbox-video-wrapper { height: 60vh; }
}
@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-item { grid-column: span 4 !important; }
    .lightbox-body img, .lightbox-body .lightbox-video-wrapper { height: 55vh; }
}

/* Products Section */
.products-section { padding: 90px 0; position: relative; }
.products-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.product-card { grid-column: span 3; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-light); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); border-color: rgba(255,107,53,.35); }
.product-media { position: relative; background: #fafbfc; aspect-ratio: 16/10; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--gradient-primary); color: #fff; padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; box-shadow: var(--shadow-light); }
.product-badge.alt { background: var(--gradient-secondary); }
.product-body { padding: 16px; }
.product-title { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; color: var(--dark-color); }
.product-desc { color: #64748b; font-weight: 600; font-size: .95rem; margin-bottom: 12px; min-height: 48px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.price { font-weight: 900; color: var(--primary-color); font-size: 1.05rem; letter-spacing: .3px; }
.price .currency { opacity: .8; margin-inline-end: 2px; }
.product-actions { display: flex; gap: 10px; }
.btn-soft { background: #fff; border: 1px solid #eef1f6; color: var(--primary-color); font-weight: 700; border-radius: 10px; padding: .6rem 1rem; }
.btn-soft:hover { background: rgba(255,107,53,.08); border-color: rgba(255,107,53,.35); color: var(--primary-color); }
.view-all-products { white-space: nowrap; }

@media (max-width: 1200px) {
  .product-card { grid-column: span 4; }
}
@media (max-width: 992px) {
  .product-card { grid-column: span 6; }
}
@media (max-width: 576px) {
  .products-grid { gap: 16px; }
  .product-card { grid-column: span 12; }
}

/* Text link with arrow (RTL) */
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-color); font-weight: 800; text-decoration: none; padding: 8px 10px; border-radius: 10px; transition: color .2s ease, background-color .2s ease, gap .2s ease; }
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover { background: rgba(255,107,53,0.08); }
/* In RTL, move the left arrow slightly further left on hover */
.text-link:hover .arrow { transform: translateX(-4px); }

/* Products Page: Sidebar */
.products-layout { align-items: flex-start; }
.products-sidebar .sidebar-title { font-weight: 900; color: var(--dark-color); }
.products-sidebar .category-list { display: grid; gap: 8px; }
.category-btn { width: 100%; text-align: right; background: #fff; border: 1px solid #eef1f6; color: #334155; font-weight: 800; padding: .6rem .9rem; border-radius: 10px; display: flex; align-items: center; gap: 10px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.category-btn i { color: var(--primary-color); opacity: .9; }
.category-btn:hover { background: rgba(255,107,53,.06); border-color: rgba(255,107,53,.35); transform: translateY(-1px); }
.category-btn.active { background: var(--gradient-primary); border-color: transparent; color: #fff; }
.category-btn.active i { color: #fff; }

/* Products Page: Pagination */
.products-pagination .page-item .page-link { color: #334155; border: 1px solid #eef1f6; font-weight: 800; }
.products-pagination .page-item.active .page-link { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.products-pagination .page-item.disabled .page-link { color: #94a3b8; opacity: .7; }
.products-pagination .page-link { border-radius: 10px; margin: 0 3px; }

/* Forms: RTL-friendly input groups with icons on the right */
.input-group.flex-row-reverse {
  direction: rtl; /* keep caret/txt RTL while reversing visual order */
}
.input-group.flex-row-reverse .input-group-text {
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0; /* merge border with input */
}
.input-group.flex-row-reverse .form-control,
.input-group.flex-row-reverse textarea.form-control {
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Larger height alignment for LG groups */
.input-group.input-group-lg .input-group-text {
  padding-top: .6rem;
  padding-bottom: .6rem;
}
