/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #228B22;
    --primary-red: #DC143C;
    --primary-yellow: #FFD700;
    --gold: #D4A017;
    --dark: #2C2C2C;
    --light: #F5F5F5;
    --white: #FFFFFF;
    --gray: #666666;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

body.rtl {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Stylized */
.header {
    background: linear-gradient(135deg, var(--white) 0%, #F8F8F8 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, var(--primary-green), var(--primary-red), var(--primary-yellow)) 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 30px;
}

.logo img {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Language Switcher with Flags */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-flag {
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-flag:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-color: var(--primary-green);
}

.lang-flag.active {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.4);
    transform: scale(1.1);
}

/* Navigation - Stylized */
.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-red));
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: rgba(34, 139, 34, 0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.5);
}

.slide-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease;
}

body.rtl .slide-title {
    animation: slideInRight 0.8s ease;
}

.slide-text {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 30px;
    animation: slideInLeft 1s ease;
}

body.rtl .slide-text {
    animation: slideInRight 1s ease;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    animation: slideInLeft 1.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

body.rtl .btn {
    animation: slideInRight 1.2s ease;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: var(--white);
    border: none;
    font-size: 3rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

body.rtl .slider-btn.prev {
    left: auto;
    right: 20px;
}

body.rtl .slider-btn.next {
    right: auto;
    left: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Stats Counter Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a6b1a 100%);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-red), var(--primary-yellow));
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
    color: var(--gray);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Creation Section */
.creation-content {
    max-width: 900px;
    margin: 0 auto;
}

.creation-content p {
    text-align: justify;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 1.1rem;
}

.creation-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.creation-list li {
    padding: 15px 20px;
    background: var(--white);
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

body.rtl .creation-list li {
    border-left: none;
    border-right: 4px solid var(--primary-green);
}

.creation-list li:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-red);
}

body.rtl .creation-list li:hover {
    transform: translateX(-10px);
    border-right-color: var(--primary-red);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.product-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--gray);
}

/* Clients Section */
.clients-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 50px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.client-category {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.client-category:hover {
    transform: scale(1.05);
}

.client-category h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.client-category p {
    color: var(--gray);
}

/* Stations Section */
.stations-content {
    text-align: center;
}

.stations-content > p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stations-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.info-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-card p {
    color: var(--gray);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

body.rtl .contact-item {
    flex-direction: row-reverse;
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-red);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer-col p {
    color: #CCCCCC;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-yellow);
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.ski-logo {
    max-width: 150px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #CCCCCC;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lang-flag {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        transition: left 0.3s ease;
        padding: 30px;
    }
    
    body.rtl .nav {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }
    
    .nav.active {
        left: 0;
    }
    
    body.rtl .nav.active {
        left: auto;
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid,
    .clients-grid,
    .stations-info,
    .creation-list {
        grid-template-columns: 1fr;
    }
    
    .slider-btn {
        font-size: 2rem;
        padding: 5px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .lang-flag {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-text {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .stats-section {
        padding: 40px 0;
        margin-top: -30px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
}



.stat-card {
    text-align: center;
}

.stat-number {
    font-weight: bold;
    font-size: 32px;
    direction: ltr;
}


.stat-number {
    direction: ltr;
    unicode-bidi: embed;
}