/* Brand Colors - Based on Logo */
:root {
    --primary-color: #D93025;
    --primary-dark: #C1271F;
    --primary-light: #E84A40;
    --gradient-start: #D93025;
    --gradient-end: #C1271F;

    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: #4a5568;

    --bg-light: #f7fafc;
    --bg-white: #ffffff;

    --border-color: #e2e8f0;
    --border-hover: #D93025;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(217, 48, 37, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    direction: rtl;
}

/* Common Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

/* Buttons */
.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(217, 48, 37, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(217, 48, 37, 0.4);
    color: white;
}

.btn-secondary {
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(217, 48, 37, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 48, 37, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* Hero Section */
.hero,
.contact-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before,
.contact-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 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"></path></svg>') no-repeat bottom;
    opacity: 0.3;
}

.hero-content,
.contact-hero .container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1,
.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero p,
.contact-hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-icon,
.contact-hero .hero-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.about-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-image {
    text-align: center;
    font-size: 180px;
    animation: float 3s ease-in-out infinite;
}

/* Steps / How It Works */
.how-it-works {
    padding: 80px 20px;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Feature Grid and Cards */
.features {
    padding: 80px 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Contact Info Section (Global) */
.contact-info-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.3s ease;
}

.contact-card-icon.phone {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.contact-card-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-card-icon.email {
    background: linear-gradient(135deg, #D93025 0%, #C1271F 100%);
}

.contact-card-icon.website {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.contact-info-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.contact-link:hover {
    background: rgba(217, 48, 37, 0.1);
    transform: scale(1.05);
}

/* Working Hours Section */
.working-hours-section {
    padding: 60px 20px;
    background: white;
}

.working-hours-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(217, 48, 37, 0.05) 0%, rgba(193, 39, 31, 0.05) 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 2px solid rgba(217, 48, 37, 0.1);
}

.working-hours-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.working-hours-content h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item .day {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.hour-item .time {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Location Section */
.location-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.location-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-sm);
}

.location-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.location-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.location-content p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* CTA Section (Global) */
.cta-section,
.contact-cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    text-align: center;
    color: white;
}

.cta-section h2,
.contact-cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p,
.contact-cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-cta-section {
    background: white;
    color: var(--text-primary);
}

.contact-cta-section h2 {
    color: var(--text-primary);
}

.contact-cta-section p {
    color: var(--text-secondary);
}

/* Footer Section */
.footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .hero h1,
    .contact-hero h1 {
        font-size: 32px;
    }

    .hero p,
    .contact-hero p {
        font-size: 16px;
    }

    .about-card {
        padding: 40px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        font-size: 100px;
        margin-top: 20px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

    .working-hours-card,
    .location-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .hour-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .cta-section h2,
    .contact-cta-section h2 {
        font-size: 28px;
    }

    .cta-section p,
    .contact-cta-section p {
        font-size: 16px;
    }
}

/* Bootstrap-like Validation Styles */
.text-danger,
.field-validation-error,
.validation-summary-errors {
    color: red !important;
    font-weight: bold;
    /* Bootstrap Danger Color */
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.validation-summary-errors {
    border: 1px solid #dc3545;
    background-color: #f8d7da;
    color: #842029;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

.validation-summary-errors ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.input-validation-error {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url('data:image/svg+xml,%3csvg xmlns=' 'http://www.w3.org/2000/svg' ' viewBox=' '0 0 12 12' ' width=' '12' ' height=' '12' ' fill=' 'none' ' stroke=' '%23dc3545' '%3e%3ccircle cx=' '6' ' cy=' '6' ' r=' '4.5' '/%3e%3cpath stroke-linejoin=' 'round' ' d=' 'M5.8 3.6h.4L6 6.5z' '/%3e%3ccircle cx=' '6' ' cy=' '8.2' ' r=' '.6' ' fill=' '%23dc3545' ' stroke=' 'none' '/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.input-validation-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* Checkbox specific validation */
.checkbox-group.input-validation-error {
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 10px;
    /* Remove background image for container */
    background-image: none !important;
}