/* ===================================
   Common Styles for All Pages
   =================================== */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        /* font-family: 'Tajawal', 'Cairo', 'Segoe UI', sans-serif; */
        background: #fafafa;
        padding: 0;
        margin: 0;
        min-height: 100vh;
    }

.wrapper {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===================================
   Page Header (Hero Section)
   =================================== */

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px 10px;
    background: linear-gradient(135deg, #CD9D83 0%, #d4a896 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 30px rgba(205, 157, 131, 0.25);
    position: relative;
    overflow: hidden;
}

.page-header::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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,117.3C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.page-header h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ===================================
   White Cards
   =================================== */

.white-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.white-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(205, 157, 131, 0.15);
}

.white-card h2 {
    font-size: 2rem;
    color: #CD9D83;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.white-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: #CD9D83;
    border-radius: 2px;
}

/* ===================================
   Section Titles
   =================================== */

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 50px;
    font-weight: 800;
}

/* ===================================
   Alerts
   =================================== */

.alert {
    border-radius: 12px;
    border: none;
    padding: 18px 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert i {
    margin-left: 8px;
}

/* ===================================
   Form Elements
   =================================== */

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #CD9D83;
    box-shadow: 0 0 0 4px rgba(205, 157, 131, 0.1);
    background: #fff;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback,
.text-danger.small {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 6px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 6px;
}



/* ===================================
   Info Cards
   =================================== */

.info-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: #CD9D83;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(205, 157, 131, 0.15);
}

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

.info-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: #CD9D83;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    background: #b88970;
}

.info-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.info-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}

.info-content a {
    color: #CD9D83;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #b88970;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .wrapper {
        padding: 20px 15px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }

    .white-card {
        padding: 30px 25px;
    }

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

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }

    .white-card {
        padding: 25px 20px;
    }

    .form-control {
        padding: 12px 16px;
    }

    .btn-primary {
        padding: 13px 30px;
        font-size: 1rem;
    }
}
/* ===================================
   Contact Page Specific Styles
   =================================== */

.contact-page {
    background: #fafafa;
    padding: 0;
    min-height: 100vh;
}



/* ===================================
   Form & Map Layout
   =================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(205, 157, 131, 0.15);
}

.form-card h2 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.submit-btn {
    background: #CD9D83;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(205, 157, 131, 0.3);
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 157, 131, 0.4);
    background: #b88970;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Map Card */
.map-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 600px;
    border: 1px solid #f0f0f0;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   Contact Info Grid
   =================================== */

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-card {
        min-height: 400px;
    }

    .form-card {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper-main {
        padding: 40px 15px;
    }

    .form-card {
        padding: 25px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

    /* ===================================
   FAQ Page Specific Styles
   =================================== */

.faq-wrapper {
    padding: 20px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================
   FAQ Items
   =================================== */

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(205, 157, 131, 0.12);
    border-color: rgba(205, 157, 131, 0.2);
    transform: translateY(-1px);
}

.faq-item.active {
    border-color: rgba(205, 157, 131, 0.3);
    box-shadow: 0 4px 20px rgba(205, 157, 131, 0.15);
}

/* ===================================
   Question
   =================================== */

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: #fafafa;
}

.question-text {
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.faq-item.active .question-text {
    color: #CD9D83;
}

/* Toggle Icon */
.toggle-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #CD9D83;
    background: #f8f8f8;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
    background: #CD9D83;
    color: white;
}

/* ===================================
   Answer
   =================================== */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.answer-content {
    padding: 0 30px 30px 30px;
    color: #555;
    line-height: 2;
    font-size: 15.5px;
}

.answer-content > p {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-right: 4px solid #CD9D83;
    margin: 0;
    color: #666;
}

/* ===================================
   Highlight Box
   =================================== */

.highlight-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-right: 4px solid #CD9D83;
    margin-bottom: 15px;
}

.highlight-text {
    color: #CD9D83;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 15px;
}

.description-text {
    color: #666;
    line-height: 2;
    font-size: 15px;
}

/* ===================================
   Empty State
   =================================== */

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

.py-5 {
    padding: 3rem 0;
}

.text-muted {
    color: #6c757d;
}

.fa-4x {
    font-size: 4rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .faq-question {
        padding: 20px 20px;
    }

    .question-text {
        font-size: 15px;
    }

    .answer-content {
        padding: 0 20px 20px 20px;
    }

    .answer-content > p,
    .highlight-box {
        padding: 20px;
    }
}



/* ===================================
   About Page Specific Styles
   =================================== */

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

/* ===================================
   Story Section
   =================================== */

.story-section p {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    text-align: justify;
}

/* ===================================
   Vision & Mission Grid
   =================================== */

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.vm-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(205, 157, 131, 0.15);
}

.vm-card h3 {
    font-size: 1.6rem;
    color: #CD9D83;
    margin-bottom: 20px;
    font-weight: 700;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #666;
}

/* ===================================
   Values Section
   =================================== */

.values-section {
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(205, 157, 131, 0.15);
    border-color: rgba(205, 157, 131, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #CD9D83 0%, #d4a896 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s;
}

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

.value-card h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ===================================
   Stats Section
   =================================== */

.stats-section {
    background: linear-gradient(135deg, #CD9D83 0%, #d4a896 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(205, 157, 131, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ===================================
   Why Us Section
   =================================== */

.why-us-section h2 {
    font-size: 2rem;
    color: #CD9D83;
    margin-bottom: 35px;
    font-weight: 800;
    text-align: center;
}

.why-us-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-us-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    color: #555;
    padding: 15px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s;
}

.why-us-list li:hover {
    background: #f0f0f0;
    transform: translateX(-5px);
}

.why-us-list li::before {
    content: '✓';
    color: #CD9D83;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 992px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .why-us-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 40px 15px;
    }

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

    .stat-number {
        font-size: 2.2rem;
    }
}

    /* Terms Page Specific Styles */
    .terms-section {
        background: white;
        border-radius: 16px;
        padding: 40px;
        margin-bottom: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }

    .terms-section:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(205, 157, 131, 0.12);
        border-color: rgba(205, 157, 131, 0.2);
    }

    .section-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 2px solid #f0f0f0;
    }

    .section-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #CD9D83 0%, #d4a896 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        flex-shrink: 0;
    }

    .section-title {
        font-size: 1.6rem;
        color: #333;
        font-weight: 700;
        margin: 0;
    }

    .section-content {
        font-size: 1.05rem;
        line-height: 2;
        color: #555;
        text-align: justify;
    }

    .section-points {
        list-style: none;
        padding: 0;
        margin-top: 20px;
    }

    .section-points li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
        padding: 12px;
        background: #fafafa;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .section-points li:hover {
        background: #f0f0f0;
        transform: translateX(-5px);
    }

    .section-points li::before {
        content: '•';
        color: #CD9D83;
        font-weight: 700;
        font-size: 1.5rem;
        flex-shrink: 0;
        line-height: 1.5;
    }

    .intro-text {
        font-size: 1.1rem;
        line-height: 2;
        color: #555;
        text-align: justify;
        background: white;
        border-radius: 16px;
        padding: 35px;
        margin-bottom: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
        border: 1px solid #f0f0f0;
    }

    .last-updated {
        text-align: center;
        color: #6c757d;
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 12px 25px;
        background: #f8f9fa;
        border-radius: 10px;
        display: inline-block;
    }

    @media (max-width: 768px) {
        .terms-section {
            padding: 25px;
        }

        .section-header {
            flex-direction: column;
            text-align: center;
        }

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

        .intro-text {
            padding: 25px;
        }
    }



.about-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f4f0 0%, #fef8f3 50%, #f5ebe3 100%);
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 155, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 155, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #d4af9b, #c9a088);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e8d5c4, #d4af9b);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5ebe3, #e8d5c4);
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

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

.hero-label {
    background: white;
    color: #d4af9b;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 155, 0.15);
    transition: all 0.3s ease;
}

.hero-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 155, 0.25);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c1810;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b5a4d;
    line-height: 1.8;
    max-width: 600px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 200px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #d4af9b, #c9a088);
    border-radius: 50%;
    display: inline-block;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af9b, transparent);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .circle-1 {
        width: 100px;
        height: 100px;
    }

    .circle-2 {
        width: 70px;
        height: 70px;
    }

    .circle-3 {
        width: 50px;
        height: 50px;
    }
}

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

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

    .hero-label {
        font-size: 12px;
        padding: 8px 16px;
    }
}
