/* FAQ PAGE STYLES */

/* Video Background for Page Header */
.header-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.7) 0%, rgba(239, 68, 68, 0.6) 100%);
    z-index: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.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,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,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;
}

/* Animated Aeroplanes */
.page-header::after {
    content: '\f5b0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.15);
    top: 20%;
    left: -100px;
    animation: flyAcross1 25s linear infinite;
    z-index: 1;
}

.page-header .plane-1,
.page-header .plane-2,
.page-header .plane-3 {
    position: absolute;
    font-size: 65px;
    color: rgba(255, 255, 255, 0.12);
    z-index: 1;
}

.page-header .plane-1 {
    top: 30%;
    left: -80px;
    animation: flyAcross1 20s linear infinite;
    animation-delay: 0s;
}

.page-header .plane-2 {
    top: 60%;
    left: -80px;
    animation: flyAcross2 30s linear infinite;
    animation-delay: 8s;
    transform: rotate(-5deg);
}

.page-header .plane-3 {
    top: 45%;
    left: -80px;
    animation: flyAcross3 35s linear infinite;
    animation-delay: 15s;
    transform: rotate(5deg);
}

/* Cloud decorations */
.page-header .cloud-1,
.page-header .cloud-2,
.page-header .cloud-3 {
    position: absolute;
    font-size: 50px;
    color: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.page-header .cloud-1 {
    top: 15%;
    right: -100px;
    animation: floatCloud1 40s linear infinite;
}

.page-header .cloud-2 {
    top: 70%;
    right: -120px;
    animation: floatCloud2 50s linear infinite;
    animation-delay: 10s;
}

.page-header .cloud-3 {
    top: 40%;
    right: -80px;
    animation: floatCloud3 45s linear infinite;
    animation-delay: 20s;
}

/* Aeroplane Flight Animations */
@keyframes flyAcross1 {
    0% {
        left: -100px;
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-3deg);
    }
    100% {
        left: calc(100% + 100px);
        transform: rotate(0deg);
    }
}

@keyframes flyAcross2 {
    0% {
        left: -100px;
        transform: rotate(-5deg);
    }
    30% {
        transform: rotate(-8deg);
    }
    70% {
        transform: rotate(-2deg);
    }
    100% {
        left: calc(100% + 100px);
        transform: rotate(-5deg);
    }
}

@keyframes flyAcross3 {
    0% {
        left: -100px;
        transform: rotate(5deg);
    }
    40% {
        transform: rotate(2deg);
    }
    80% {
        transform: rotate(8deg);
    }
    100% {
        left: calc(100% + 100px);
        transform: rotate(5deg);
    }
}

/* Cloud Float Animations */
@keyframes floatCloud1 {
    0% {
        right: -150px;
        opacity: 0.08;
    }
    50% {
        opacity: 0.12;
    }
    100% {
        right: calc(100% + 150px);
        opacity: 0.08;
    }
}

@keyframes floatCloud2 {
    0% {
        right: -150px;
        opacity: 0.06;
        transform: scale(1);
    }
    50% {
        opacity: 0.10;
        transform: scale(1.1);
    }
    100% {
        right: calc(100% + 150px);
        opacity: 0.06;
        transform: scale(1);
    }
}

@keyframes floatCloud3 {
    0% {
        right: -120px;
        opacity: 0.07;
    }
    50% {
        opacity: 0.11;
    }
    100% {
        right: calc(100% + 120px);
        opacity: 0.07;
    }
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-intro h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
}

.faq-intro p {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.8;
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

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

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.question-text {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
    transition: color 0.3s ease;
}

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

.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    color: #dc2626;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

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

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

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
}

/* Appointment Section */
.appointment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, #fef2f2 100%);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Form Side */
.appointment-form-side {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.form-icon i {
    font-size: 36px;
    color: white;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
}

.form-header p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

.appointment-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #dc2626;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

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

.btn-appointment {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-appointment i {
    margin-right: 10px;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #6b7280;
}

.form-note i {
    color: #10b981;
    margin-right: 5px;
}

/* Info Side */
.appointment-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 28px;
    color: #dc2626;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.info-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

/* Contact Card */
.contact-card .phone-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #dc2626;
    text-decoration: none;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.contact-card .phone-number:hover {
    color: #ef4444;
    transform: scale(1.05);
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.stats-card h3 {
    color: white;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 20px;
    color: white;
}

.stat-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
}

.stat-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Office Card */
.office-card p {
    margin: 15px 0 20px;
    line-height: 1.7;
}

.btn-directions {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.btn-directions i {
    margin-right: 8px;
}

/* Email Card */
.email-card a {
    display: block;
    color: #dc2626;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.email-card a:hover {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .appointment-info-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

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

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

    .faq-intro h2 {
        font-size: 28px;
    }

    .faq-question {
        padding: 20px;
    }

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

    .faq-toggle {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .appointment-form-side {
        padding: 30px 25px;
    }

    .form-header h2 {
        font-size: 26px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-info-side {
        grid-template-columns: 1fr;
    }

    .contact-card .phone-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 0 40px;
    }

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

    .faq-section {
        padding: 50px 0;
    }

    .appointment-section {
        padding: 50px 0;
    }

    .appointment-form-side {
        padding: 25px 20px;
    }

    .form-icon {
        width: 60px;
        height: 60px;
    }

    .form-icon i {
        font-size: 28px;
    }
}

/* ========================================
   FOOTER LINKS BEAUTIFICATION
   ======================================== */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    bottom: 8px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links li a i {
    font-size: 16px;
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-links li a:hover::before {
    width: 30px;
}

.footer-links li a:hover i {
    background: var(--accent-color);
    color: var(--text-dark);
    transform: translateX(3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* ========================================
   EMAIL NOTIFICATION STYLES
   ======================================== */
.email-notification {
    position: fixed;
    top: -100px;
    right: 20px;
    background: white;
    color: #1f2937;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 450px;
    min-width: 320px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #3b82f6;
}

.email-notification.show {
    top: 100px;
}

.email-notification.success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.email-notification.success i {
    color: #10b981;
}

.email-notification.error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.email-notification.error i {
    color: #ef4444;
}

.email-notification.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.email-notification.warning i {
    color: #f59e0b;
}

.email-notification.info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.email-notification.info i {
    color: #3b82f6;
}

.email-notification > i {
    font-size: 24px;
    flex-shrink: 0;
}

.email-notification span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1f2937;
}

.notification-close i {
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .email-notification {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        min-width: auto;
    }

    .email-notification.show {
        top: 80px;
    }
}
