/* ============================================
   GLOBAL ANIMATIONS & EFFECTS
   ============================================ */

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 0, 100, 0.5);
}

/* ============================================
   GLOBAL TYPOGRAPHY & FONTS
   ============================================ */

/* Base Font Settings */
:root {
    --font-arabic: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-english: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Apply fonts based on language */
body {
    font-family: var(--font-arabic);
    font-weight: 400;
    line-height: 1.7;
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

[dir="ltr"] body,
body:not([dir="rtl"]) {
    font-family: var(--font-english);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Paragraphs */
p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Links */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Text Utilities */
.text-muted {
    color: #6b7280 !important;
    font-weight: 400;
    font-family: var(--font-arabic);
}

[dir="ltr"] .text-muted,
.text-muted:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.text-light {
    color: #f3f4f6 !important;
}

/* Buttons Typography & Animations */
.btn {
    font-weight: 600;
    letter-spacing: 0.02em;
    font-family: var(--font-arabic);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary,
.btn-outline-primary {
    animation: scaleIn 0.5s ease-out;
}

[dir="ltr"] .btn,
.btn:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.btn-lg {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-sm {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Card Typography */
.card-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-family: var(--font-arabic);
}

[dir="ltr"] .card-title,
.card-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.card-text {
    line-height: 1.7;
    font-family: var(--font-arabic);
}

[dir="ltr"] .card-text,
.card-text:not([dir="rtl"]) {
    font-family: var(--font-english);
}

/* Responsive Typography */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1.05rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.9rem;
    }
}

/* ============================================
   HEADER STYLES
   ============================================ */

/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.top-bar a {
    transition: all 0.3s ease;
    opacity: 0.9;
    font-weight: 400;
}

.top-bar a:hover {
    opacity: 1;
    color: #fff !important;
    transform: translateY(-1px);
}

.top-bar a i {
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

/* Social Links Styling */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-links a i {
    font-size: 1rem;
    margin: 0;
}

/* Main Header Styles */
.main-header {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
    z-index: 1030;
    border-bottom: 2px solid rgba(255, 0, 100, 0.2);
    width: 100%;
    position: relative;
    color: #111827;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Navbar Container */
.navbar {
    padding: 1rem 0;
}

.navbar .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .navbar .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .navbar .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .navbar .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .navbar .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .navbar .container {
        max-width: 1320px;
    }
}

/* Logo Styles */
.navbar-brand {
    font-size: 1.5rem;
    color: #111827 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 800;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    min-width: 0; /* Allow flex item to shrink if needed */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-arabic);
}

[dir="ltr"] .navbar-brand,
.navbar-brand:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.navbar-brand:hover {
    color: #ff0064 !important;
    transform: scale(1.05);
}

.logo-img {
    transition: all 0.3s ease;
    border-radius: 8px;
    object-fit: contain;
    display: inline-block;
    max-width: 200px;
    height: 50px;
    width: auto;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Ensure logo is always visible */
.navbar-brand .logo-img {
    opacity: 1;
    visibility: visible;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.1);
}

/* Navigation Links */
.navbar-nav {
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-wrap: nowrap;
    }
}

.nav-link {
    color: #111827 !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    font-family: var(--font-arabic);
}

[dir="ltr"] .nav-link,
.nav-link:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.nav-link i {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: #ff0064;
}

.nav-link:hover {
    color: #ff0064 !important;
    background: rgba(255, 0, 100, 0.1);
    transform: translateY(-1px);
}

.nav-link:hover i {
    color: #ff0064;
}

.nav-link.active {
    color: #ff0064 !important;
    background: rgba(255, 0, 100, 0.15);
    font-weight: 600;
}

.nav-link.active i {
    color: #ff0064;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #ff0064;
    border-radius: 2px;
}

/* Dropdown Menu Styles */
.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    border-top-color: #ff0064;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    background: #fafafa;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.05) 0, rgba(255, 0, 100, 0.05) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.05) 0, rgba(255, 0, 100, 0.05) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    border: 1px solid rgba(255, 0, 100, 0.2);
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    color: #111827;
    transition: all 0.3s ease;
    font-weight: 400;
    display: flex;
    align-items: center;
    border-radius: 0;
}

.dropdown-item i {
    font-size: 1rem;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    color: #ff0064;
}

.dropdown-item:hover {
    background: rgba(255, 0, 100, 0.1);
    color: #ff0064;
    padding-left: 1.5rem;
}

.dropdown-item.active {
    background: rgba(255, 0, 100, 0.15);
    color: #ff0064;
    font-weight: 600;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.2;
}

/* Badge in Dropdown */
.dropdown-item .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin-left: auto;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: 2px solid #ff0064;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 100, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 0, 100, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header Actions (Search, WhatsApp, Call buttons) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .header-actions {
        flex-wrap: nowrap;
    }
}

.btn-outline-primary {
    border: 2px solid #ff0064;
    color: #ff0064;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 0.5rem 1rem;
}

.btn-outline-primary:hover {
    background: #ff0064;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 100, 0.3);
}

.btn-success {
    background: #25d366;
    border-color: #25d366;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Search Modal Styles */
#searchModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#searchModal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

#searchModal .modal-title {
    font-weight: 600;
    color: #2c3e50;
}

#searchModal .modal-body {
    padding: 1.5rem;
}

.search-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.15);
}

.search-form .btn-primary {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    background: #3498db;
    border-color: #3498db;
    transition: all 0.3s ease;
}

.search-form .btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #f8f9fa !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0 !important;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    padding: 0 0.5rem;
    font-size: 1.2rem;
}

.breadcrumb-item i {
    margin-right: 0.25rem;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Extra Large Devices (Large Desktops, 1400px and up) */
@media (min-width: 1400px) {
    .navbar {
        padding: 1.25rem 0;
    }
    
    .nav-link {
        padding: 0.6rem 1.25rem !important;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.75rem;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .nav-link {
        padding: 0.5rem 0.9rem !important;
        font-size: 0.95rem;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar {
        padding: 0.875rem 0;
    }
    
    .navbar-brand {
        font-size: 1.35rem;
    }
    
    .logo-img {
        height: 45px !important;
    }
    
    .top-bar {
        font-size: 0.85rem;
    }
    
    .top-bar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .top-bar .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.7rem 1rem !important;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 42px !important;
    }
    
    .top-bar {
        font-size: 0.8rem;
        padding: 0.6rem 0 !important;
    }
    
    .top-bar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .top-bar a {
        font-size: 0.8rem;
        display: inline-block;
        margin: 0 0.25rem;
    }
    
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .top-bar .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
    }
    
    .social-links a i {
        font-size: 0.9rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        padding: 0.75rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        border-left: 4px solid #3498db;
        background: rgba(52, 152, 219, 0.1);
        padding-left: calc(1rem - 4px) !important;
    }
    
    .dropdown-menu {
        margin-left: 1rem;
        margin-top: 0;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        min-width: auto;
        width: calc(100% - 2rem);
    }
    
    .dropdown-item {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .header-actions {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn-outline-primary,
    .btn-success,
    .btn-primary {
        min-height: 44px; /* Touch-friendly size */
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar {
        padding: 0.625rem 0;
    }
    
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .navbar-brand {
        font-size: 1.15rem;
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 60px);
    }
    
    .navbar-brand span {
        display: inline-block;
        max-width: 100%;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
    }
    
    .logo-img {
        height: 38px !important;
        max-width: 150px;
        width: auto;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly */
        min-width: 44px;
        flex: 0 0 auto;
        order: 2;
    }
    
    .navbar-brand {
        order: 1;
    }
    
    .navbar-collapse {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }
    
    .top-bar {
        padding: 0.5rem 0 !important;
        font-size: 0.75rem;
    }
    
    .top-bar .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .top-bar a {
        font-size: 0.75rem;
        display: block;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .top-bar a i {
        font-size: 0.8rem;
        margin-right: 0.3rem;
    }
    
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .top-bar .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        min-width: 36px; /* Touch-friendly */
        min-height: 36px;
    }
    
    .social-links a i {
        font-size: 1rem;
    }
    
    .navbar-nav {
        margin-top: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.875rem 1rem !important;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        min-height: 48px; /* Touch-friendly */
        display: flex;
        align-items: center;
    }
    
    .nav-link i {
        font-size: 1.1rem;
        margin-right: 0.75rem;
        min-width: 20px;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        border-left: 4px solid #3498db;
        background: rgba(52, 152, 219, 0.1);
        padding-left: calc(1rem - 4px) !important;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-toggle::after {
        margin-left: auto;
    }
    
    .dropdown-menu {
        margin-left: 0.75rem;
        margin-top: 0;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        min-width: auto;
        width: calc(100% - 1.5rem);
        border-radius: 6px;
    }
    
    .dropdown-item {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly */
        display: flex;
        align-items: center;
    }
    
    .dropdown-item i {
        font-size: 1.1rem;
        margin-right: 0.75rem;
        min-width: 22px;
    }
    
    .dropdown-item:hover {
        padding-left: 1.5rem;
    }
    
    .header-actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }
    
    .btn-outline-primary,
    .btn-success,
    .btn-primary {
        min-height: 44px; /* Touch-friendly size */
        min-width: 44px;
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
        flex: 1;
        max-width: 120px;
    }
    
    .btn-outline-primary i,
    .btn-success i,
    .btn-primary i {
        font-size: 1.1rem;
    }
    
    /* Search Modal Mobile */
    #searchModal .modal-dialog {
        margin: 1rem;
    }
    
    #searchModal .modal-content {
        border-radius: 10px;
    }
    
    #searchModal .modal-header,
    #searchModal .modal-body {
        padding: 1rem;
    }
    
    .search-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem 1rem;
        min-height: 48px;
    }
    
    .search-form .btn-primary {
        min-height: 48px;
        padding: 0.875rem 1.25rem;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb-nav {
        padding: 0.5rem 0 !important;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .breadcrumb-item {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.4rem;
        font-size: 1rem;
    }
}

/* Landscape Orientation (Mobile) */
@media (max-width: 991.98px) and (orientation: landscape) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 35px !important;
    }
    
    .top-bar {
        padding: 0.4rem 0 !important;
    }
    
    .navbar-nav {
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .dropdown-item,
    .btn {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-link:hover,
    .dropdown-item:hover {
        transform: none; /* Disable hover transforms on touch */
    }
    
    .nav-link:active,
    .dropdown-item:active {
        background: rgba(52, 152, 219, 0.2);
        transform: scale(0.98);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion (Accessibility) */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .dropdown-item,
    .btn,
    .social-links a,
    .navbar-brand,
    .logo-img {
        transition: none;
        animation: none;
    }
    
    .navbar-collapse {
        animation: none;
    }
}

/* Animation for Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        animation: slideDown 0.3s ease;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .navbar-collapse.show {
        max-height: 1000px;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 991.98px) {
    .main-header,
    .top-bar {
        overflow-x: hidden;
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .nav-link,
    .dropdown-menu {
        width: 100%;
    }
}

/* Text overflow handling - Allow full site name to display */
.navbar-brand span,
.navbar-brand .site-name {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    display: inline-block;
    flex-shrink: 0;
}

/* Ensure site name displays fully on all screen sizes */
@media (min-width: 992px) {
    .navbar-brand .site-name {
        max-width: 100%;
        overflow: visible;
    }
}

/* Only truncate on very small screens if necessary */
@media (max-width: 400px) {
    .navbar-brand span {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* On extra small screens, allow wrapping if needed */
@media (max-width: 320px) {
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .navbar-brand span {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
        font-size: 0.9rem;
    }
    
    .logo-img {
        margin-bottom: 0.25rem !important;
        margin-right: 0 !important;
    }
}

/* Dropdown positioning fixes */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
    
    .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
        display: block;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Sticky Header Enhancement */
.main-header.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Loading State for Navigation */
.nav-link.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
.nav-link:focus,
.dropdown-item:focus,
.navbar-toggler:focus,
.btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Very Small Screens (320px and below) */
@media (max-width: 320px) {
    .navbar-brand {
        font-size: 1rem;
        max-width: calc(100% - 50px);
        flex: 1 1 auto;
    }
    
    .navbar-brand span {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }
    
    .logo-img {
        height: 32px !important;
        max-width: 100px;
        width: auto;
    }
    
    .navbar-toggler {
        min-width: 40px;
        min-height: 40px;
        padding: 0.3rem 0.5rem;
    }
    
    .top-bar a {
        font-size: 0.7rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem !important;
    }
    
    .btn-outline-primary,
    .btn-success,
    .btn-primary {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        min-width: 40px;
        min-height: 40px;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .main-header,
    .breadcrumb-nav {
        display: none !important;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */

/* Main Footer with Pixel Grid Background */
.main-footer {
    background-color: #000000 !important;
    background-image: 
        linear-gradient(#333333 1px, transparent 1px),
        linear-gradient(90deg, #333333 1px, transparent 1px);
    background-size: 8px 8px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    position: relative;
    z-index: 1;
    border-top: 2px solid #333333;
}

/* Footer Container */
.main-footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Widgets */
.footer-widget {
    position: relative;
    z-index: 2;
}

.footer-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
    font-family: var(--font-arabic);
    line-height: 1.3;
}

[dir="ltr"] .footer-title,
.footer-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Footer Description */
.footer-description {
    color: #cccccc;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 0.875rem;
}

.footer-links a {
    color: #cccccc !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #3498db !important;
    transform: translateX(5px);
    padding-left: 0.5rem;
}

/* RTL Footer Links */
[dir="rtl"] .footer-links li {
    padding-left: 0;
    padding-right: 1rem;
}

[dir="rtl"] .footer-links li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-5px);
}

/* Footer Posts */
.footer-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-posts a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-posts a:hover {
    color: #3498db !important;
}

.footer-posts a i {
    color: #3498db;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.footer-posts .text-muted {
    color: #888888 !important;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Footer Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: #cccccc;
}

.footer-contact i {
    color: #3498db;
    font-size: 1.1rem;
    min-width: 24px;
}

.footer-contact a {
    color: #cccccc !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #3498db !important;
}

/* Social Links Footer */
.social-links-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: #3498db;
    border-color: #3498db;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    color: #ffffff !important;
}

.social-icon i {
    font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #000000 !important;
    background-image: 
        linear-gradient(#333333 1px, transparent 1px),
        linear-gradient(90deg, #333333 1px, transparent 1px);
    background-size: 8px 8px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    border-top: 2px solid #333333;
    position: relative;
    z-index: 2;
}

.footer-legal-links a {
    color: #cccccc !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal-links a:hover {
    color: #3498db !important;
}

.footer-legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.footer-legal-links a:hover::after {
    width: 100%;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn i {
    font-size: 1.5rem;
    z-index: 2;
}

.floating-btn-label {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 0.875rem;
}

.floating-btn:hover .floating-btn-label {
    opacity: 1;
    transform: translateX(0);
}

.floating-btn-whatsapp {
    background: #25d366;
}

.floating-btn-whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-btn-call {
    background: #3498db;
}

.floating-btn-call:hover {
    background: #2980b9;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

/* RTL Floating Buttons */
[dir="rtl"] .floating-buttons {
    right: auto;
    left: 20px;
}

[dir="rtl"] .floating-btn-label {
    right: auto;
    left: 70px;
}

[dir="rtl"] .floating-btn:hover .floating-btn-label {
    transform: translateX(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.back-to-top i {
    font-size: 1.25rem;
}

/* RTL Back to Top */
[dir="rtl"] .back-to-top {
    left: auto;
    right: 20px;
}

/* Footer Responsive Styles */
@media (max-width: 991.98px) {
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-logo-img {
        max-width: 120px;
    }
    
    .social-links-footer {
        justify-content: flex-start;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .main-footer {
        padding: 2rem 0 !important;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .footer-widget:last-child {
        margin-bottom: 0;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-btn i {
        font-size: 1.25rem;
    }
    
    .floating-btn-label {
        display: none;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
    }
}

@media (max-width: 575.98px) {
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-links a,
    .footer-posts a,
    .footer-contact {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
    
    .floating-buttons {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
    }
    
    .floating-btn i {
        font-size: 1.1rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 10px;
        left: 10px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
}

/* Footer Print Styles */
@media print {
    .main-footer,
    .footer-bottom,
    .floating-buttons,
    .back-to-top {
        display: none !important;
    }
}

/* ============================================
   STATS SECTION STYLES (إحصائيات الزوار)
   ============================================ */

.stats-section {
    background-color: #000000 !important;
    background-image: 
        linear-gradient(#333333 1px, transparent 1px),
        linear-gradient(90deg, #333333 1px, transparent 1px);
    background-size: 8px 8px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    position: relative;
    z-index: 1;
    border-top: 2px solid #333333;
    border-bottom: 2px solid #333333;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

/* Section Titles */
.stats-section h3 {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem !important;
    font-family: var(--font-arabic);
    line-height: 1.3;
}

[dir="ltr"] .stats-section h3,
.stats-section h3:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.stats-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
    border-radius: 2px;
}

/* Stat Items */
.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out both;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: #3498db;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover .stat-number {
    color: #3498db;
    transform: scale(1.1);
}

.stat-item:hover .stat-text {
    color: #ffffff;
}

.stat-number {
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(52, 152, 219, 0.5);
    letter-spacing: -0.03em;
    font-family: var(--font-arabic);
    line-height: 1.2;
    animation: scaleIn 0.6s ease-out;
}

.stat-item:hover .stat-number {
    animation: pulse 1s infinite;
}

[dir="ltr"] .stat-number,
.stat-number:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.stat-text {
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
    font-family: var(--font-arabic);
}

[dir="ltr"] .stat-text,
.stat-text:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.stat-text i {
    color: #3498db;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.stat-item:hover .stat-text i {
    color: #5dade2;
    transform: scale(1.2) rotate(360deg);
    animation: rotate 1s ease-in-out;
}

/* Visitor Statistics Specific */
.stats-section .row:first-of-type .stat-item {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.stats-section .row:first-of-type .stat-item:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

/* Main Statistics */
.stats-section .row:last-of-type .stat-item {
    background: rgba(255, 255, 255, 0.03);
}

/* Responsive Stats */
@media (max-width: 991.98px) {
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-text {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .stats-section h3 {
        font-size: 1.5rem;
    }
    
    .stat-item {
        padding: 1.25rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .stats-section {
        padding: 3rem 0 !important;
    }
    
    .stats-section h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem !important;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-text {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .stat-text i {
        font-size: 1.1rem;
    }
}

/* ============================================
   SERVICES SECTION STYLES (خدماتنا المميزة)
   ============================================ */

.services-section {
    background-color: #000000 !important;
    background-image: 
        linear-gradient(#333333 1px, transparent 1px),
        linear-gradient(90deg, #333333 1px, transparent 1px);
    background-size: 8px 8px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    position: relative;
    z-index: 1;
    border-top: 2px solid #333333;
    border-bottom: 2px solid #333333;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

/* Services Section Title */
.services-section h2 {
    color: #ffffff;
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem !important;
    font-family: var(--font-arabic);
    line-height: 1.2;
}

[dir="ltr"] .services-section h2,
.services-section h2:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
    border-radius: 2px;
}

.services-section .lead {
    color: #cccccc !important;
    font-size: 1.1rem;
    margin-bottom: 3rem !important;
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    animation: fadeInUp 0.8s ease-out both;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #3498db !important;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
    background: rgba(255, 255, 255, 0.08) !important;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .card-body {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem !important;
}

/* Service Icon */
.service-icon {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.service-icon i {
    color: #3498db;
    transition: all 0.4s ease;
    display: inline-block;
    text-shadow: 0 4px 15px rgba(52, 152, 219, 0.5);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse 1s infinite;
}

.service-card:hover .service-icon i {
    color: #5dade2;
    text-shadow: 0 6px 20px rgba(52, 152, 219, 0.7);
    animation: rotate 1s ease-in-out;
}

/* Service Title */
.service-card h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem !important;
    transition: all 0.4s ease;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-family: var(--font-arabic);
}

[dir="ltr"] .service-card h3,
.service-card h3:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.service-card:hover h3 {
    color: #3498db;
}

/* Service Description */
.service-card .text-muted {
    color: #cccccc !important;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem !important;
    transition: all 0.4s ease;
}

.service-card:hover .text-muted {
    color: #ffffff !important;
}

/* Service Button */
.service-card .btn-outline-primary {
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card .btn-outline-primary:hover {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.service-card .btn-outline-primary:hover::before {
    left: 100%;
}

.service-card .btn-outline-primary i {
    transition: transform 0.4s ease;
}

.service-card .btn-outline-primary:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .service-card .btn-outline-primary:hover i {
    transform: translateX(-5px);
}

/* Responsive Services */
@media (max-width: 991.98px) {
    .services-section h2 {
        font-size: 2rem;
    }
    
    .service-card .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .service-icon i {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 3rem 0 !important;
    }
    
    .services-section h2 {
        font-size: 1.75rem;
    }
    
    .services-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem 1.25rem !important;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .services-section h2 {
        font-size: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.25rem 1rem !important;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card .text-muted {
        font-size: 0.9rem;
    }
    
    .service-card .btn-outline-primary {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   LIGHT PATTERN SECTIONS (Concentric Squares)
   ============================================ */

/* Diagonal Grid Pattern - Applied to multiple sections */
.pages-cards-section,
.about-section,
.portfolio-section,
.blog-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
    z-index: 1;
    color: #111827;
}

.pages-cards-section .container,
.about-section .container,
.portfolio-section .container,
.blog-section .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   PAGES CARDS SECTION
   ============================================ */

.pages-cards-section h2,
.portfolio-section h2,
.blog-section h2,
.about-section h2 {
    color: #111827;
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem !important;
    font-family: var(--font-arabic);
    line-height: 1.2;
}

[dir="ltr"] .pages-cards-section h2,
[dir="ltr"] .portfolio-section h2,
[dir="ltr"] .blog-section h2,
[dir="ltr"] .about-section h2,
.pages-cards-section h2:not([dir="rtl"]),
.portfolio-section h2:not([dir="rtl"]),
.blog-section h2:not([dir="rtl"]),
.about-section h2:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.pages-cards-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff0064, #ff0064, #ff0064);
    border-radius: 2px;
}

.pages-cards-section .lead {
    color: #6b7280 !important;
    font-size: 1.1rem;
}

.page-card {
    background: #ffffff !important;
    border: 2px solid rgba(255, 0, 100, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out both;
}

.page-card:nth-child(1) {
    animation-delay: 0.1s;
}

.page-card:nth-child(2) {
    animation-delay: 0.2s;
}

.page-card:nth-child(3) {
    animation-delay: 0.3s;
}

.page-card:nth-child(4) {
    animation-delay: 0.4s;
}

.page-card:nth-child(5) {
    animation-delay: 0.5s;
}

.page-card:nth-child(6) {
    animation-delay: 0.6s;
}

.page-card:hover {
    transform: translateY(-10px);
    border-color: #ff0064 !important;
    box-shadow: 0 15px 35px rgba(255, 0, 100, 0.3);
}

.page-image {
    transition: transform 0.4s ease;
}

.page-card:hover .page-image {
    transform: scale(1.05);
}

.page-card h3 a {
    color: #111827;
    transition: color 0.3s ease;
}

.page-card:hover h3 a {
    color: #ff0064;
}

.page-card .btn-outline-primary {
    border-color: #ff0064;
    color: #ff0064;
    transition: all 0.3s ease;
}

.page-card .btn-outline-primary:hover {
    background: #ff0064;
    color: #ffffff;
    transform: translateX(5px);
}

[dir="rtl"] .page-card .btn-outline-primary:hover {
    transform: translateX(-5px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    position: relative;
}

.about-section h2 {
    color: #111827;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem !important;
}

.about-section h3 {
    color: #6b7280;
    font-weight: 500;
}

.about-description {
    color: #374151;
    line-height: 1.9;
    font-size: 1.1rem;
}

.about-images img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-section .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.3);
}

.about-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.4);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio-section h2 {
    color: #111827;
    font-weight: 800;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem !important;
}

.portfolio-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff0064, #ff0064, #ff0064);
    border-radius: 2px;
}

.portfolio-section .lead {
    color: #6b7280 !important;
    font-size: 1.1rem;
}

.portfolio-card {
    background: #ffffff !important;
    border: 2px solid rgba(255, 0, 100, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out both;
}

.portfolio-card:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-card:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-card:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-card:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-card:nth-child(5) {
    animation-delay: 0.5s;
}

.portfolio-card:nth-child(6) {
    animation-delay: 0.6s;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: #ff0064 !important;
    box-shadow: 0 15px 35px rgba(255, 0, 100, 0.3);
}

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
}

.portfolio-image {
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay .btn-light {
    background: #ffffff;
    color: #1f2937;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-overlay .btn-light:hover {
    background: #ff0064;
    color: #ffffff;
    transform: scale(1.05);
}

.portfolio-card .badge {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.portfolio-card h3 {
    color: #111827;
    transition: color 0.3s ease;
}

.portfolio-card:hover h3 {
    color: #ff0064;
}

.portfolio-section .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.3);
}

.portfolio-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.4);
}

/* ============================================
   BLOG SECTION (Recent Posts)
   ============================================ */

.blog-section {
    position: relative;
}

.blog-section h2 {
    color: #111827;
    font-weight: 800;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem !important;
}

.blog-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff0064, #ff0064, #ff0064);
    border-radius: 2px;
}

.blog-section .lead {
    color: #6b7280 !important;
    font-size: 1.1rem;
}

.blog-card {
    background: #ffffff !important;
    border: 2px solid rgba(255, 0, 100, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    animation: fadeInUp 0.8s ease-out both;
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-card:nth-child(4) {
    animation-delay: 0.4s;
}

.blog-card:nth-child(5) {
    animation-delay: 0.5s;
}

.blog-card:nth-child(6) {
    animation-delay: 0.6s;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #ff0064 !important;
    box-shadow: 0 15px 35px rgba(255, 0, 100, 0.3);
}

.blog-image {
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-meta {
    color: #6b7280;
    font-size: 0.875rem;
}

.blog-card h3 a {
    color: #111827;
    transition: color 0.3s ease;
}

.blog-card:hover h3 a {
    color: #ff0064;
}

.blog-card .text-muted {
    color: #6b7280 !important;
    line-height: 1.7;
}

.blog-card .btn-outline-primary {
    border-color: #ff0064;
    color: #ff0064;
    transition: all 0.3s ease;
}

.blog-card .btn-outline-primary:hover {
    background: #ff0064;
    color: #ffffff;
    transform: translateX(5px);
}

[dir="rtl"] .blog-card .btn-outline-primary:hover {
    transform: translateX(-5px);
}

.blog-section .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.3);
}

.blog-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.4);
}

/* Responsive Styles for Light Pattern Sections */
@media (max-width: 991.98px) {
    .pages-cards-section h2,
    .portfolio-section h2,
    .blog-section h2,
    .about-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .pages-cards-section,
    .about-section,
    .portfolio-section,
    .blog-section {
        padding: 3rem 0 !important;
    }
    
    .pages-cards-section h2,
    .portfolio-section h2,
    .blog-section h2,
    .about-section h2 {
        font-size: 1.75rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .pages-cards-section h2,
    .portfolio-section h2,
    .blog-section h2,
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .page-card,
    .portfolio-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
}

/* Container Fluid Support */
@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}

/* Desktop/PC View - Reduced Height */
@media (min-width: 992px) {
    .hero-section {
        max-height: 60vh;
        min-height: 500px;
    }
    
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 100%;
        max-height: 60vh;
        min-height: 500px;
    }
    
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: 60vh;
        min-height: 500px;
    }
    
    .hero-section .carousel-caption {
        position: absolute;
        bottom: 15%;
        left: 0;
        right: 0;
        padding-bottom: 2rem;
        z-index: 10;
    }
    
.hero-title {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    font-family: var(--font-arabic) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[dir="ltr"] .hero-title,
.hero-title:not([dir="rtl"]) {
    font-family: var(--font-english) !important;
}
    
.hero-description {
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    letter-spacing: -0.01em !important;
    font-family: var(--font-arabic) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[dir="ltr"] .hero-description,
.hero-description:not([dir="rtl"]) {
    font-family: var(--font-english) !important;
}
}

/* Large Desktop View */
@media (min-width: 1400px) {
    .hero-section {
        max-height: 65vh;
        min-height: 550px;
    }
    
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        max-height: 65vh;
        min-height: 550px;
    }
    
    .hero-image {
        max-height: 65vh;
        min-height: 550px;
    }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        max-height: 70vh;
        min-height: 450px;
    }
    
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        max-height: 70vh;
        min-height: 450px;
    }
    
    .hero-image {
        max-height: 70vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
}

/* Mobile View - Increased Height */
@media (max-width: 767.98px) {
    .hero-section {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-image {
        height: 70vh;
        min-height: 400px;
        object-fit: cover;
    }
    
    .hero-section .carousel-caption {
        position: absolute;
        bottom: 15%;
        left: 0;
        right: 0;
        padding: 1.5rem;
        display: block !important;
        z-index: 10;
    }
    
    .hero-section .carousel-caption .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 1.25rem !important;
        color: #ffffff !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
    }
    
    .hero-button {
        padding: 0.75rem 1.75rem !important;
        font-size: 0.95rem !important;
        display: inline-block;
    }
}

/* Extra Small Mobile */
@media (max-width: 575.98px) {
    .hero-section {
        height: 65vh;
        min-height: 350px;
    }
    
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 65vh;
        min-height: 350px;
    }
    
    .hero-image {
        height: 65vh;
        min-height: 350px;
    }
    
    .hero-section .carousel-caption {
        bottom: 10%;
        padding: 1.25rem;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .hero-button {
        padding: 0.625rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
}

/* Hero Section Animations */
.hero-section .carousel-item {
    animation: fadeIn 0.8s ease-in-out;
}

.hero-section .carousel-item.active .hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section .carousel-item.active .hero-description {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-section .carousel-item.active .hero-button {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hero Carousel Controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 0, 100, 0.8);
    transform: translateY(-50%) scale(1.1);
    animation: none;
}

.hero-section .carousel-control-prev {
    left: 20px;
}

.hero-section .carousel-control-next {
    right: 20px;
}

/* Hero Carousel Indicators */
.hero-section .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background: #ff0064;
    border-color: #ff0064;
    width: 30px;
    border-radius: 6px;
    animation: pulse 2s infinite;
}

/* ============================================
   ADDITIONAL ANIMATIONS & EFFECTS
   ============================================ */

/* Section Title Animations */
.pages-cards-section h2,
.portfolio-section h2,
.blog-section h2,
.about-section h2,
.services-section h2,
.stats-section h3 {
    animation: fadeInDown 0.8s ease-out;
}

/* Footer Widget Animations */
.footer-widget {
    animation: fadeInUp 0.8s ease-out both;
}

.footer-widget:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-widget:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-widget:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-widget:nth-child(4) {
    animation-delay: 0.4s;
}

/* Floating Buttons Animation */
.floating-btn {
    animation: fadeInRight 0.8s ease-out both;
}

.floating-btn-whatsapp {
    animation-delay: 0.2s;
}

.floating-btn-call {
    animation-delay: 0.4s;
}

.floating-btn:hover {
    animation: pulse 1s infinite;
}

/* Back to Top Button Animation */
.back-to-top {
    animation: fadeInLeft 0.8s ease-out;
}

.back-to-top:hover {
    animation: pulse 1s infinite;
}

/* Image Hover Effects */
img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Shimmer Effect for Cards */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Hero Section */
.about-hero-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
    padding: 4rem 0 !important;
}

.about-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 16px;
}

.about-hero-image:hover img {
    transform: scale(1.05);
}

.about-hero-content {
    padding: 2rem 0;
}

.about-page-title {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.2;
    font-family: var(--font-arabic);
    animation: fadeInRight 0.8s ease-out;
}

[dir="ltr"] .about-page-title,
.about-page-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.about-page-description {
    color: #374151;
    line-height: 1.9;
    font-size: 1.15rem;
    font-weight: 400;
}

/* About Details Section */
.about-details-section {
    background-color: #ffffff;
    position: relative;
}

.about-details-section h2 {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-family: var(--font-arabic);
}

[dir="ltr"] .about-details-section h2,
.about-details-section h2:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 100, 0.2);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.1);
}

/* About Achievements Section */
.about-achievements-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
}

.about-achievements-section h2 {
    color: #111827;
    font-weight: 900;
    font-family: var(--font-arabic);
}

[dir="ltr"] .about-achievements-section h2,
.about-achievements-section h2:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.achievement-card {
    background: #ffffff;
    border: 2px solid rgba(255, 0, 100, 0.2);
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: #ff0064;
    box-shadow: 0 15px 35px rgba(255, 0, 100, 0.3);
}

.achievement-icon {
    animation: float 3s ease-in-out infinite;
}

.achievement-card:hover .achievement-icon {
    animation: pulse 1s infinite;
}

.achievement-icon i {
    color: #ff0064;
    transition: all 0.4s ease;
}

.achievement-card:hover .achievement-icon i {
    transform: rotate(360deg);
    color: #e6005a;
}

.achievement-number {
    color: #111827;
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: -0.03em;
    transition: all 0.4s ease;
}

.achievement-card:hover .achievement-number {
    color: #ff0064;
    transform: scale(1.1);
}

.achievement-text {
    color: #6b7280;
    font-weight: 500;
    font-size: 1rem;
}

/* About Team Section */
.about-team-section {
    background-color: #ffffff;
    position: relative;
}

.about-team-section h2 {
    color: #111827;
    font-weight: 900;
    font-family: var(--font-arabic);
}

[dir="ltr"] .about-team-section h2,
.about-team-section h2:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.team-card {
    background: #ffffff !important;
    border: 2px solid rgba(255, 0, 100, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #ff0064 !important;
    box-shadow: 0 15px 35px rgba(255, 0, 100, 0.3);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-card h3 {
    color: #111827;
    transition: color 0.3s ease;
}

.team-card:hover h3 {
    color: #ff0064;
}

.team-card .text-primary {
    color: #ff0064 !important;
    font-weight: 600;
}

/* Homepage CTA Section */
.cta-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
    padding: 5rem 0 !important;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section .cta-card {
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.1), rgba(255, 0, 100, 0.05));
    border: 3px solid rgba(255, 0, 100, 0.3);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(255, 0, 100, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section .cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 100, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

.cta-section .cta-content {
    position: relative;
    z-index: 1;
}

.cta-section .cta-title {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-family: var(--font-arabic);
    animation: fadeInDown 0.8s ease-out;
    text-shadow: 0 2px 10px rgba(255, 0, 100, 0.1);
}

[dir="ltr"] .cta-section .cta-title,
.cta-section .cta-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.cta-section .cta-description {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-section .cta-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-section .cta-button-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section .cta-button-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-section .cta-button-primary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-section .cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 100, 0.5);
}

.cta-section .cta-button-secondary {
    border: 2px solid #ff0064;
    color: #ff0064;
    background: transparent;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-section .cta-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 100, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-section .cta-button-secondary:hover::before {
    left: 100%;
}

.cta-section .cta-button-secondary:hover {
    background: #ff0064;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 100, 0.3);
}

.cta-section .cta-button-whatsapp {
    background: linear-gradient(135deg, #25d366, #20ba5a);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.cta-section .cta-button-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #20ba5a, #1da851);
}

.cta-section .cta-button-primary i,
.cta-section .cta-button-secondary i,
.cta-section .cta-button-whatsapp i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-section .cta-button-primary:hover i,
.cta-section .cta-button-secondary:hover i,
.cta-section .cta-button-whatsapp:hover i {
    transform: scale(1.2);
}

/* Responsive CTA Section */
@media (max-width: 991.98px) {
    .cta-section {
        padding: 4rem 0 !important;
    }
    
    .cta-section .cta-card {
        padding: 3.5rem 2.5rem !important;
    }
    
    .cta-section .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-section .cta-description {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 3rem 0 !important;
    }
    
    .cta-section .cta-card {
        padding: 3rem 2rem !important;
    }
    
    .cta-section .cta-title {
        font-size: 2rem;
    }
    
    .cta-section .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem !important;
    }
    
    .cta-section .cta-button-primary,
    .cta-section .cta-button-secondary,
    .cta-section .cta-button-whatsapp {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .cta-section {
        padding: 2.5rem 0 !important;
    }
    
    .cta-section .cta-card {
        padding: 2.5rem 1.5rem !important;
    }
    
    .cta-section .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1rem !important;
    }
    
    .cta-section .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .cta-section .cta-button-primary,
    .cta-section .cta-button-secondary,
    .cta-section .cta-button-whatsapp {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* About Gallery Section */
.about-gallery-section {
    background-color: #ffffff;
    position: relative;
}

.gallery-item-wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.gallery-item-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.gallery-item-link {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.gallery-image {
    transition: transform 0.5s ease, filter 0.3s ease;
    will-change: transform;
}

.gallery-item-wrapper:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.gallery-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item-wrapper:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content i {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.gallery-overlay-content p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Gallery Page Hero Section */
.gallery-hero-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
    padding: 4rem 0 !important;
}

.gallery-page-title {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-family: var(--font-arabic);
}

[dir="ltr"] .gallery-page-title,
.gallery-page-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.gallery-page-description {
    color: #374151;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Filter Section */
.gallery-filter-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gallery-filters {
    gap: 0.75rem;
}

.gallery-filter-btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-width: 2px;
    position: relative;
    overflow: hidden;
}

.gallery-filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 0, 100, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.gallery-filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.gallery-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 100, 0.3);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border-color: #ff0064;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.4);
}

.gallery-filter-btn.active .badge {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff;
}

.gallery-filter-btn .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Gallery Grid Section */
.gallery-grid-section {
    background-color: #ffffff;
    min-height: 400px;
}

.gallery-item {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    display: none !important;
    opacity: 0;
    transform: scale(0.8);
}

.gallery-item.show {
    animation: fadeInUp 0.5s ease forwards;
}

/* Gallery Modal */
#galleryModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#galleryModal .modal-header {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    color: #fff;
}

#galleryModal .btn-close {
    filter: brightness(0) invert(1);
}

#galleryModal .modal-body img {
    max-height: 75vh;
    object-fit: contain;
    background: #f8f9fa;
}

#galleryModal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.gallery-modal-image-wrapper {
    position: relative;
    background: #f8f9fa;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

.gallery-nav-btn i {
    font-size: 1.5rem;
    color: #111827;
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Gallery Empty State */
.gallery-empty-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Gallery */
@media (max-width: 991.98px) {
    .gallery-hero-section {
        padding: 3rem 0 !important;
    }
    
    .gallery-page-title {
        font-size: 2.5rem;
    }
    
    .gallery-image {
        height: 250px !important;
    }
    
    .gallery-filter-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .gallery-hero-section {
        padding: 2.5rem 0 !important;
    }
    
    .gallery-page-title {
        font-size: 2rem;
    }
    
    .gallery-page-description {
        font-size: 1.1rem;
    }
    
    .gallery-image {
        height: 220px !important;
    }
    
    .gallery-filter-section {
        padding: 1rem 0 !important;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .gallery-filter-btn {
        padding: 0.35rem 1rem;
        font-size: 0.85rem;
    }
    
    .gallery-filter-btn .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav-btn i {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-hero-section {
        padding: 2rem 0 !important;
    }
    
    .gallery-page-title {
        font-size: 1.75rem;
    }
    
    .gallery-image {
        height: 200px !important;
    }
    
    .gallery-grid-section .row {
        margin: 0 -0.5rem;
    }
    
    .gallery-grid-section .col-lg-3,
    .gallery-grid-section .col-md-4,
    .gallery-grid-section .col-sm-6 {
        padding: 0.5rem;
    }
    
    .gallery-modal-image-wrapper {
        min-height: 300px;
    }
    
    #galleryModal .modal-body img {
        max-height: 60vh;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero Section */
.contact-hero-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
    padding: 4rem 0 !important;
}

.contact-page-title {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-family: var(--font-arabic);
}

[dir="ltr"] .contact-page-title,
.contact-page-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.contact-page-description {
    color: #374151;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Content Section */
.contact-content-section {
    background-color: #ffffff;
    padding: 4rem 0 !important;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.1), rgba(255, 0, 100, 0.05));
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h5 {
    color: #111827;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-info-item a {
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #ff0064 !important;
}

/* Contact Form Styles */
.contact-form-card .form-label {
    color: #111827;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #ff0064;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 100, 0.15);
    background-color: #ffffff;
}

.contact-form-card .form-control::placeholder {
    color: #9ca3af;
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form-card .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-form-card .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 100, 0.5);
}

.contact-form-card .btn-primary:active {
    transform: translateY(0);
}

.contact-form-card .invalid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.contact-form-card .was-validated .form-control:invalid {
    border-color: #dc3545;
}

.contact-form-card .was-validated .form-control:valid {
    border-color: #28a745;
}

/* Contact Map Section */
.contact-map-section {
    background-color: #f9fafb;
    padding: 4rem 0 !important;
}

.contact-map-wrapper {
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-map-wrapper iframe {
    border: none;
}

/* Responsive Contact Page */
@media (max-width: 991.98px) {
    .contact-hero-section {
        padding: 3rem 0 !important;
    }
    
    .contact-page-title {
        font-size: 2.5rem;
    }
    
    .contact-content-section {
        padding: 3rem 0 !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero-section {
        padding: 2.5rem 0 !important;
    }
    
    .contact-page-title {
        font-size: 2rem;
    }
    
    .contact-page-description {
        font-size: 1.1rem;
    }
    
    .contact-content-section {
        padding: 2.5rem 0 !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .contact-map-section {
        padding: 2.5rem 0 !important;
    }
    
    .contact-map-wrapper {
        height: 300px !important;
    }
}

@media (max-width: 575.98px) {
    .contact-hero-section {
        padding: 2rem 0 !important;
    }
    
    .contact-page-title {
        font-size: 1.75rem;
    }
    
    .contact-content-section {
        padding: 2rem 0 !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.25rem;
    }
    
    .contact-form-card .btn-primary {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .contact-map-wrapper {
        height: 250px !important;
    }
}

/* Responsive Gallery */
@media (max-width: 991.98px) {
    .gallery-image {
        height: 220px !important;
    }
}

@media (max-width: 767.98px) {
    .gallery-image {
        height: 200px !important;
    }
    
    .gallery-overlay-content i {
        font-size: 2.5rem !important;
    }
    
    .gallery-overlay-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-image {
        height: 180px !important;
    }
    
    .about-gallery-section .row {
        margin: 0 -0.5rem;
    }
    
    .about-gallery-section .col-lg-3,
    .about-gallery-section .col-md-4,
    .about-gallery-section .col-sm-6 {
        padding: 0.5rem;
    }
}

/* About CTA Section */
.about-cta-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
}

.cta-card {
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.1), rgba(255, 0, 100, 0.05));
    border: 2px solid rgba(255, 0, 100, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 0, 100, 0.2);
}

.cta-card h2 {
    color: #111827;
    font-weight: 900;
    font-family: var(--font-arabic);
}

[dir="ltr"] .cta-card h2,
.cta-card h2:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.cta-card .lead {
    color: #374151;
    font-size: 1.2rem;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.3);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.4);
}

.cta-buttons .btn-outline-primary {
    border-color: #ff0064;
    color: #ff0064;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline-primary:hover {
    background: #ff0064;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.3);
}

/* Responsive About Page */
@media (max-width: 991.98px) {
    .about-hero-section {
        padding: 3rem 0 !important;
    }
    
    .about-hero-content {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .about-page-title {
        font-size: 2.5rem;
    }
    
    .about-page-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section {
        padding: 2rem 0 !important;
    }
    
    .about-page-title {
        font-size: 2rem;
    }
    
    .about-page-description {
        font-size: 1rem;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .cta-card {
        padding: 3rem 2rem !important;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .about-page-title {
        font-size: 1.75rem;
    }
    
    .achievement-number {
        font-size: 1.75rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem !important;
    }
    
    .cta-card h2 {
        font-size: 1.75rem;
    }
    
    .cta-card .lead {
        font-size: 1rem;
    }
}

/* ============================================
   DYNAMIC PAGE STYLES
   ============================================ */

/* Page Hero Section */
.page-hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-section.bg-light {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
}

.page-hero-section[style*="background-image"] {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 0;
    transition: opacity 0.3s ease;
}

.page-hero-section:hover .overlay {
    opacity: 0.8;
}

.page-hero-section .container {
    position: relative;
    z-index: 1;
}

.page-hero-section h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.page-hero-section .lead {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Page Content Section */
.page-content-section {
    background-color: #ffffff;
    padding: 5rem 0 !important;
    position: relative;
}

.page-content {
    line-height: 1.9;
    color: #374151;
    font-size: 1.05rem;
}

.page-description {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.05), rgba(255, 0, 100, 0.02));
    border-left: 4px solid #ff0064;
    border-radius: 8px;
    position: relative;
}

.page-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff0064, #e6005a);
    border-radius: 4px 0 0 4px;
}

.page-section-content {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-section-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.page-section-content h2 {
    color: #111827;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff0064;
    position: relative;
    font-weight: 800;
    font-size: 2rem;
}

.page-section-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #e6005a);
    border-radius: 3px;
}

.page-section-content h3 {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.section-content {
    color: #374151;
    line-height: 1.9;
    font-size: 1.05rem;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.section-content ul,
.section-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.section-content li {
    margin-bottom: 0.75rem;
}

.section-content a {
    color: #ff0064;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.section-content a:hover {
    color: #e6005a;
    border-bottom-color: #e6005a;
}

.section-content blockquote {
    border-left: 4px solid #ff0064;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: rgba(255, 0, 100, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Page Cards Section */
.page-section-cards {
    margin-bottom: 4rem;
}

.page-section-cards h2 {
    color: #111827;
    margin-bottom: 2.5rem;
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.page-section-cards h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #e6005a);
    border-radius: 3px;
}

.page-section-cards .card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    border: none;
    height: 100%;
    position: relative;
}

.page-section-cards .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.page-section-cards .card:hover::before {
    opacity: 1;
}

.page-section-cards .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 0, 100, 0.2) !important;
}

.page-section-cards .card-img-top {
    transition: transform 0.5s ease;
}

.page-section-cards .card:hover .card-img-top {
    transform: scale(1.1);
}

.page-section-cards .card-body {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.page-section-cards .card-body h3 {
    color: #111827;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.page-section-cards .card:hover .card-body h3 {
    color: #ff0064;
}

/* Page Gallery Section */
.page-section-gallery {
    margin-bottom: 4rem;
}

.page-section-gallery h2 {
    color: #111827;
    margin-bottom: 2.5rem;
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.page-section-gallery h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #e6005a);
    border-radius: 3px;
}

.page-section-gallery .gallery-item-wrapper {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.page-section-gallery .gallery-item-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.page-section-gallery .gallery-item-wrapper:hover::before {
    opacity: 1;
}

.page-section-gallery .gallery-item-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-section-gallery .gallery-item-wrapper img {
    transition: transform 0.5s ease;
}

.page-section-gallery .gallery-item-wrapper:hover img {
    transform: scale(1.15);
}

/* Page FAQ Section */
.page-section-faq {
    margin-bottom: 4rem;
}

.page-section-faq h2 {
    color: #111827;
    margin-bottom: 2.5rem;
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.page-section-faq h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #e6005a);
    border-radius: 3px;
}

.page-section-faq .accordion-item {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.page-section-faq .accordion-item:hover {
    border-color: #ff0064;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.1);
}

.page-section-faq .accordion-button {
    background-color: #f9fafb;
    font-weight: 700;
    color: #111827;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.page-section-faq .accordion-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff0064;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.page-section-faq .accordion-button:not(.collapsed)::before {
    transform: scaleY(1);
}

.page-section-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    color: #ffffff;
    box-shadow: none;
}

.page-section-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 100, 0.25);
    border-color: transparent;
}

.page-section-faq .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.page-section-faq .accordion-body {
    background-color: #ffffff;
    padding: 2rem;
    color: #374151;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Error 404 Section */
.error-404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.error-404-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 100, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.error-content {
    position: relative;
    z-index: 1;
}

.error-content h1 {
    font-size: 10rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff0064, #e6005a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 0, 100, 0.3);
    animation: float 3s ease-in-out infinite;
}

.error-content h2 {
    color: #111827;
    font-weight: 800;
    margin-bottom: 1rem;
}

.error-content .lead {
    color: #6b7280;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.error-content .btn {
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.3);
    transition: all 0.3s ease;
}

.error-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 100, 0.5);
}

/* Responsive Page Styles */
@media (max-width: 991.98px) {
    .page-hero-section {
        min-height: 300px;
        padding: 3rem 0 !important;
    }
    
    .page-hero-section[style*="background-image"] {
        background-attachment: scroll;
    }
    
    .page-content-section {
        padding: 3rem 0 !important;
    }
    
    .page-description {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .page-section-content {
        padding: 1.5rem;
    }
    
    .page-section-content h2 {
        font-size: 1.75rem;
    }
    
    .page-section-cards h2,
    .page-section-gallery h2,
    .page-section-faq h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .page-hero-section {
        min-height: 250px;
        padding: 2.5rem 0 !important;
    }
    
    .page-hero-section h1 {
        font-size: 2rem;
    }
    
    .page-hero-section .lead {
        font-size: 1rem;
    }
    
    .page-content-section {
        padding: 2.5rem 0 !important;
    }
    
    .page-content {
        font-size: 1rem;
    }
    
    .page-description {
        font-size: 1.05rem;
        padding: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .page-section-content {
        padding: 1.25rem;
        margin-bottom: 3rem;
    }
    
    .page-section-content h2 {
        font-size: 1.5rem;
    }
    
    .page-section-content h3 {
        font-size: 1.2rem;
    }
    
    .page-section-cards h2,
    .page-section-gallery h2,
    .page-section-faq h2 {
        font-size: 1.5rem;
    }
    
    .page-section-faq .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .page-section-faq .accordion-body {
        padding: 1.5rem;
    }
    
    .error-content h1 {
        font-size: 6rem;
    }
    
    .error-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .page-hero-section {
        min-height: 200px;
        padding: 2rem 0 !important;
    }
    
    .page-hero-section h1 {
        font-size: 1.75rem;
    }
    
    .page-hero-section .lead {
        font-size: 0.95rem;
    }
    
    .page-content-section {
        padding: 2rem 0 !important;
    }
    
    .page-description {
        font-size: 1rem;
        padding: 1rem;
        border-left-width: 3px;
    }
    
    .page-section-content {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .page-section-content h2 {
        font-size: 1.35rem;
        padding-bottom: 0.75rem;
    }
    
    .page-section-content h3 {
        font-size: 1.1rem;
    }
    
    .page-section-cards .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .page-section-cards .card-body {
        padding: 1.25rem;
    }
    
    .page-section-cards h2,
    .page-section-gallery h2,
    .page-section-faq h2 {
        font-size: 1.35rem;
        margin-bottom: 2rem;
    }
    
    .page-section-faq .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .page-section-faq .accordion-body {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .error-content h1 {
        font-size: 5rem;
    }
    
    .error-content h2 {
        font-size: 1.25rem;
    }
    
    .error-content .lead {
        font-size: 1rem;
    }
    
    .error-content .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   RELATED BLOG SECTION STYLES
   ============================================ */

.related-blog-section {
    background-color: #f9fafb;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.05) 0, rgba(255, 0, 100, 0.05) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.05) 0, rgba(255, 0, 100, 0.05) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
    padding: 5rem 0 !important;
}

.related-blog-section h2 {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}

.related-blog-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #e6005a);
    border-radius: 3px;
}

.related-blog-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.related-blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.related-blog-card:hover::before {
    opacity: 1;
}

.related-blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 0, 100, 0.25) !important;
}

.related-blog-image {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.related-blog-card:hover .related-blog-image {
    transform: scale(1.1);
    filter: brightness(0.95);
}

.related-blog-card .card-body {
    position: relative;
    z-index: 2;
}

.related-blog-title {
    transition: color 0.3s ease;
    display: block;
    line-height: 1.4;
}

.related-blog-card:hover .related-blog-title {
    color: #ff0064 !important;
}

.related-blog-card .blog-meta {
    font-size: 0.85rem;
}

.related-blog-card .blog-meta i {
    color: #ff0064;
    font-size: 0.9rem;
}

.related-blog-card .btn-outline-primary {
    border: 2px solid #ff0064;
    color: #ff0064;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-blog-card .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 100, 0.2), transparent);
    transition: left 0.5s ease;
}

.related-blog-card .btn-outline-primary:hover::before {
    left: 100%;
}

.related-blog-card .btn-outline-primary:hover {
    background: #ff0064;
    border-color: #ff0064;
    color: #ffffff;
    transform: translateX(5px);
}

.related-blog-section .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.3);
    transition: all 0.3s ease;
}

.related-blog-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 100, 0.5);
}

/* Responsive Related Blog Section */
@media (max-width: 991.98px) {
    .related-blog-section {
        padding: 4rem 0 !important;
    }
    
    .related-blog-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .related-blog-section {
        padding: 3rem 0 !important;
    }
    
    .related-blog-section h2 {
        font-size: 1.75rem;
    }
    
    .related-blog-image {
        height: 200px !important;
    }
    
    .related-blog-card .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .related-blog-section {
        padding: 2.5rem 0 !important;
    }
    
    .related-blog-section h2 {
        font-size: 1.5rem;
    }
    
    .related-blog-image {
        height: 180px !important;
    }
    
    .related-blog-card .card-body {
        padding: 1.25rem !important;
    }
    
    .related-blog-section .btn-primary {
        width: 100%;
        padding: 0.875rem 2rem;
    }
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

/* Blog Hero Section */
.blog-hero-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    position: relative;
    padding: 4rem 0 !important;
}

.blog-page-title {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-family: var(--font-arabic);
}

[dir="ltr"] .blog-page-title,
.blog-page-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

/* Blog Content Section */
.blog-content-section {
    background-color: #ffffff;
    padding: 4rem 0 !important;
}

/* Blog Search Form */
.blog-search-form {
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.05), rgba(255, 0, 100, 0.02));
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 0, 100, 0.1);
}

.blog-search-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-search-form .form-control:focus {
    border-color: #ff0064;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 100, 0.15);
}

.blog-search-form .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.3);
}

.blog-search-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.4);
}

/* Blog Posts Grid */
.blog-posts-grid {
    margin-bottom: 3rem;
}

.blog-post-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.blog-post-card:hover::before {
    opacity: 1;
}

.blog-post-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 0, 100, 0.25) !important;
}

.blog-post-image {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.blog-post-card:hover .blog-post-image {
    transform: scale(1.1);
    filter: brightness(0.95);
}

.blog-post-card .card-body {
    position: relative;
    z-index: 2;
}

.blog-post-meta {
    font-size: 0.85rem;
}

.blog-post-meta i {
    color: #ff0064;
    font-size: 0.9rem;
}

.blog-post-categories .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    transition: all 0.3s ease;
}

.blog-post-categories .badge:hover {
    background: #e6005a !important;
    transform: scale(1.05);
}

.blog-post-title {
    transition: color 0.3s ease;
    display: block;
    line-height: 1.4;
}

.blog-post-card:hover .blog-post-title {
    color: #ff0064 !important;
}

.blog-post-card .btn-outline-primary {
    border: 2px solid #ff0064;
    color: #ff0064;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-post-card .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 100, 0.2), transparent);
    transition: left 0.5s ease;
}

.blog-post-card .btn-outline-primary:hover::before {
    left: 100%;
}

.blog-post-card .btn-outline-primary:hover {
    background: #ff0064;
    border-color: #ff0064;
    color: #ffffff;
    transform: translateX(5px);
}

/* Blog Empty State */
.blog-empty-state {
    padding: 4rem 2rem;
    background: #f9fafb;
    border-radius: 16px;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sidebar-widget h3 {
    color: #111827;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff0064;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #e6005a);
    border-radius: 3px;
}

.sidebar-widget ul {
    margin: 0;
}

.sidebar-widget li a {
    transition: all 0.3s ease;
    display: block;
}

.sidebar-widget li a:hover {
    background: rgba(255, 0, 100, 0.1) !important;
    transform: translateX(5px);
}

.sidebar-widget li a.bg-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a) !important;
    color: #ffffff !important;
}

.recent-post-thumb {
    transition: transform 0.3s ease;
}

.sidebar-widget li:hover .recent-post-thumb {
    transform: scale(1.1);
}

.recent-post-title {
    transition: color 0.3s ease;
}

.sidebar-widget li:hover .recent-post-title {
    color: #ff0064;
}

/* Blog Pagination */
.pagination {
    margin-top: 3rem;
}

.pagination .page-link {
    color: #ff0064;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #ff0064;
    border-color: #ff0064;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border-color: #ff0064;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.4);
}

.pagination .page-item.disabled .page-link {
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Responsive Blog Page */
@media (max-width: 991.98px) {
    .blog-hero-section {
        padding: 3rem 0 !important;
    }
    
    .blog-content-section {
        padding: 3rem 0 !important;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .sidebar-widget {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .blog-hero-section {
        padding: 2.5rem 0 !important;
    }
    
    .blog-page-title {
        font-size: 2rem;
    }
    
    .blog-content-section {
        padding: 2.5rem 0 !important;
    }
    
    .blog-search-form {
        padding: 1.5rem;
    }
    
    .blog-search-form .form-control,
    .blog-search-form .btn-primary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .blog-post-image {
        height: 200px !important;
    }
    
    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .blog-hero-section {
        padding: 2rem 0 !important;
    }
    
    .blog-page-title {
        font-size: 1.75rem;
    }
    
    .blog-content-section {
        padding: 2rem 0 !important;
    }
    
    .blog-search-form {
        padding: 1.25rem;
    }
    
    .blog-post-image {
        height: 180px !important;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        margin: 0.15rem;
    }
}

/* ============================================
   BLOG SINGLE PAGE STYLES
   ============================================ */

/* Blog Single Hero Section */
.blog-single-hero-section {
    background-color: #fafafa !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.1) 0, rgba(255, 0, 100, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    padding: 2rem 0 !important;
}

.blog-single-hero-section .breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-single-hero-section .breadcrumb-item a {
    color: #ff0064;
    transition: color 0.3s ease;
}

.blog-single-hero-section .breadcrumb-item a:hover {
    color: #e6005a;
}

/* Blog Single Content Section */
.blog-single-content-section {
    background-color: #ffffff;
    padding: 3rem 0 !important;
}

/* Blog Single Article */
.blog-single-article {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-single-header {
    margin-bottom: 2rem;
}

.blog-single-categories .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.blog-single-categories .badge:hover {
    background: #e6005a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 0, 100, 0.3);
}

.blog-single-title {
    color: #111827;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--font-arabic);
}

[dir="ltr"] .blog-single-title,
.blog-single-title:not([dir="rtl"]) {
    font-family: var(--font-english);
}

.blog-single-meta {
    color: #6b7280;
    font-size: 0.95rem;
}

.blog-single-meta .meta-item {
    display: flex;
    align-items: center;
}

.blog-single-meta i {
    font-size: 1.1rem;
}

/* Featured Image */
.blog-single-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.blog-single-featured-image img {
    transition: transform 0.5s ease;
}

.blog-single-featured-image:hover img {
    transform: scale(1.05);
}

/* Excerpt */
.blog-single-excerpt {
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.05), rgba(255, 0, 100, 0.02));
    border-radius: 12px;
    padding: 1.5rem;
}

.blog-single-excerpt .lead {
    margin: 0;
    color: #374151;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Post Content */
.blog-single-content {
    color: #374151;
    line-height: 1.9;
    font-size: 1.05rem;
}

.post-content-wrapper {
    word-wrap: break-word;
}

.post-content-wrapper h1,
.post-content-wrapper h2,
.post-content-wrapper h3,
.post-content-wrapper h4,
.post-content-wrapper h5,
.post-content-wrapper h6 {
    color: #111827;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content-wrapper h2 {
    font-size: 2rem;
    border-bottom: 3px solid #ff0064;
    padding-bottom: 0.5rem;
}

.post-content-wrapper h3 {
    font-size: 1.5rem;
}

.post-content-wrapper p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-content-wrapper ul,
.post-content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content-wrapper li {
    margin-bottom: 0.75rem;
}

.post-content-wrapper blockquote {
    border-left: 4px solid #ff0064;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
}

.post-content-wrapper code {
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e6005a;
}

.post-content-wrapper pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content-wrapper pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.post-content-wrapper a {
    color: #ff0064;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content-wrapper a:hover {
    color: #e6005a;
}

.post-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.post-content-wrapper table th,
.post-content-wrapper table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.post-content-wrapper table th {
    background: #ff0064;
    color: #ffffff;
    font-weight: 600;
}

.post-content-wrapper table tr:nth-child(even) {
    background: #f9fafb;
}

/* Post Footer */
.blog-single-footer {
    border-top: 2px solid #e5e7eb;
}

.post-tags .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.post-tags .badge:hover {
    background: #ff0064 !important;
    transform: translateY(-2px);
}

.post-share .btn {
    transition: all 0.3s ease;
}

.post-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Blog Single Sidebar */
.blog-single-sidebar {
    position: sticky;
    top: 100px;
}

.blog-single-sidebar .sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.blog-single-sidebar .sidebar-widget h3 {
    color: #111827;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff0064;
    position: relative;
}

.blog-single-sidebar .sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #e6005a);
    border-radius: 3px;
}

.related-post-thumb {
    transition: transform 0.3s ease;
}

.blog-single-sidebar li:hover .related-post-thumb {
    transform: scale(1.1);
}

.related-post-title {
    transition: color 0.3s ease;
}

.blog-single-sidebar li:hover .related-post-title {
    color: #ff0064;
}

/* Related Posts Section */
.blog-single-related-section {
    background-color: #f9fafb !important;
    padding: 4rem 0 !important;
}

.blog-single-related-section h2 {
    color: #111827;
    font-weight: 900;
}

/* Error Section */
.blog-single-error-section {
    background-color: #ffffff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Responsive Blog Single */
@media (max-width: 991.98px) {
    .blog-single-article {
        padding: 2rem;
    }
    
    .blog-single-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .blog-single-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .blog-single-hero-section {
        padding: 1.5rem 0 !important;
    }
    
    .blog-single-content-section {
        padding: 2rem 0 !important;
    }
    
    .blog-single-article {
        padding: 1.5rem;
    }
    
    .blog-single-title {
        font-size: 1.75rem;
    }
    
    .blog-single-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .post-content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .post-content-wrapper h3 {
        font-size: 1.25rem;
    }
    
    .blog-single-footer .row {
        flex-direction: column;
    }
    
    .blog-single-footer .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .blog-single-footer .text-md-end {
        text-align: left !important;
    }
}

@media (max-width: 575.98px) {
    .blog-single-hero-section {
        padding: 1rem 0 !important;
    }
    
    .blog-single-hero-section .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .blog-single-article {
        padding: 1.25rem;
    }
    
    .blog-single-title {
        font-size: 1.5rem;
    }
    
    .blog-single-excerpt .lead {
        font-size: 1rem;
    }
    
    .post-content-wrapper {
        font-size: 1rem;
    }
    
    .blog-single-sidebar .sidebar-widget {
        padding: 1.5rem;
    }
}

/* ============================================
   BLOG COMMENTS SECTION STYLES
   ============================================ */

/* Comments Section */
.blog-comments-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.comments-header h2 {
    color: #111827;
    font-weight: 900;
}

/* Comments List */
.comments-list {
    margin-bottom: 3rem;
}

.comment-item {
    animation: fadeInUp 0.5s ease;
}

.comment-item .card {
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.comment-item:hover .card {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-header {
    margin-bottom: 1rem;
}

.comment-avatar .avatar-circle {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    box-shadow: 0 4px 10px rgba(255, 0, 100, 0.3);
    transition: transform 0.3s ease;
}

.comment-item:hover .avatar-circle {
    transform: scale(1.1);
}

.comment-author-name {
    color: #111827;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.comment-author-name a {
    color: #111827;
    transition: color 0.3s ease;
}

.comment-author-name a:hover {
    color: #ff0064;
}

.comment-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.comment-text {
    color: #374151;
    line-height: 1.8;
    font-size: 1rem;
}

.comment-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.reply-comment-btn {
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.reply-comment-btn:hover {
    background: #ff0064;
    border-color: #ff0064;
    color: #ffffff;
    transform: translateX(3px);
}

/* Comment Replies (Nested) */
.comment-replies {
    margin-top: 1.5rem;
    padding-left: 2rem;
    border-left: 3px solid #e5e7eb;
}

.comment-reply {
    margin-left: 1rem;
}

.comment-reply .card {
    background: #f9fafb;
}

.comment-reply .comment-replies {
    border-left-color: #d1d5db;
}

/* No Comments State */
.no-comments {
    background: #f9fafb;
    border-radius: 12px;
    padding: 3rem 2rem;
}

/* Comment Form */
.comment-form-wrapper {
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.05), rgba(255, 0, 100, 0.02));
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 0, 100, 0.1);
}

.comment-form-wrapper h3 {
    color: #111827;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.reply-to-comment {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.comment-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.comment-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: #ff0064;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 100, 0.15);
    outline: none;
}

.comment-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.comment-form .btn-primary {
    background: linear-gradient(135deg, #ff0064, #e6005a);
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 100, 0.3);
}

.comment-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 100, 0.4);
}

/* Responsive Comments */
@media (max-width: 767.98px) {
    .blog-comments-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .comment-form-wrapper {
        padding: 1.5rem;
    }
    
    .comment-replies {
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
    
    .comment-item .card-body {
        padding: 1.5rem !important;
    }
    
    .comment-avatar .avatar-circle {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .comment-form-wrapper {
        padding: 1.25rem;
    }
    
    .comment-replies {
        padding-left: 0.5rem;
    }
    
    .comment-item .card-body {
        padding: 1.25rem !important;
    }
}

/* ============================================
   SEARCH PAGE STYLES
   ============================================ */

.search-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.search-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 100, 0.05) 0, rgba(255, 0, 100, 0.05) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 0, 100, 0.05) 0, rgba(255, 0, 100, 0.05) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    pointer-events: none;
}

.search-form-wrapper {
    max-width: 800px;
}

.search-form-wrapper .form-control {
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1.1rem;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.search-form-wrapper .form-control:focus {
    border-color: #ff0064;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 100, 0.25);
}

.search-form-wrapper .btn {
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-results-section {
    background: #ffffff;
}

.results-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.search-results-category {
    margin-bottom: 3rem;
}

.search-results-category h3 {
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff0064;
    display: inline-block;
    width: 100%;
}

.search-result-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.search-result-card img {
    transition: transform 0.3s ease;
}

.search-result-card:hover img {
    transform: scale(1.05);
}

.search-result-card .card-body {
    padding: 1.5rem;
}

.search-result-card h4 a {
    color: #212529;
    transition: color 0.3s ease;
}

.search-result-card h4 a:hover {
    color: #ff0064;
}

.result-meta {
    font-size: 0.875rem;
    color: #6c757d;
}

.search-result-card mark {
    background-color: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.no-results {
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-results .suggestions {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.no-results .suggestions ul {
    padding-left: 1.5rem;
}

.no-results .suggestions li {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

/* Responsive Search */
@media (max-width: 768px) {
    .search-hero-section {
        padding: 3rem 0 !important;
    }
    
    .search-hero-section h1 {
        font-size: 2rem;
    }
    
    .search-form-wrapper {
        max-width: 100%;
    }
    
    .search-form-wrapper .form-control,
    .search-form-wrapper .btn {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .search-result-card {
        margin-bottom: 1.5rem;
    }
}

