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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #f1c40f;
    padding: 5px;
    background: white;
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.6);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f1c40f;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #f1c40f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 2rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="%23f1c40f" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    z-index: 2;
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(241, 196, 15, 0.5); }
    to { text-shadow: 0 0 20px rgba(241, 196, 15, 0.8); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f1c40f;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: slideInRight 1s ease-out;
}

.hero-img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(241, 196, 15, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #f1c40f;
}

.btn-secondary:hover {
    background: #f1c40f;
    color: #1a1a2e;
    transform: translateY(-3px);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #f1c40f, #f39c12);
}

/* Services Section */
.services {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(241, 196, 15, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(241, 196, 15, 0.2);
    border-color: #f1c40f;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.service-card h3 {
    color: #f1c40f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: white;
    margin-bottom: 1.5rem;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(241, 196, 15, 0.8), rgba(243, 156, 18, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.load-more {
    display: block;
    margin: 2rem auto 0;
}

/* Brands Section */
.brands {
    background: rgba(255, 255, 255, 0.05);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.brand-item {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: white;
    padding: 20px;
    transition: all 0.3s ease;
}

.brand-img:hover {
    transform: rotate(360deg);
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.3);
}

.brand-item h3 {
    color: white;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    color: white;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(241, 196, 15, 0.1);
}

.contact-item h3 {
    color: #f1c40f;
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f1c40f;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4,
.footer-contact h4 {
    color: #f1c40f;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f1c40f;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

@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);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(241, 196, 15, 0.3);
    border-radius: 50%;
    border-top-color: #f1c40f;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}



/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid #f1c40f;
    background: transparent;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(241, 196, 15, 0.2);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: #f1c40f;
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    font-family: 'Cairo', 'Arial', sans-serif;
}

html[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

html[dir="rtl"] .hero {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-buttons {
    justify-content: flex-end;
}

html[dir="rtl"] .services-grid {
    direction: rtl;
}

html[dir="rtl"] .service-card {
    text-align: right;
}

html[dir="rtl"] .gallery-grid {
    direction: rtl;
}

html[dir="rtl"] .brands-grid {
    direction: rtl;
}

html[dir="rtl"] .contact-content {
    direction: rtl;
}

html[dir="rtl"] .contact-info {
    text-align: right;
}

html[dir="rtl"] .contact-form {
    direction: rtl;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form select,
html[dir="rtl"] .contact-form textarea {
    text-align: right;
}

html[dir="rtl"] .footer-content {
    direction: rtl;
}

html[dir="rtl"] .footer-logo {
    text-align: right;
}

html[dir="rtl"] .footer-links {
    text-align: right;
}

html[dir="rtl"] .footer-contact {
    text-align: right;
}

html[dir="rtl"] .footer-bottom {
    text-align: center;
}

/* Arabic Typography */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
    font-family: 'Cairo', 'Arial', sans-serif;
    font-weight: 600;
}

html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] div {
    font-family: 'Cairo', 'Arial', sans-serif;
    line-height: 1.8;
}

html[dir="rtl"] .hero-title {
    font-size: 3rem;
    line-height: 1.2;
}

html[dir="rtl"] .section-title {
    font-size: 2.2rem;
}

/* RTL Navigation Adjustments */
html[dir="rtl"] .nav-menu a::after {
    right: 0;
    left: auto;
}

html[dir="rtl"] .hamburger {
    order: -1;
}

/* RTL Contact Item Adjustments */
html[dir="rtl"] .contact-item:hover {
    transform: translateX(-10px);
}

/* RTL Animation Adjustments */
html[dir="rtl"] .slide-in-left {
    transform: translateX(50px);
}

html[dir="rtl"] .slide-in-left.visible {
    transform: translateX(0);
}

html[dir="rtl"] .slide-in-right {
    transform: translateX(-50px);
}

html[dir="rtl"] .slide-in-right.visible {
    transform: translateX(0);
}

/* Language Transition Effects */
.lang-transition {
    transition: all 0.3s ease;
}

/* Mobile RTL Adjustments */
@media (max-width: 768px) {
    html[dir="rtl"] .nav-menu {
        text-align: right;
    }
    
    html[dir="rtl"] .hero {
        flex-direction: column;
        text-align: center;
    }
    
    html[dir="rtl"] .hero-content {
        text-align: center;
    }
    
    html[dir="rtl"] .hero-buttons {
        justify-content: center;
    }
    
    html[dir="rtl"] .language-switcher {
        margin-right: 0;
        margin-left: 1rem;
    }
}

/* Arabic Number Styling */
html[dir="rtl"] .arabic-numbers {
    font-family: 'Cairo', sans-serif;
    direction: ltr;
    unicode-bidi: embed;
}

/* Improved RTL Form Styling */
html[dir="rtl"] .contact-form input::placeholder,
html[dir="rtl"] .contact-form textarea::placeholder {
    text-align: right;
    direction: rtl;
}

/* RTL Logo Positioning */
html[dir="rtl"] .logo-container {
    order: 1;
}

html[dir="rtl"] .navbar {
    justify-content: space-between;
}

/* RTL Service Icons */
html[dir="rtl"] .service-icon {
    margin-bottom: 1rem;
    display: block;
}

/* RTL Gallery Overlay */
html[dir="rtl"] .gallery-overlay {
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

/* RTL Footer Links */
html[dir="rtl"] .footer-links ul {
    text-align: right;
}

html[dir="rtl"] .footer-links li {
    text-align: right;
}

/* Smooth Language Switching Animation */
.content-fade {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.content-fade.visible {
    opacity: 1;
}

/* Enhanced Language Button Styling */
.lang-btn {
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.lang-btn:hover::before {
    left: 100%;
}

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

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

html[dir="rtl"] .hero-content {
    animation: slideInRightRTL 1s ease-out;
}

html[dir="rtl"] .hero-image {
    animation: slideInLeftRTL 1s ease-out;
}


/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f1c40f" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(10px) translateY(10px); }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-align: justify;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

.about-points li {
    background: rgba(241, 196, 15, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(241, 196, 15, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-points li::before {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    background: #f1c40f;
    color: #1a1a2e;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.about-points li:hover {
    transform: translateY(-10px);
    background: rgba(241, 196, 15, 0.2);
    border-color: #f1c40f;
    box-shadow: 0 15px 30px rgba(241, 196, 15, 0.3);
}

.about-points li:hover::before {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Enhanced Service Cards */
.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(241, 196, 15, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #f1c40f;
    box-shadow: 0 20px 40px rgba(241, 196, 15, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-card h3 {
    color: #f1c40f;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: justify;
    font-size: 0.95rem;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: auto;
    transition: all 0.3s ease;
    border: 2px solid rgba(241, 196, 15, 0.3);
}

.service-img:hover {
    transform: scale(1.05);
    border-color: #f1c40f;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced Gallery */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(241, 196, 15, 0.2);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(241, 196, 15, 0.1), rgba(26, 26, 46, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #f1c40f;
    box-shadow: 0 15px 30px rgba(241, 196, 15, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Enhanced Brand Items */
.brand-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(241, 196, 15, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.1), transparent);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.brand-item:hover::before {
    width: 200px;
    height: 200px;
}

.brand-item:hover {
    transform: translateY(-10px);
    border-color: #f1c40f;
    box-shadow: 0 15px 30px rgba(241, 196, 15, 0.2);
}

.brand-img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0.7);
}

.brand-item:hover .brand-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.brand-item h3 {
    color: #f1c40f;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Enhanced Contact Section */
.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(241, 196, 15, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: #f1c40f;
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.2);
}

.contact-item h3 {
    color: #f1c40f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.contact-item p {
    color: #e0e0e0;
    margin: 0.5rem 0;
    position: relative;
    z-index: 2;
}

/* Enhanced Form Styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(241, 196, 15, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f1c40f;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form select option {
    background: #1a1a2e;
    color: white;
}

/* Enhanced Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(241, 196, 15, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #f1c40f;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .about-content p {
        text-align: left;
        font-size: 1rem;
    }
    
    .about-points {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .service-card p {
        text-align: left;
        font-size: 0.9rem;
    }
    
    .service-img {
        height: 150px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .brand-img {
        width: 100px;
        height: 60px;
    }
    
    .contact-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation Delays */
.about-points li:nth-child(1) { transition-delay: 0.1s; }
.about-points li:nth-child(2) { transition-delay: 0.2s; }
.about-points li:nth-child(3) { transition-delay: 0.3s; }
.about-points li:nth-child(4) { transition-delay: 0.4s; }

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.brand-item:nth-child(1) { transition-delay: 0.1s; }
.brand-item:nth-child(2) { transition-delay: 0.2s; }
.brand-item:nth-child(3) { transition-delay: 0.3s; }

/* Enhanced Logo Styling */
.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #f1c40f;
    background: white;
    padding: 5px;
    transition: all 0.3s ease;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
    }
    50% { 
        transform: translateY(-10px) rotate(5deg);
        box-shadow: 0 15px 25px rgba(241, 196, 15, 0.5);
    }
}

.logo:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(241, 196, 15, 0.6);
    border-width: 4px;
}

/* Footer Logo */
.footer-logo .logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

/* Enhanced Typography */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f1c40f, transparent);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #f1c40f;
    border-radius: 2px;
}

/* Improved Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu.active {
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(241, 196, 15, 0.3);
    }
    
    .nav-menu.active a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(241, 196, 15, 0.2);
    }
    
    .nav-menu.active a:hover {
        background: rgba(241, 196, 15, 0.1);
        transform: translateX(10px);
    }
}

