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

:root {
    --primary-color: #0095C5;
    --primary-dark: #007a9e;
    --primary-light: #e6f7fb;
    --secondary-color: #0095C5;
    --text-color: #333;
    --text-muted: #666;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e0e0e0;
    --bg-light: #f5f5f5;
    --bg-gray: #e5e5e5;
}

body {
    font-family: 'Almarai', 'DM Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    direction: rtl;
}

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

.wrapper {
    min-height: 100vh;
}

/* Navbar Styles */
.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Brand Colors */
.text-brand-purple {
    color: var(--primary-color) !important;
}

.bg-primary-light {
    background-color: #e6f7fb !important;
}

.text-primary {
    color: #0095C5 !important;
}

.bg-primary {
    background-color: #0095C5 !important;
}

/* Font Classes */
.font-heading {
    font-family: 'DM Sans', sans-serif;
}

.font-arabic {
    font-family: 'Almarai', sans-serif;
}

.rtl\:font-arabic {
    font-family: 'Almarai', sans-serif;
}

.ltr\:font-heading {
    font-family: 'DM Sans', sans-serif;
}

/* Base Button */
.base-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: transparent;
    border: 2px solid #d1d5db;
    color: var(--black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-family: 'Almarai', sans-serif;
    transition: all 0.3s;
    cursor: pointer;
}

.base-button:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.base-button[inverse-outline] {
    background-color: transparent;
    border: 2px solid #d1d5db;
    color: var(--black);
}

.base-button[inverse-outline]:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.base-button .arrow-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
}

.base-button:hover .arrow-icon {
    transform: translateX(-5px);
}

.rtl .base-button:hover .arrow-icon {
    transform: translateX(5px);
}

/* Video Background */
.vue-responsive-videobg {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 600px;
    max-height: 600px;
    height: 100vh;
}

.video-buffering {
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: 50%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    z-index: 0;
}

/* Video styles are defined inline in HTML to match original code */

.videobg-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Carousel Styles */
.homecarousel {
    position: relative;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

.slick-slide.slick-active {
    display: block;
}

.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s;
}

.slick-arrow:hover {
    background: var(--primary-color);
    color: white;
}

.slick-prev {
    right: 20px;
}

.slick-next {
    left: 20px;
}

.slick-arrow::before {
    content: '←';
    font-size: 20px;
    color: var(--text-color);
}

.slick-next::before {
    content: '→';
}

.slick-dots {
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    gap: 10px;
}

.slick-dots li {
    display: inline-block;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.slick-dots li.slick-active button {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.slick-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.slick-arrow:hover svg {
    color: white;
}

.homecarousel .slick-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.homecarousel .slick-slide:hover img {
    transform: scale(1.05);
}

/* Ensure carousel is visible */
.homecarousel.slick-initialized {
    opacity: 1;
    visibility: visible;
}

/* Marquee Text */
.marquee-text-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-text-content {
    display: flex;
    width: fit-content;
}

.marquee-text-text {
    animation-name: marquee-text-animation;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
}

.marquee-text-text ul {
    display: flex;
    flex-wrap: nowrap;
}

@keyframes marquee-text-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Stock Price Icons */
.stockprice-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    margin: 0 4px;
}

.stockprice-icon.up {
    border-bottom: 6px solid #28a745;
}

.stockprice-icon.down {
    border-top: 6px solid #dc3545;
}

.stockprice-icon.unchanged {
    width: 8px;
    height: 2px;
    background: #666;
    border: none;
}

.statusicon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
}

.statusicon.closed {
    background-color: #dc3545;
}

.statusicon.open {
    background-color: #28a745;
}

/* Header Info Bar */
.header-info-bar {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 45px;
}

.header-info-bar-item {
    padding: 0.5rem 0;
}

/* Show header info bar items on larger screens */
@media (min-width: 475px) {
    .header-info-bar [class*="xs:flex"] {
        display: flex !important;
    }
}

@media (min-width: 1024px) {
    .header-info-bar [class*="lg:flex-initial"] {
        display: flex !important;
        flex: 0 1 auto !important;
    }
}

@media (min-width: 1280px) {
    .header-info-bar [class*="xl:flex"] {
        display: flex !important;
    }
}

/* Stock price icon */
.stockprice-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stockprice-icon.down {
    background-color: #ef4444;
}

.stockprice-icon.up {
    background-color: #10b981;
}

.statusicon.closed {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6b7280;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: var(--bg-light);
}

.data-table th {
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background-color: var(--bg-light);
}

.data-table a {
    color: var(--primary-color);
    text-decoration: none;
}

.data-table a:hover {
    text-decoration: underline;
}

/* Tabs */
.tabs__selected {
    border-bottom: 4px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Links */
.mw-link {
    text-decoration: none;
    transition: all 0.3s;
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.mw-link:hover {
    background-color: var(--black);
    color: var(--white);
}

/* Footer Links */
.footer .links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer .links > span {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.footer .links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer .links a:hover {
    color: var(--white);
}

/* Social Links */
.s-links {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.s-links:hover {
    color: var(--white);
}

/* Hamburger Icon */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Search */
.search {
    position: relative;
}

.symbol-search {
    position: relative;
}

.symbol-search-input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    width: 250px;
    font-family: 'Almarai', sans-serif;
}

.symbol-search-result-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.symbol-search-input:focus + .symbol-search-result-list,
.symbol-search-result-list:hover {
    display: block;
}

/* Glide Carousel */
.glide {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.glide__track {
    overflow: hidden;
}

.glide__slides {
    position: relative;
    width: 100%;
    list-style: none;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    touch-action: pan-Y;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
}

.glide__slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    white-space: normal;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.glide__bullets {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.glide__bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.glide__bullet--active {
    background: var(--primary-color);
}

/* Card Styles */
.card {
    position: relative;
    overflow: hidden;
}

.card-header {
    position: relative;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid #d1d5db;
    color: var(--black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Almarai', sans-serif;
}

.btn-primary:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-2px);
}

/* Utility Classes */
.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--secondary-color);
}

.down {
    color: #dc3545;
}

.up {
    color: #28a745;
}

.text-nochange {
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .xl\:sticky {
        position: sticky;
    }
    
    .xl\:hidden {
        display: none;
    }
    
    .xl\:flex {
        display: flex;
    }
}

@media (max-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid {
        display: grid;
    }
}

@media (max-width: 640px) {
    .sm\:block {
        display: block;
    }
    
    .sm\:hidden {
        display: none;
    }
    
    .sm\:flex {
        display: flex;
    }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Number Formatting */
.num {
    font-variant-numeric: tabular-nums;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* RTL Support */
[dir="rtl"] .rtl\:mr-2 {
    margin-right: 0.5rem;
}

[dir="rtl"] .rtl\:ml-2 {
    margin-left: 0.5rem;
}

[dir="rtl"] .rtl\:pr-4 {
    padding-right: 1rem;
}

[dir="rtl"] .rtl\:pl-4 {
    padding-left: 1rem;
}

[dir="rtl"] .rtl\:text-lg {
    font-size: 1.125rem;
}

[dir="rtl"] .rtl\:gap-x-reverse {
    gap: 0.5rem;
}

[dir="rtl"] .rtl\:border-r {
    border-right: 1px solid var(--border-color);
}

[dir="ltr"] .ltr\:border-l {
    border-left: 1px solid var(--border-color);
}

[dir="ltr"] .ltr\:pl-4 {
    padding-left: 1rem;
}

[dir="ltr"] .ltr\:pr-4 {
    padding-right: 1rem;
}

[dir="ltr"] .ltr\:mr-2 {
    margin-right: 0.5rem;
}

[dir="ltr"] .ltr\:ml-auto {
    margin-left: auto;
}

[dir="rtl"] .rtl\:mr-auto {
    margin-right: auto;
}

/* Additional Utility Classes */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-x-2 {
    gap: 0.5rem;
}

.gap-x-4 {
    gap: 1rem;
}

.gap-x-6 {
    gap: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

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

.mt-8 {
    margin-top: 2rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.uppercase {
    text-transform: uppercase;
}

.font-bold {
    font-weight: 700;
}

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

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

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

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.z-999 {
    z-index: 999;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

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

.bg-black {
    background-color: var(--black);
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-300 {
    background-color: #d1d5db;
}

.text-white {
    color: var(--white);
}

.text-black {
    color: var(--black);
}

.border {
    border: 1px solid var(--border-color);
}

.border-t {
    border-top: 1px solid var(--border-color);
}

.border-b {
    border-bottom: 1px solid var(--border-color);
}

.border-b-4 {
    border-bottom-width: 4px;
}

.rounded {
    border-radius: 0.25rem;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.opacity-50 {
    opacity: 0.5;
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hover\:bg-black:hover {
    background-color: var(--black);
}

.hover\:text-white:hover {
    color: var(--white);
}

.hover\:text-primary:hover {
    color: var(--primary-color);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.object-cover {
    object-fit: cover;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-y-4 {
    row-gap: 1rem;
}

.gap-y-12 {
    row-gap: 3rem;
}

.gap-x-4 {
    column-gap: 1rem;
}

.gap-x-16 {
    column-gap: 4rem;
}

/* Flex Utilities */
.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

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

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

/* Spacing */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-12 {
    padding-top: 3rem;
}

.pt-48 {
    padding-top: 12rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-24 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.my-32 {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

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

.ms-auto {
    margin-inline-start: auto;
}

.me-auto {
    margin-inline-end: auto;
}

/* Sizing */
.w-auto {
    width: auto;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
}

.h-24 {
    height: 6rem;
}

.h-96 {
    height: 24rem;
}

.min-h-24 {
    min-height: 6rem;
}

.max-h-600px {
    max-height: 600px;
}

.min-h-600px {
    min-height: 600px;
}

/* Typography */
.tracking-tight {
    letter-spacing: -0.025em;
}

.leading-snug {
    line-height: 1.375;
}

.leading-relaxed {
    line-height: 1.625;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Colors */
.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-gray-400 {
    border-color: #9ca3af;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.text-red-500 {
    color: #ef4444;
}

.text-green-600 {
    color: #16a34a;
}

/* Transform */
.rotate-180 {
    transform: rotate(180deg);
}

.-scale-x-100 {
    transform: scaleX(-1);
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Gradient */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black\/80 {
    --tw-gradient-from: rgba(0, 0, 0, 0.8);
    --tw-gradient-to: rgba(0, 0, 0, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-black\/0 {
    --tw-gradient-to: rgba(0, 0, 0, 0);
}

/* Negative Margin */
.-mt-\[140px\] {
    margin-top: -140px;
}

/* Height */
.h-\[90px\] {
    height: 90px;
}

/* Width */
.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-12 {
    width: 3rem;
}

/* Height */
.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
}

.size-4 {
    width: 1rem;
    height: 1rem;
}

/* Display */
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

/* Position */
.top-0 {
    top: 0;
}

.top-1 {
    top: 0.25rem;
}

.end-0 {
    inset-inline-end: 0;
}

.bottom-0 {
    bottom: 0;
}

/* Z-index */
.z-\[999\] {
    z-index: 999;
}

.z-\[1000\] {
    z-index: 1000;
}

/* Background */
.bg-white\/70 {
    background-color: rgba(255, 255, 255, 0.7);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }
    
    .sm\:flex {
        display: flex;
    }
    
    .sm\:hidden {
        display: none;
    }
    
    .sm\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .sm\:w-auto {
        width: auto;
    }
    
    .sm\:inline-block {
        display: inline-block;
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:grid {
        display: grid;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .md\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .md\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .md\:gap-x-8 {
        column-gap: 2rem;
    }
    
    .md\:gap-x-16 {
        column-gap: 4rem;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
    }
    
    .md\:items-center {
        align-items: center;
    }
    
    .md\:justify-center {
        justify-content: center;
    }
    
    .md\:justify-start {
        justify-content: flex-start;
    }
    
    .md\:order-last {
        order: 9999;
    }
    
    .md\:h-auto {
        height: auto;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }
    
    .lg\:flex {
        display: flex;
    }
    
    .lg\:hidden {
        display: none;
    }
    
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:h-\[30rem\] {
        height: 30rem;
    }
    
    .lg\:h-auto {
        height: auto;
    }
    
    .lg\:flex-row {
        flex-direction: row;
    }
    
    .lg\:gap-x-4 {
        column-gap: 1rem;
    }
    
    .lg\:gap-y-0 {
        row-gap: 0;
    }
    
    .lg\:justify-end {
        justify-content: flex-end;
    }
    
    .lg\:flex-initial {
        flex: 0 1 auto;
    }
    
    .lg\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 1280px) {
    .xl\:sticky {
        position: sticky;
    }
    
    .xl\:flex {
        display: flex;
    }
    
    .xl\:hidden {
        display: none;
    }
    
    .xl\:flex-row {
        flex-direction: row;
    }
}

/* Extra Small */
@media (min-width: 475px) {
    .xs\:flex {
        display: flex;
    }
}

/* Print */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Contact Form Styles */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-family: 'Almarai', sans-serif;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Almarai', sans-serif;
    transition: all 0.3s;
    background-color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-form .country-code {
    flex: 0 0 180px;
}

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

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    color: var(--black);
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Almarai', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button[type="submit"]:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
}

.contact-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-family: 'Almarai', sans-serif;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.max-w-3xl {
    max-width: 48rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

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

.mb-6 {
    margin-bottom: 1.5rem;
}

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

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-gray-700 {
    color: #374151;
}

.text-red-500 {
    color: #ef4444;
}

.text-primary {
    color: var(--primary-color);
}

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

.bg-primary-dark {
    background-color: #4a1fb3;
}

.text-white {
    color: var(--white);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.p-8 {
    padding: 2rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.flex {
    display: flex;
}

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

.cursor-pointer {
    cursor: pointer;
}

.hover\:underline:hover {
    text-decoration: underline;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.w-full {
    width: 100%;
}

.flex-1 {
    flex: 1 1 0%;
}

/* Logo Styles */
.desktop-logo {
    display: block;
    max-width: 128px;
    height: auto;
}

/* Main Navigation Links */
.main-nav-links {
    display: none;
}

@media (min-width: 1280px) {
    .main-nav-links {
        display: flex !important;
        align-items: center;
        gap: 1rem;
    }
}

.flyout-trigger {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flyout-trigger:hover {
    background-color: var(--black);
    color: var(--white);
    border-radius: 4px;
}

.flyout-trigger svg {
    transition: transform 0.3s;
}

.flyout-trigger:hover svg {
    transform: rotate(180deg);
}

.header-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Hamburger Menu */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-icon span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form .country-code {
        flex: 1;
    }
    
    .contact-form .flex {
        flex-direction: column;
    }
    
    .main-nav-links {
        display: none !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}
