/* Global Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d3436;
    --accent-color: #0984e3;
    --light-color: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-color);
    color: var(--primary-color);
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

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

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.9), rgba(9, 132, 227, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 30px;
    margin-top: 2rem;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3);
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: var(--light-color);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(9, 132, 227, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(9, 132, 227, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(9, 132, 227, 0.05) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 0 2px rgba(9, 132, 227, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02) rotateX(5deg);
    box-shadow: 
        0 20px 30px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(9, 132, 227, 0.2);
    border-color: rgba(9, 132, 227, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    position: relative;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e272e 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(9, 132, 227, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: var(--light-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    color: var(--light-color);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 600;
}

.social-button.whatsapp {
    background-color: #25D366;
}

.social-button.facebook {
    background-color: #1877F2;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.social-button i {
    font-size: 1.8rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }

    .logo img {
        height: 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--primary-color);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

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

    .social-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }

    .social-button i {
        font-size: 1.5rem;
    }
}

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

.service-card,
.about-content,
.contact-form {
    animation: fadeIn 1s ease-out;
}
.contact-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.social-button.whatsapp {
    background-color: #25D366;
}

.social-button.facebook {
    background-color: #1877F2;
}

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-button i {
    font-size: 1.5rem;
}