/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* Ensure no gaps between header and sections */
section {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo, .main-logo {
    width: 120px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px rgba(255, 102, 0, 0.2));
}

.logo:hover, .main-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(255, 102, 0, 0.4)) brightness(1.2);
}

/* Fallback text for old system */
.logo::before {
    content: "الشعاع";
    font-weight: bold;
    font-size: 16px;
    color: #ff6600;
}

.company-name {
    color: #ff6600;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Company name reveal + flame cut effect */
.company-name-animated {
    position: relative;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    overflow: hidden;
}

.company-name-animated.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Main flame slash */
.company-name-animated::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 10%, 
        rgba(255, 255, 255, 0.8) 30%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(255, 255, 255, 0.8) 70%, 
        rgba(255, 255, 255, 0.3) 90%, 
        transparent 100%
    );
    transform: translateY(-50%) rotate(-8deg);
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9), 
        0 0 16px rgba(255, 255, 255, 0.6),
        0 0 24px rgba(255, 255, 255, 0.3);
}

/* Flame tail effect */
.company-name-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -25%;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, 
        rgba(255, 90, 19, 0.8) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%
    );
    transform: translateY(-50%) rotate(-8deg);
    border-radius: 1px;
    opacity: 0;
    pointer-events: none;
    z-index: 9;
    filter: blur(1px);
}

@keyframes flameSlash {
    0% { 
        left: -25%; 
        width: 10%; 
        opacity: 0;
    }
    
    10% { 
        left: -10%; 
        width: 25%; 
        opacity: 1;
    }
    
    90% { 
        left: 90%; 
        width: 25%; 
        opacity: 1;
    }
    
    100% { 
        left: 105%; 
        width: 20%; 
        opacity: 0;
    }
}

@keyframes flameTail {
    0% { 
        left: -30%; 
        width: 25%; 
        opacity: 0;
    }
    
    15% { 
        left: -15%; 
        width: 30%; 
        opacity: 0.8;
    }
    
    85% { 
        left: 85%; 
        width: 30%; 
        opacity: 0.8;
    }
    
    100% { 
        left: 100%; 
        width: 25%; 
        opacity: 0;
    }
}

@keyframes textSlice {
    0%, 100% { 
        filter: brightness(1) contrast(1);
        text-shadow: none;
    }
    
    20% { 
        filter: brightness(1.1) contrast(1.05);
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    }
    
    50% { 
        filter: brightness(1.2) contrast(1.1);
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    }
    
    80% { 
        filter: brightness(1.1) contrast(1.05);
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    }
}

.company-name-animated.slash::after {
    animation: flameSlash 2s ease-out forwards;
}

.company-name-animated.slash::before {
    animation: flameTail 2s ease-out forwards;
}

.company-name-animated.slash {
    animation: textSlice 2s ease-out forwards;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: nowrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    white-space: nowrap;
    word-break: keep-all;
    text-wrap: nowrap;
}

.nav-link:hover {
    color: #ff6600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero,
#home {
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
    padding: 0;
}

/* Video styling for hero section */
#home video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.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, transform 1s ease-in-out;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6600, #ff8533);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.hero-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
}

.prev-btn, .next-btn {
    background: rgba(255, 102, 0, 0.8);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: #ff6600;
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ff6600;
    transform: scale(1.2);
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6600, #ff8533);
    border-radius: 2px;
}

.clients-slider {
    overflow: hidden;
    width: 100%;
}

.clients-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 50px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    height: 100px;
    width: 100px;
    filter: none;
    transition: all 0.3s ease;
    opacity: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.client-logo:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #fff;
    position: relative;
    z-index: 10;
}

.services .container {
    max-width: 1400px; /* Increased from 1200px for more width */
    margin: 0 auto;
    padding: 0 40px; /* Increased padding for better spacing */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns */
    gap: 25px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6600, #ff8533);
    transition: left 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    color: #fff;
}

.service-card:hover {
    text-decoration: none;
    color: #fff;
}

.service-card:visited {
    color: inherit;
}

.service-card:focus {
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}

.service-icon {
    font-size: 3rem;
    color: #ff6600;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: #fff;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: 1rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 10;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text .section-title {
    text-align: right;
    margin-bottom: 30px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.feature i {
    color: #ff6600;
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    font-weight: bold;
    height: 400px;
}

.about-image img::before {
    content: "صورة الشركة";
}

/* About SVG Styles */
.about-svg-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    animation: floatSVG 3s ease-in-out infinite;
}

@keyframes floatSVG {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.about-svg-text h3 {
    color: #ff6600;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-svg-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
    color: #fff;
    text-align: center;
    overflow: hidden;
    z-index: 10;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(255, 102, 0, 0.8)),
                linear-gradient(45deg, #333, #555);
    z-index: -1;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact .section-title {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-btn {
    background: linear-gradient(45deg, #ff6600, #ff8533);
    color: #fff;
    border: none;
    padding: 20px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
}

.contact-btn i {
    margin-left: 10px;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: #ff6600;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-logo {
    width: 80px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px rgba(255, 102, 0, 0.15));
}

.footer-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(255, 102, 0, 0.3)) brightness(1.2);
}

/* Fallback text for old system */
.footer-logo::before {
    content: "الشعاع";
    font-weight: bold;
    font-size: 12px;
    color: #ff6600;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: #ff6600;
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff6600;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #ccc;
}

/* News Section */
.news {
    padding: 100px 0;
    background: #fff;
    position: relative;
    z-index: 10;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #ff6600;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.news-header i {
    color: #000;
    font-size: 1.5rem;
}

.news-info h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.news-info span {
    color: #666;
    font-size: 0.9rem;
}

.news-content {
    margin-bottom: 15px;
}

.news-content p {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.85rem;
}

.news-time {
    color: #999;
}

.view-more {
    text-align: center;
    margin-top: 50px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #000, #333);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.placeholder {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Loading states for X posts */
.loading-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.x-embed-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.x-embed-wrapper .twitter-tweet {
    margin: 0 auto !important;
    max-width: 100% !important;
}

/* Override X widget styles to match our design */
.twitter-timeline {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Custom styling for embedded tweets */
.news .twitter-tweet {
    border-left: 4px solid #ff6600 !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.news .twitter-tweet:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Iframe Container Styling for ipx.codes embed */
.iframe-container {
    margin-top: 50px;
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6600;
    transition: all 0.3s ease;
}

.iframe-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.iframe-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for large tablets */
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        animation: slideInFromLeft 0.4s ease-out;
    }
    
    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    .nav-menu li {
        margin: 5px 0;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .nav-menu.active li {
        animation-delay: calc(0.1s * var(--i, 0));
    }
    
    .nav-menu li:nth-child(1) { --i: 1; }
    .nav-menu li:nth-child(2) { --i: 2; }
    .nav-menu li:nth-child(3) { --i: 3; }
    .nav-menu li:nth-child(4) { --i: 4; }
    .nav-menu li:nth-child(5) { --i: 5; }
    .nav-menu li:nth-child(6) { --i: 6; }
    .nav-menu li:nth-child(7) { --i: 7; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu .nav-link {
        white-space: nowrap;
        padding: 8px 15px;
        border-radius: 8px;
        margin: 0 15px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        display: block;
        position: relative;
        overflow: hidden;
        font-size: 0.9rem;
    }
    
    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(255, 102, 0, 0.2);
        border-color: rgba(255, 102, 0, 0.4);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    }
    
    /* Special styling for language toggle in mobile menu */
    .nav-menu .language-switcher .language-toggle {
        display: block;
        padding: 8px 15px;
        border-radius: 8px;
        margin: 0 15px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        width: auto;
        text-align: center;
        color: #fff;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .nav-menu .language-switcher .language-toggle:hover {
        background: rgba(255, 102, 0, 0.2);
        border-color: rgba(255, 102, 0, 0.4);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
        color: #fff;
    }
    
    .company-name {
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .hero-controls {
        padding: 0 15px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* Language Switcher - Single Toggle Button in Navigation */
.nav-item.language-switcher {
    display: flex;
    align-items: center;
}

.language-toggle {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 55px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: #ff6600;
}

.language-toggle:active {
    transform: translateY(0);
}

/* Animation for language switching */
.language-toggle.switching {
    animation: languageSwitch 0.4s ease;
}

@keyframes languageSwitch {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); background: rgba(255, 102, 0, 0.3); }
    100% { transform: scale(1); }
}

/* Responsive adjustments for language switcher */
@media (max-width: 768px) {
    .language-toggle {
        font-size: 13px;
        padding: 10px 14px;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .language-toggle {
        font-size: 12px;
        padding: 8px 12px;
        min-width: 45px;
    }
}
