/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #CF9D5B;
    --secondary-color: #CF9D5B;
    --accent-color: #B8884A;
    --text-color: #ffffff;
    --light-bg: #ecf0f1;
    --white: #ffffff;
}

/* Emoji Font Support */
.noto-color-emoji-regular {
    font-family: "Noto Color Emoji", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: auto;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

main {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--secondary-color);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar {
    position: relative;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 20px;
    gap: 2rem;
}

.navbar-container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100%;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 85px;
    flex-shrink: 0;
}

.logo {
    height: 85px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    display: block;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-left: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #E8BF7F;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 100;
    margin-left: auto;
}

.language-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Noto Color Emoji", sans-serif;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.language-option {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: "Noto Color Emoji", sans-serif;
}

.language-option:first-child {
    border-radius: 5px 5px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 5px 5px;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #E8BF7F;
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    flex-shrink: 0;
    position: relative;
    align-items: center;
    justify-content: center;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Floating Email Button */
.floating-email-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 99;
}

.floating-email-btn:hover {
    background-color: var(--accent-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.floating-email-btn svg {
    width: 28px;
    height: 28px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile Floating Email Button */
@media (max-width: 768px) {
    .floating-email-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .floating-email-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Services Showcase - Full Height Scrollable Sections */
.services-showcase {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.service-slide {
    width: 100%;
    height: 250vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    margin: 0;
    padding: 0;
}



.service-slide.darkened {
    /* Darkening handled by .slide-overlay */
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 0.5;
    transition: background 0.8s ease;
    pointer-events: none;
}

.service-slide.darkened .slide-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.slide-content {
    position: fixed;
    z-index: 2;
    color: var(--white);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    filter: brightness(1);
    pointer-events: none;
    z-index: 5;
}

.fade-in-text {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in-text.show {
    opacity: 1;
}

/* Mobile: Show text immediately without transition and hide overlay */
@media (max-width: 768px) {
    .service-slide {
        display: block !important;
        align-items: unset !important;
        justify-content: unset !important;
        height: auto !important;
        min-height: 100vh !important;
        background-attachment: scroll !important;
    }

    .service-slide {
        display: block !important;
        align-items: unset !important;
        justify-content: unset !important;
        height: auto !important;
        min-height: 100vh !important;
        background-attachment: scroll !important;
        position: relative !important;
    }

    .slide-content {
        position: relative !important;
        height: auto !important;
        width: 100% !important;
        pointer-events: auto !important;
        padding: 30px 20px !important;
        display: block !important;
        z-index: 10 !important;
    }

    .slide-content h2 {
        position: static !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 0 25px 0 !important;
        padding: 0 !important;
        font-size: 1.8rem !important;
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.7) !important;
    }

    .slide-content p:not(.service-subtitle) {
        position: static !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        font-size: 1.25rem !important;
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.7) !important;
    }

    .service-subtitle {
        position: static !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        height: auto !important;
        width: 100% !important;
        display: block !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        font-size: 1.4rem !important;
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.7) !important;
    }

    .slide-bottom-title {
        position: static !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 25px 0 20px 0 !important;
        padding: 0 !important;
        z-index: auto !important;
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.7) !important;
    }

    .service-button {
        position: fixed !important;
        right: 20px !important;
        bottom: 10px !important;
        top: auto !important;
        left: auto !important;
        margin: 0 !important;
        display: block !important;
        width: auto !important;
        z-index: 1000 !important;
        pointer-events: none !important;
    }

    .fade-in-text {
        opacity: 1 !important;
        transition: none !important;
        position: relative !important;
        z-index: 5 !important;
    }

    .slide-overlay {
        opacity: 1 !important;
        z-index: 0.5 !important;
    }

    /* Mobile Navigation Menu */
    .navbar-container {
        gap: 0 !important;
        padding: 0.6rem 20px !important;
        position: relative !important;
    }

    .hamburger-btn {
        display: flex !important;
        margin-left: auto !important;
        padding: 8px !important;
        z-index: 101 !important;
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        flex-direction: column !important;
        gap: 0 !important;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        order: unset !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 100 !important;
    }

    .nav-menu.open {
        max-height: 500px;
    }

    .nav-link {
        font-size: 0.95rem !important;
        padding: 12px 20px !important;
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .slide-overlay {
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 0 !important;
    }

    .language-selector {
        margin-left: auto !important;
        order: 2;
    }
}

/* Desktop and larger screens */
@media (min-width: 769px) {
    .hamburger-btn {
        display: none !important;
    }

    .nav-menu {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        flex: 1;
        justify-content: center;
        max-height: unset !important;
        border-bottom: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .nav-link {
        padding: 0 !important;
        border-bottom: none !important;
    }
}

/* Portrait orientation or very small height (small laptops, vertical monitors) */
@media (orientation: portrait) or (max-height: 900px) {
    .slide-content h2 {
        font-size: 1.05rem !important;
    }

    .slide-content p:not(.service-subtitle) {
        font-size: 0.9rem !important;
    }

    .service-subtitle {
        font-size: 0.9rem !important;
    }

    .slide-bottom-title {
        font-size: 0.8rem !important;
    }

    .service-button {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }
}

/* Extremely small screens (under 800px height) */
@media (max-height: 800px) {
    .slide-content h2 {
        font-size: 0.9rem !important;
        margin: 0 0 15px 0 !important;
    }

    .slide-content p:not(.service-subtitle) {
        font-size: 0.75rem !important;
        margin: 0 0 10px 0 !important;
    }

    .service-subtitle {
        font-size: 0.75rem !important;
        margin: 0 0 10px 0 !important;
    }

    .slide-bottom-title {
        font-size: 0.7rem !important;
        margin: 10px 0 10px 0 !important;
    }

    .service-button {
        padding: 8px 15px !important;
        font-size: 0.7rem !important;
    }
}

.slide-content h2 {
    font-size: clamp(1rem, 8vw, 3rem) !important;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: var(--primary-color);
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.slide-bottom-title {
    font-size: clamp(0.65rem, 3vw, 1.55rem);
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: var(--primary-color);
    position: absolute;
    top: calc(75px + 70vh);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Windowed Mode - When browser is not fullscreen */
body.windowed-mode .slide-content h2 {
    font-size: clamp(1rem, 8vw, 2.4rem) !important;
}

@media (min-width: 769px) {
    .slide-content p:not(.service-subtitle) {
        font-size: clamp(0.3rem, 1.1vw, 1.3rem) !important;
        margin: 0;
        line-height: 1.6;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        text-align: left;
        color: var(--white);
        width: clamp(85%, 90vw, 75%);
        position: absolute;
        left: 5%;
        top: calc(75px + 30vh);
        height: 40vh;
        overflow-y: auto;
    }
}

/* Two-column layout only for Study Visa & Scholarships slide (Service 4) */
@media (min-width: 769px) {
    .service-slide:nth-of-type(4) .slide-content p:not(.service-subtitle) {
        column-count: 2;
        column-gap: 2rem;
    }
}

.service-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    position: absolute;
    right: 5%;
    bottom: calc(20% - 5px);
    pointer-events: none;
}

.service-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(207, 157, 91, 0.5);
}

.service-button:active {
    transform: translateY(-1px);
}

/* Floating button - fixed to viewport */
#floating-service-button {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    top: auto !important;
    left: auto !important;
    z-index: 1000 !important;
    display: block !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
}

#floating-service-button:hover {
    background-color: var(--accent-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(207, 157, 91, 0.5) !important;
}

#floating-service-button:active {
    transform: translateY(-1px) !important;
}

.service-subtitle {
    font-size: clamp(0.55rem, 2.5vw, 1.2rem);
    text-align: center;
    font-weight: 500;
    color: var(--white);
    opacity: 0.95;
    position: absolute;
    top: calc(75px + 17vh);
    height: 8vh;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(85%, 90vw, 75%);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 20px 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #000000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        gap: 0;
        color: var(--white);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hamburger {
        display: flex;
    }

    .language-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .language-menu {
        min-width: 140px;
    }

    .hamburger {
        display: flex;
    }

    .service-slide {
        height: auto;
        min-height: 100vh;
        background-attachment: scroll;
    }

    .service-button {
        position: fixed !important;
        right: 20px !important;
        bottom: 10px !important;
        top: auto !important;
        left: auto !important;
        padding: 12px 30px;
        font-size: 1rem;
        z-index: 1000 !important;
    }

    .logo {
        height: 65px;
        width: auto;
        max-width: 240px;
        margin-right: 8px;
    }

    .logo-title {
        font-size: 1.8rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
        color: #ffffff;
    }

    .logo-link {
        height: 65px;
    }

}

@media (max-width: 1024px) and (min-width: 769px) {
    .service-slide {
        height: 300vh;
        background-attachment: fixed;
    }

    .slide-content h2 {
        font-size: 1.61rem;
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
    }

    .service-button {
        position: fixed !important;
        right: 20px !important;
        bottom: 20px !important;
        top: auto !important;
        left: auto !important;
        padding: 10px 20px;
        font-size: 0.95rem;
        z-index: 1000 !important;
    }

    .logo {
        height: 55px;
        width: auto;
        max-width: 200px;
        margin-right: 8px;
    }

    .logo-title {
        font-size: 1.4rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        color: #ffffff;
    }

    .logo-link {
        height: 55px;
    }
}

/* Service Page Styles */
.service-page {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-page h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-page>.container>p {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.service-details {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.service-details h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-details ul {
    list-style: none;
}

.service-details li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
}

.service-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
}

.service-cta .service-button {
    position: static;
    transform: none;
}

/* RTL & Internationalization Support */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .container {
    text-align: right;
}

html[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-menu {
    left: 0;
    right: auto;
}

html[dir="rtl"] .language-option:hover {
    padding-left: 15px;
    padding-right: 20px;
}

html[dir="rtl"] .service-slide h2,
html[dir="rtl"] .service-slide p {
    text-align: right;
}

html[dir="rtl"] footer ul {
    text-align: right;
}

html[dir="rtl"] .slide-content h2 {
    text-align: center;
}

html[dir="rtl"] .slide-content p {
    text-align: right;
}

html[dir="rtl"] .contact-form {
    text-align: right;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea {
    text-align: right;
}

html[dir="rtl"] .features-grid {
    text-align: right;
}

html[dir="rtl"] .feature-item {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

html[dir="rtl"] .flip-card {
    text-align: center;
}

html[dir="rtl"] .flip-card-front,
html[dir="rtl"] .flip-card-back {
    text-align: right;
}

html[dir="rtl"] .footer-content {
    text-align: right;
}

html[dir="rtl"] .footer-bottom {
    text-align: right;
}

/* ========================================
   DESTINATION DETAIL PAGE STYLES
   ======================================== */

.destination-detail {
    min-height: 100vh;
    background: #fff;
}

.destination-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.destination-info-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(207, 157, 91, 0.15);
    backdrop-filter: blur(5px);
    padding: 30px 40px;
    border-top: 3px solid var(--primary-color);
}

.destination-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-box-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-box-value {
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 700;
}

.destination-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.content-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

.content-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.section-content p {
    margin-bottom: 15px;
}

.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.day-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.day-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.day-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.destination-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B8884A 100%);
    color: var(--dark-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

.destination-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.destination-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta-button-dest {
    color: #fff;
    padding: 0;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button-dest:hover {
    color: #fff;
}

.download-button {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #B8884A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   INLAND TRAVEL PAGE STYLES
   ======================================== */

.inland-travel {
    min-height: 100vh;
    background: #fff;
}

.inland-hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #B8884A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.inland-hero h1 {
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.inland-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.inland-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B8884A 100%);
    color: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

.inland-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.inland-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-button-inland {
    background: #fff;
    color: var(--primary-color);
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-inland:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.feature-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE DESIGN - SHARED
   ======================================== */

@media (max-width: 1024px) {

    .destination-hero,
    .inland-hero {
        height: 400px;
    }

    .inland-hero h1 {
        font-size: 2.5rem;
    }

    .destination-info-container {
        padding: 25px 30px;
    }

    .destination-content,
    .inland-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {

    .destination-hero,
    .inland-hero {
        height: 300px;
    }

    .inland-hero h1 {
        font-size: 2rem;
    }

    .destination-info-container {
        padding: 20px;
    }

    .destination-info-grid {
        gap: 20px;
    }

    .destination-content,
    .inland-content {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-content {
        font-size: 1rem;
    }

    .itinerary-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .inland-cta {
        padding: 40px 20px;
    }

    .inland-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {

    .destination-hero,
    .inland-hero {
        height: 250px;
    }

    .inland-hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}

/* ========================================
   HOTELS.HTML SPECIFIC STYLES
   ======================================== */

.hotel-page {
    padding: 60px 40px;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.hotel-header {
    text-align: center;
    margin-bottom: 60px;
}

.hotel-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hotel-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.hotel-intro {
    background: #fff;
    padding: 60px 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hotel-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.hotel-intro p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin-bottom: 20px;
}

.hotel-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hotel-buttons button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hotel-buttons button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hotel-features {
    max-width: 1000px;
    margin: 60px auto;
}

.hotel-features h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.hotel-feature-box {
    margin: 40px 0;
    padding: 20px;
    background: #fafafa;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    color: #000;
}

.hotel-feature-box h3 {
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.hotel-feature-box ul {
    margin-top: 15px;
    line-height: 2;
    margin-left: 20px;
}

.hotel-feature-box li {
    color: #555;
    font-size: 1rem;
}

.hotel-cta {
    max-width: 900px;
    margin: 60px auto;
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.hotel-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hotel-cta p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hotel-cta .hotel-buttons {
    justify-content: center;
}

.hotel-cta .hotel-buttons button {
    background-color: white;
    color: var(--primary-color);
}

.hotel-cta .hotel-buttons button:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .hotel-header h1 {
        font-size: 2rem;
    }

    .hotel-page {
        padding: 30px 20px;
    }

    .hotel-intro {
        padding: 40px 25px;
    }

    .hotel-buttons {
        flex-direction: column;
    }

    .hotel-buttons button {
        width: 100%;
    }

    .hotel-feature-box {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hotel-header h1 {
        font-size: 1.5rem;
    }

    .hotel-header p {
        font-size: 1rem;
    }

    .hotel-intro h2 {
        font-size: 1.5rem;
    }

    .hotel-cta h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   DESTINATIONS.HTML SPECIFIC STYLES
   ======================================== */

.destinations-page {
    padding: 60px 40px;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.destinations-header {
    text-align: center;
    margin-bottom: 60px;
}

.destinations-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.destinations-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.book {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 320px;
    background-color: whitesmoke;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    perspective: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.cover {
    top: 0;
    position: absolute;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: all 0.6s;
    transform-origin: 0;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.book-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.book-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.book:hover .cover {
    transition: all 0.6s;
    transform: rotateY(-80deg);
}

.book-info {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #B8884A 100%);
    border-radius: 10px;
    padding: 30px 20px 30px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    z-index: -1;
}

.book-info h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    text-align: center;
    width: 100%;
}

.destinations-grid .info-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.destinations-grid .info-label {
    font-weight: 600;
    color: var(--dark-color);
}

.destinations-grid .info-value {
    color: #fff;
    margin-left: 5px;
}

.destinations-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin: 0;
    overflow: hidden;
}

.destinations-hero-content {
    max-width: 900px;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.destinations-hero h2 {
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 700;
}

.destinations-hero p {
    font-size: clamp(0.75rem, 1.8vw, 1rem);
    line-height: 1.4;
    margin: 0;
}

.pricing-section {
    background: #f9f9f9;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 60px auto;
    border-radius: 10px;
}

.pricing-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.pricing-section h3 {
    font-size: 1.3rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

.pricing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.pricing-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.pricing-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.pricing-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.pricing-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-subsection {
    margin-bottom: 30px;
}

.pricing-subsection h4 {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 15px;
    margin-top: 20px;
    font-weight: 600;
}

.pricing-subsection:first-child h4 {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }

    .destinations-page {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .destinations-header h1 {
        font-size: 2rem;
    }

    .destinations-header p {
        font-size: 1rem;
    }

    .destinations-page {
        padding: 30px 20px;
    }

    .book {
        height: 300px;
    }

    .pricing-content {
        grid-template-columns: 1fr;
    }

    .pricing-section {
        padding: 40px 20px;
    }

    .destinations-hero {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .destinations-header h1 {
        font-size: 1.5rem;
    }

    .book {
        height: 280px;
    }

    .cover {
        font-size: 1.4rem;
    }

    .book-info h3 {
        font-size: 1rem;
    }

    .destinations-grid .info-item {
        font-size: 0.85rem;
    }
}

/* ========================================
   ARABICCOURSES.HTML SPECIFIC STYLES
   ======================================== */

.courses-page {
    padding: 60px 40px;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.courses-header {
    text-align: center;
    margin-bottom: 60px;
}

.courses-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.courses-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.section-container {
    background: #fff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.courses-page .section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-content {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.section-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.section-content li {
    margin-bottom: 10px;
    color: #666;
}

.section-content strong {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .courses-page {
        padding: 40px 30px;
    }

    .section-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .courses-header h1 {
        font-size: 1.8rem;
    }

    .courses-header p {
        font-size: 1rem;
    }

    .courses-page {
        padding: 30px 20px;
    }

    .section-container {
        padding: 25px;
    }

    .courses-page .section-title {
        font-size: 1.4rem;
    }

    .section-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .courses-header h1 {
        font-size: 1.4rem;
    }

    .courses-page {
        padding: 20px 15px;
    }

    .section-container {
        padding: 20px;
        margin-bottom: 20px;
    }

    .courses-page .section-title {
        font-size: 1.2rem;
    }
}

/* ========================================
   VISA.HTML SPECIFIC STYLES
   ======================================== */

.visa-page {
    padding: 60px 40px;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.visa-header {
    text-align: center;
    margin-bottom: 60px;
}

.visa-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.visa-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.visa-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.visa-card {
    width: 100%;
    height: 350px;
    perspective: 1000px;
}

.visa-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.visa-button:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.visa-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.visa-card:hover .visa-card-inner {
    transform: rotateY(180deg);
}

.visa-card-front,
.visa-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
}

.visa-card-front {
    background-size: cover;
    background-position: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    transform: rotateY(0deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.visa-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B8884A 100%);
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    transform: rotateY(180deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.visa-card-back h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #fff;
}

.visa-card-back p {
    margin: 0;
    line-height: 1.7;
}

.visa-intro {
    background: #fff;
    padding: 60px 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.visa-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.visa-intro p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
}

@media (max-width: 1024px) {
    .visa-cards-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visa-page {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .visa-header h1 {
        font-size: 2rem;
    }

    .visa-header p {
        font-size: 1rem;
    }

    .visa-page {
        padding: 30px 20px;
    }

    .visa-intro {
        padding: 40px 25px;
    }

    .visa-intro h2 {
        font-size: 1.5rem;
    }

    .visa-card {
        height: 300px;
    }

    .visa-card-front {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .visa-card {
        height: 280px;
    }

    .visa-card-front {
        font-size: 1.2rem;
    }

    .visa-card-back {
        font-size: 0.9rem;
    }

    .visa-card-back h3 {
        font-size: 1.1rem;
    }

    .visa-header h1 {
        font-size: 1.5rem;
    }
}

/* ========================================
   ABOUT.HTML SPECIFIC STYLES
   ======================================== */

.about-page {
    padding: 60px 40px;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.card {
    width: 100%;
    height: 250px;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
}

.card-front {
    background: linear-gradient(135deg, var(--primary-color) 0%, #D4A574 100%);
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 700;
    transform: rotateY(0deg);
    box-shadow: 0 8px 20px rgba(207, 157, 91, 0.3);
}

.card-back {
    background: linear-gradient(135deg, #B8884A 0%, #9B7239 100%);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.5;
    transform: rotateY(180deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-front h3 {
    margin: 0;
}

.card-back p {
    margin: 0;
}

.about-intro {
    background: #fff;
    padding: 60px 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-intro p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
}

@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-page {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-header p {
        font-size: 1rem;
    }

    .about-page {
        padding: 30px 20px;
    }

    .about-intro {
        padding: 40px 25px;
    }

    .about-intro h2 {
        font-size: 1.5rem;
    }

    .card {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .card {
        height: 250px;
    }

    .card-front {
        font-size: 1.2rem;
    }

    .card-back {
        font-size: 0.9rem;
    }

    .about-header h1 {
        font-size: 1.5rem;
    }
}

/* ========================================
   CONTACT.HTML SPECIFIC STYLES
   ======================================== */

.contact-page {
    display: flex;
    min-height: calc(100vh - 200px);
    background: #f5f5f5;
}

.contact-form-section {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 80%;
}

[dir="rtl"] .contact-form-section {
    max-width: 80%;
    margin-left: 0;
}

.contact-form-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row .form-group:last-child {
    grid-column: 1 / -1;
}

.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(207, 157, 91, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-required {
    color: #e74c3c;
}

.contact-form-button {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

[dir="rtl"] .contact-form-button {
    align-self: flex-end;
}

.contact-form-button:hover {
    background: #B8884A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 20%;
    height: 100vh;
    background: var(--primary-color);
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--dark-color);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    border-right: 5px solid rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .contact-info-sidebar {
    right: auto;
    left: 0;
    box-shadow: none;
    border-right: none;
    border-left: 5px solid rgba(0, 0, 0, 0.15);
}

.contact-info-sidebar h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-page .info-item {
    margin-bottom: 35px;
}

.contact-page .info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-page .info-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .contact-info-sidebar {
        width: 25%;
        padding: 40px 20px;
    }

    .contact-form-section {
        max-width: 100%;
        padding: 40px 30px;
    }

    .contact-form-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-page {
        flex-direction: column;
    }

    .contact-info-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px;
        margin-bottom: 20px;
    }

    .contact-form-section {
        max-width: 100%;
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-section h1 {
        font-size: 1.8rem;
    }

    .contact-form-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-info-sidebar {
        padding: 30px 20px;
        border: none;
    }

    [dir="rtl"] .contact-info-sidebar {
        border: none;
    }

    .contact-form-section {
        padding: 20px;
    }

    .contact-form-section h1 {
        font-size: 1.5rem;
    }

    .contact-page .info-item {
        margin-bottom: 25px;
    }
}

/* FAQ Page Styles */
.faq-page {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-page h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: bold;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    background: #fff;
    border-color: var(--secondary-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-item.active .faq-question {
    background: var(--secondary-color);
    color: white;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-item.active .faq-question:hover {
    background: var(--secondary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.faq-answer {
    display: none;
    padding: 1.5rem;
    background: white;
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ol,
.faq-answer ul {
    margin: 1rem 0 1rem 2rem;
}

.faq-answer li {
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .faq-page {
        padding: 2.5rem 1.5rem;
    }

    .faq-page h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-page {
        padding: 1.5rem 1rem;
    }

    .faq-page h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-answer ol,
    .faq-answer ul {
        margin: 0.8rem 0 0.8rem 1.5rem;
    }

    .faq-answer li {
        margin-bottom: 0.6rem;
    }
}