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

:root {
    --primary-color: #1a5f7a;
    --secondary-color: #159895;
    --accent-color: #57c5b6;
    --gold-color: #d4af37;
    --dark-blue: #0d3b4d;
    --light-bg: #f8fffe;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #1a5f7a 0%, #159895 100%);
    --gradient-secondary: linear-gradient(135deg, #159895 0%, #57c5b6 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(87, 197, 182, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.logo-section {
    margin-bottom: 30px;
}

.logo-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

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

.logo-icon i {
    font-size: 60px;
    color: var(--white);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.6))
            drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.logo-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 40px rgba(212, 175, 55, 0.8))
            drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--gold-color);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-headline {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    background: #20ba5a;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 10px 40px rgba(255, 255, 255, 0.4); }
}

.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.badge i {
    font-size: 1.5rem;
    color: var(--gold-color);
}

.badge span {
    font-size: 1.1rem;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 15px); }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

.delay-1 {
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.section-tag {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(21, 152, 149, 0.3);
    transition: all 0.4s ease;
}

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

.service-icon i {
    font-size: 35px;
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.service-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-box:hover::after {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-box:hover .feature-icon {
    transform: rotateY(180deg);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 40px;
    color: var(--white);
}

.feature-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.4rem;
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 50px;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-card .contact-icon {
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
}

.contact-icon i {
    font-size: 40px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 25px;
}

.contact-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin: 15px 0;
    transition: all 0.3s ease;
    direction: ltr;
}

.contact-number:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.btn-whatsapp-large {
    display: block;
    padding: 18px 30px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 15px 0;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background: #20ba5a;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large i {
    margin-left: 10px;
    font-size: 1.3rem;
}

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

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

.footer-logo {
    text-align: center;
}

.footer-logo i {
    font-size: 50px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.footer-logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-logo-container:hover {
    transform: scale(1.1);
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.5))
            drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.footer-logo-image:hover {
    filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.7))
            drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold-color);
}

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

.footer-links li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    direction: ltr;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Floating Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp i {
    font-size: 35px;
    color: var(--white);
}

.floating-phone {
    position: fixed;
    bottom: 120px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a5f7a 0%, #159895 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(26, 95, 122, 0.4);
    z-index: 1000;
    transition: all 0.4s ease;
    animation: pulse-phone 2s infinite;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(26, 95, 122, 0.6);
}

.floating-phone i {
    font-size: 32px;
    color: var(--white);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6), 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(26, 95, 122, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(26, 95, 122, 0.6), 0 0 0 20px rgba(26, 95, 122, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .main-headline {
        font-size: 1.7rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .floating-whatsapp {
        width: 60px;
        height: 60px;
        bottom: 20px;
        left: 20px;
    }

    .floating-whatsapp i {
        font-size: 30px;
    }
    
    .floating-phone {
        width: 60px;
        height: 60px;
        bottom: 95px;
        left: 20px;
    }

    .floating-phone i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .logo-icon {
        width: 120px;
        height: 120px;
    }

    .logo-icon i {
        font-size: 50px;
    }
    
    .footer-logo-container {
        width: 80px;
        height: 80px;
    }

    .btn {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .feature-box {
        padding: 30px 20px;
    }

    .contact-card {
        padding: 40px 25px;
    }

    .contact-number {
        font-size: 1.5rem;
    }
}