/* Root Variables */
:root {
    --primary-red: #ff5733;
    --primary-blue: #0066cc;
    --dark: #333333;
    --gray: #666666;
    --light-gray: #f8f9fa;
}
@font-face {
    font-family: 'Alexandria';
    src: url('../fonts/Alexandria-VariableFont_wght.ttf');
}

/* Global Styles */
body {
    font-family: 'Alexandria', sans-serif;
    text-align: right;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 87, 51, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%), url('../../storage/site/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 180px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-text {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.primary-btn {
    background: white;
    color: var(--primary-red);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
}

.outline-btn {
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.outline-btn:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    position: relative;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
}

.hero-image {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -10px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.experience-badge .text {
    color: var(--gray);
    font-size: 1rem;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    filter: drop-shadow(0 -2px 4px rgba(0,0,0,0.05));
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: white;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    right: -10px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 280px;
}

.floating-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.floating-card .card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.floating-card .card-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-text p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: white;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 500;
}

.blog-content {
    padding: 30px;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-link {
    color: var(--primary-red);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-blue);
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(-5px);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-red);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.sticky-top {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar-nav {
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--dark);
    font-weight: 600;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* WhatsApp Button */
.whatsapp-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-btn:hover + .whatsapp-tooltip {
    opacity: 1;
    right: 85px;
}

/* Floating Social Media */
.social-float {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-float a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-float a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.social-float a:hover::before {
    transform: translateX(0);
}

.social-float a:hover {
    transform: translateX(5px);
}

.social-facebook { background: #1877f2; }
.social-instagram { background: #e4405f; }
.social-tiktok { background: #000000; }

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../storage/site/pattern.png');
    opacity: 0.03;
}

footer img {
    height: 60px;
    margin-bottom: 20px;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: var(--primary-red);
}

.footer-links h5 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-links li i {
    color: var(--primary-red);
    margin-left: 10px;
    font-size: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-right: 10px;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

footer .text-center p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .floating-card {
        position: relative;
        right: 0;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }

    /* Navbar Mobile Styles */
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }

    .nav-item {
        margin: 10px 0;
    }

    /* Hide Social Float on Mobile */
    .social-float {
        display: none;
    }

    /* Footer Mobile Styles */
    .footer-links {
        margin-bottom: 30px;
    }

    footer img {
        height: 50px;
    }

    .footer-social {
        justify-content: center;
    }

    /* Hide WhatsApp Tooltip on Mobile */
    .whatsapp-tooltip {
        display: none;
    }
}

/* Additional Responsive Styles */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .experience-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -50px;
    }

    .floating-card {
        right: 50%;
        transform: translateX(50%);
    }
}
