/*!
 * Unified Site Styles for Non-Profit Real Estate Organization
 * Combining base styles and modern home page design
 * Brand Colors: #59080F (Dark), #595859 (Gray), #BFBFBF (Light), #8C0F1A (Accent)
 */

/* ==========================================================================
   FONTS & CSS VARIABLES
   ========================================================================== */

@font-face {
    font-family: 'Akarius';
    src: url('../fonts/Akarius.woff2') format('woff2'),
        url('../fonts/Akarius.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Droid Arabic Kufi';
    src: url('../fonts/DroidArabicKufi-Bold.woff2') format('woff2'),
        url('../fonts/DroidArabicKufi-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Droid Arabic Kufi';
    src: url('../fonts/DroidArabicKufi.woff2') format('woff2'),
        url('../fonts/DroidArabicKufi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables for consistent brand theming */
:root {
    /* Core Brand Colors */
    --black: #000000;
    --black-2: #000001;
    --burgundy: #7a2529;
    --rosewood: #5c080b;
    --davys-gray: #4e4c4d;
    --silver: #c1bebe;
    --cinereous: #977e7f;
    --silver-2: #b9b9b9;
    --white: #ffffff;
    
    /* Primary Theme Colors */
    --primary-color: var(--rosewood);
    --secondary-color: var(--silver);
    --accent-color: var(--burgundy);
    --text-dark: var(--davys-gray);
    --text-light: var(--cinereous);
    
    /* Brand Gradients */
    --gradient-primary: linear-gradient(135deg, var(--rosewood) 0%, var(--burgundy) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--silver) 0%, var(--silver-2) 100%);
    --gradient-dark: linear-gradient(135deg, var(--davys-gray) 0%, var(--black-2) 100%);
    --gradient-radial: radial-gradient(circle, var(--silver) 0%, var(--cinereous) 50%, var(--davys-gray) 100%);
    
    /* Shadow Colors with New Palette */
    --shadow-light: 0 2px 15px rgba(92,8,11,0.1);
    --shadow-medium: 0 5px 25px rgba(92,8,11,0.15);
    --shadow-heavy: 0 10px 40px rgba(92,8,11,0.2);
    
    /* Layout Variables */
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body { 
    top: 0px !important; 
    font-size: 16px; 
    color: var(--text-dark); 
    direction: rtl; 
    text-align: right; 
    line-height: 1.8; 
    font-family: "Droid Arabic Kufi", serif;
    background: var(--white);
}

*:focus {
    outline: none !important;
}

a {
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

a:hover, a:focus {
    color: var(--accent-color); 
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-weight: bold; 
    color: var(--text-dark);
}

svg {
    fill: currentColor;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

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

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

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.element-hover {
    transition: var(--transition);
}

.element-hover:hover {
    z-index: 2; 
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.rounded-lg {
    border-radius: var(--border-radius) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-heavy) !important;
}

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

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

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-secondary {
    background: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Brand Color Specific Utilities */
.text-brand-dark { color: #59080F !important; }
.text-brand-light { color: #BFBFBF !important; }
.text-brand-accent { color: #8C0F1A !important; }
.text-brand-gray { color: #595859 !important; }
.bg-brand-dark { background-color: #59080F !important; }
.bg-brand-light { background-color: #BFBFBF !important; }
.bg-brand-accent { background-color: #8C0F1A !important; }
.bg-brand-gray { background-color: #595859 !important; }
.bg-gradient-brand { background: var(--gradient-primary) !important; }
.bg-gradient-brand-dark { background: var(--gradient-dark) !important; }

/* ==========================================================================
   SCROLLBAR STYLING
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3a0509 0%, #5c0a11 100%);
}

/* ==========================================================================
   SECTION LABELS & TITLES
   ========================================================================== */

.section-label {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description, .section-intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.section-sub-title {
    font-size: 20px; 
    color: var(--text-light);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    border: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    padding: 12px 30px;
}

.btn-primary { 
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(92,8,11,0.3);
    color: var(--white);
}

.btn-primary:hover { 
    background: linear-gradient(135deg, #3a0509 0%, #5c0a11 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92,8,11,0.4);
    color: var(--white);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-outline-light {
    border: 2px solid var(--white);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#header {
    position: absolute; 
    width: 98%; 
    z-index: 99; 
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 5px;
    margin: 10px;
    box-shadow: var(--shadow-light);
}

#header .wrapper {
    padding: 1rem 2rem;
}

#header nav a {
    font-size: 16px; 
    font-weight: 600; 
    margin-left: 1.3rem; 
    color: var(--primary-color);
    transition: var(--transition);
}

#header nav a:hover {
    color: var(--accent-color);
}

#header .logo img {
    width: 80px; 
    border-radius: 15%;
    transition: var(--transition);
}

#header .logo img:hover {
    transform: scale(1.05);
}

#header .navbar-nav {
    padding: 0;
}

/* ==========================================================================
   CSS NATIVE ANIMATIONS (NO JAVASCRIPT)
   ========================================================================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
    opacity: 0;
}

/* Animation Delays */
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* Hover Animations */
.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);
}

/* Card Hover Effects */
.service-card, .project-card, .partner-card, .value-card-v2 {
    transition: all 0.3s ease;
}

.service-card:hover, .project-card:hover, .partner-card:hover, .value-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Button Hover Animations */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Icon Animations */
.icon-circle {
    transition: all 0.3s ease;
}

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

/* Text Animations */
.section-title, .section-title-v2 {
    position: relative;
    overflow: hidden;
}

.section-title::after, .section-title-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.8s ease;
}

.section-title:hover::after, .section-title-v2:hover::after {
    width: 100%;
}

/* Progress Bar Animation */
.progress-indicator {
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 2s ease;
    margin-top: 1rem;
}

.value-card-v2:hover .progress-indicator {
    width: 100%;
}

/* Floating Animation for Badges */
.floating-badge {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Entrance Animations for Statistics */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.stat-card:hover .stat-icon {
    color: var(--white);
    transform: scale(1.2);
}

/* Responsive Animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   END ANIMATIONS SECTION
   ========================================================================== */

.navbar-light .navbar-brand { 
    width: 200px; 
}

/* Mega Menu Dropdown Styles */
.dropdown-menu {
    color: var(--primary-color);
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 0.5rem;
    min-width: 800px;
    max-width: 1000px;
    font-family: 'Droid Arabic Kufi', sans-serif;
    z-index: 1000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Click-based behavior for mega menu */
.dropdown.show .dropdown-menu {
    display: flex !important;
    animation: megaMenuSlideDown 0.3s ease forwards;
}

/* Hide dropdown menu by default */
.dropdown-menu {
    display: none !important;
    opacity: 0;
    transform: translateY(-10px);
}

/* Mega menu animation */
@keyframes megaMenuSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Submenu content is now controlled by .active class on individual submenus */

/* Dropdown toggle styling for click interaction */
.dropdown-toggle {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.dropdown-toggle:hover {
    color: var(--primary-color) !important;
}

.dropdown.show .dropdown-toggle {
    color: var(--white) !important;
    background: var(--primary-color) !important;
    border-radius: 4px;
}

.dropdown-item {
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    background: none;
    direction: rtl !important;
    text-align: right !important;
    display: block;
    font-family: 'Droid Arabic Kufi', sans-serif;
    border-radius: 6px;
    margin: 2px 8px;
    position: relative;
    unicode-bidi: normal;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1001;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white) !important;
    text-decoration: none;
    transform: translateX(-3px);
    box-shadow: 0 2px 8px rgba(92, 8, 11, 0.15);
}

.dropdown-item i {
    color: var(--accent-color);
    transition: color 0.3s ease;
    font-size: 14px;
    float: right;
    margin-left: 8px;
}

/* Ensure dropdown items work as links */
.dropdown-item a,
.dropdown-item button {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: inherit;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    pointer-events: auto;
}

.dropdown-item a:hover,
.dropdown-item button:hover {
    color: inherit;
    text-decoration: none;
}

.dropdown-item:hover i {
    color: var(--white);
}

.dropdown-header {
    direction: rtl;
    text-align: right;
    font-family: 'Droid Arabic Kufi', sans-serif;
    font-weight: bold;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    margin: 0.25rem 0.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 2px 8px rgba(92, 8, 11, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.dropdown-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--white);
    opacity: 0.3;
}

.dropdown-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--white) 50%, transparent 100%);
    opacity: 0.5;
}

.dropdown-divider {
    border-color: rgba(92,8,11,0.1);
    margin: 0.5rem 0;
}

.dropdown-toggle::after {
    margin-right: 0.5rem;
}

/* Mega Menu Column Styles */
.dropdown-submenu {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

/* Mega Menu Column Header - Clickable */
.dropdown-submenu > .dropdown-item {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    margin: 0 0 1rem 0;
    border-radius: 8px;
    display: block;
    text-align: center;
    cursor: pointer;
    position: relative;
    border: none;
    box-shadow: 0 4px 15px rgba(92, 8, 11, 0.2);
    transition: all 0.3s ease;
    user-select: none;
}

.dropdown-submenu > .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 8, 11, 0.3);
}

/* Add chevron indicator */
.dropdown-submenu > .dropdown-item::after {
    content: ""; /* Font Awesome angle-down (smaller arrow) */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 40%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.dropdown-submenu.active > .dropdown-item::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Governance count badge styling */
.dropdown-submenu > .dropdown-item .badge {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-submenu > .dropdown-item:hover .badge {
    background-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Mega Menu Column Content - Collapsible */
.dropdown-submenu-content {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: none;
    position: static;
    z-index: auto;
    transition: all 0.3s ease;
    min-width: auto;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
}

/* Show submenu content when active */
.dropdown-submenu.active .dropdown-submenu-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 1000px !important;
    animation: slideDownContent 0.3s ease forwards;
}

/* Fallback rule for active submenu */
.dropdown-submenu.active > .dropdown-submenu-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 1000px !important;
}

@keyframes slideDownContent {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Mega Menu Items */
.dropdown-subitem {
    padding: 0.75rem 1rem;
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    border-radius: 6px;
    white-space: normal;
    line-height: 1.4;
    background: rgba(92, 8, 11, 0.05);
    border: 1px solid rgba(92, 8, 11, 0.1);
    transition: all 0.3s ease;
    display: block;
    color: var(--accent-color);
    text-decoration: none;
}

.dropdown-subitem:hover {
    
    color: var(--white) !important;
    text-decoration: none;
    transform: translateX(-3px);
    box-shadow: 0 3px 12px rgba(92, 8, 11, 0.2);
    border-color: var(--primary-color);
}

.dropdown-subitem i {
    color: inherit;
    margin-left: 8px;
    font-size: 0.9rem;
}

/* Remove invisible bridge as it's not needed for mega menu */

/* Enhanced styling for "All Governance Files" link */
.dropdown-menu > .dropdown-item[href="/governances"] {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    margin: 1rem 0 0 0;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(92, 8, 11, 0.2);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-menu > .dropdown-item[href="/governances"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(92, 8, 11, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.dropdown-menu > .dropdown-item[href="/governances"]: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;
}

.dropdown-menu > .dropdown-item[href="/governances"]:hover:before {
    left: 100%;
}

.dropdown-menu > .dropdown-item[href="/governances"] i {
    color: var(--white) !important;
    margin-left: 8px;
    font-size: 1.1rem;
}

/* Mega Menu Responsive Behavior */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 90vw;
        max-width: 95vw;
        left: 5vw;
        transform: none;
        flex-direction: column;
        padding: 1rem;
    }
    
    .dropdown-submenu {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

/* Legacy dropdown styles (to be removed) */

/* Mega menu overrides legacy styles */

/* Special styling for "All Governance Files" link */
.dropdown-menu > .dropdown-item[href="/governances"] {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--white) !important;
    font-weight: 600;
    margin: 1rem 0 0 0;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(92, 8, 11, 0.2);
}

.dropdown-menu > .dropdown-item[href="/governances"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 8, 11, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.dropdown-menu > .dropdown-item[href="/governances"] .badge {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    margin-left: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dropdown-menu > .dropdown-item[href="/governances"]:hover .badge {
    background-color: rgba(255, 255, 255, 1) !important;
    transform: scale(1.05);
}

/* End of Mega Menu Styles */

.dropdown-submenu:hover .dropdown-submenu-content {
    transition-delay: 0s;
}

.dropdown-submenu > .dropdown-item .fa-chevron-down {
    transition: transform 0.3s ease;
}

.dropdown-submenu.active > .dropdown-item .fa-chevron-down {
    transform: rotate(180deg);
}

/* ==========================================================================
   CAROUSEL COMPONENTS
   ========================================================================== */

.carousel-indicators-bullets {
    position: static; 
    margin-top: 3rem; 
    padding: 0;
    justify-content: center;
}

.carousel-indicators-bullets.carousel-indicators li {
    border: 2px solid var(--primary-color); 
    width: 12px; 
    height: 12px; 
    border-radius: 100%; 
    overflow: hidden;
    margin: 0 5px;
    transition: var(--transition);
}

.carousel-indicators-bullets.carousel-indicators .active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(92,8,11,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(92,8,11,0.4);
    transform: translateY(-50%) scale(1.1);
}

/* ==========================================================================
   BANNERS SECTION
   ========================================================================== */

.banners-section {
    position: relative;
    overflow: hidden;
}

.banners-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.banners-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banners-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.banners-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banners-buttons .btn {
    margin: 0.5rem;
}

/* Legacy home slider support */
#home-slider {
    position: relative;
}

#home-slider .carousel-caption { 
    top: 42%; 
    left: 0; 
    right: 0; 
    text-align: right;
}

#home-slider .carousel-caption h2 { 
    font-size: 3rem;
}

#home-slider .carousel-indicators li { 
    width: 98px;
}

/* ==========================================================================
   ABOUT SECTION V2 - New Brand-Focused Design
   ========================================================================== */

.about-section {
    padding: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--silver) 50%, var(--silver-2) 100%);
    overflow: hidden;
    position: relative;
}

.about-content-panel {
    background: transparent;
    backdrop-filter: blur(10px);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.content-wrapper {
    padding: 4rem;
    position: relative;
    z-index: 2;
}

.brand-accent-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.section-label-v2 {
    display: inline-block;
    background: rgba(92,8,11,0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(92,8,11,0.2);
}

.section-title-v2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.text-brand-accent {
    color: var(--accent-color);
    position: relative;
}

.text-brand-accent::after {
    background: var(--gradient-primary);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.feature-highlights {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255,255,255,1);
    box-shadow: var(--shadow-light);
    transform: translateX(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-left: 1rem;
    flex-shrink: 0;
}

.feature-text h5 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-actions-v2 {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-custom-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.btn-custom-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--white);
    text-decoration: none;
}

.btn-custom-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-custom-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.about-visual-panel {
    background: transparent;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-visual-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(92,8,11,0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(122,37,41,0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots-about-unified" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(92,8,11,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(92,8,11,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots-about-unified)"/></svg>');
    opacity: 0.8;
    animation: float 20s ease-in-out infinite reverse;
}

.image-stack {
    position: relative;
    z-index: 2;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.main-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    min-width: 150px;
    transform: rotate(3deg);
    transition: var(--transition);
}

.floating-badge:hover {
    transform: rotate(0deg) scale(1.1);
}

.badge-content i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.badge-content span {
    display: block;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.badge-content small {
    color: var(--white);
    font-size: 0.8rem;
}

.geometric-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

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

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--silver) 50%, var(--silver-2) 100%);
    position: relative;
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.services-grid {
    position: relative;
}

.service-card {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(92,8,11,0.85) 0%, rgba(122,37,41,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.service-card:hover .service-overlay {
    opacity: 0.8;
}

.service-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

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

.service-location {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-actions .btn {
    border-radius: 50px;
    padding: 10px 25px;
}

.service-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-accent-line {
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}


/* ==========================================================================
   STATISTICS SECTION
   ========================================================================== */

.statistics-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--silver-2) 0%, var(--cinereous) 100%);
    position: relative;
}

@keyframes diamondShift {
    0% { transform: translateX(0); }
    100% { transform: translateX(50px); }
}

.statistics-image {
    position: relative;
}

.statistics-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    min-width: 180px;
}

.statistics-content {
    padding: 2rem 0;
}

.statistics-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Statistics Section */
.statistics-section {
    padding: 3rem 0;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
}

/* Legacy warranty section styles */
section.warranty { 
    padding: 3rem 0; 
    scroll-margin-top: 3rem;
}

section.warranty .warranty__img {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

section.warranty .warranty__content { 
    background-color: var(--primary-color); 
    color: var(--white); 
    padding: 3rem; 
    margin-top: 5rem; 
    margin-right: -91px; 
    border-radius: 10px;
}

section.warranty .warranty__content h3 {
    color: var(--accent-color); 
    font-size: 18px;
}

section.warranty .warranty__content h2 {
    font-size: 36px;
}

section.warranty .warranty__numbers { 
    display: flex; 
    width: 100%; 
    justify-content: space-around; 
    text-align: center; 
    margin: 3rem 0; 
    background: var(--primary-color); 
    color: var(--white); 
    padding: 3rem 0; 
    font-family: 'Akarius'; 
    border-radius: 10px;
}

section.warranty .warranty__numbers .warranty__numbers__number { 
    font-size: 96px; 
    line-height: 1; 
}

section.warranty .warranty__numbers .warranty__numbers__text { 
    margin-bottom: 10%; 
    font-size: 24px; 
    color: var(--white); 
    font-family: "Droid Arabic Kufi", serif;
}

/* ==========================================================================
   VALUES SECTION - Vision, Mission, Values
   ========================================================================== */

.values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--silver-2) 0%, var(--cinereous) 100%);
    position: relative;
    overflow: hidden;
}

@keyframes patternMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(80px) translateY(80px); }
}

.values-grid {
    position: relative;
    z-index: 2;
}

.value-card-v2 {
    background: linear-gradient(135deg, var(--white) 0%, var(--silver) 100%);
    backdrop-filter: blur(8px);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(92,8,11,0.1),
        0 1px 8px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}

.value-card-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92,8,11,0.05) 0%, rgba(122,37,41,0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card-v2:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(92,8,11,0.15),
        0 10px 25px rgba(0,0,0,0.1);
    border-color: rgba(92,8,11,0.2);
}

.value-card-v2:hover::after {
    opacity: 1;
}

.value-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-card-v2:hover::before {
    transform: translateX(0);
}

.value-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.card-header-v2 {
    margin-bottom: 2rem;
    position: relative;
}

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.value-card-v2:hover .icon-circle::before {
    opacity: 1;
}

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

.vision-theme .icon-circle {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.mission-theme .icon-circle {
    background: linear-gradient(135deg, var(--accent-color) 0%, #a61520 100%);
}

.values-theme .icon-circle {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
}

.card-header-v2 h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0 0 0;
    position: relative;
}

.card-header-v2 h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.value-card-v2:hover .card-header-v2 h3::after {
    width: 60px;
}

.card-body-v2 {
    padding: 0;
}

.card-body-v2 p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.card-footer-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    overflow: hidden;
}

.progress-indicator {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    transition: width 2s ease-in-out;
}

.value-card-v2:hover .progress-indicator {
    width: 100%;
}

/* Responsive Design for Values Section */
@media (max-width: 991px) {
    .values-section {
        padding: 60px 0;
    }
    
    .value-card-v2 {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .values-section {
        padding: 50px 0;
    }
    
    .value-card-v2 {
        padding: 2rem 1rem;
    }
    
    .card-header-v2 h3 {
        font-size: 1.3rem;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Brand Color Themes */
.vision-theme .progress-indicator {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.mission-theme .progress-indicator {
    background: linear-gradient(90deg, var(--accent-color) 0%, #a61520 100%);
}

.values-theme .progress-indicator {
    background: linear-gradient(90deg, var(--text-dark) 0%, var(--primary-color) 100%);
}

/* Responsive Design for About V2 */
@media (max-width: 991px) {
    .about-content-panel,
    .about-visual-panel {
        min-height: 500px;
    }
    
    .content-wrapper {
        padding: 3rem 2rem;
    }
    
    .section-title-v2 {
        font-size: 2.5rem;
    }
    
    .about-actions-v2 {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-custom-primary,
    .btn-custom-outline {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .about-content-panel,
    .about-visual-panel {
        min-height: 400px;
    }
    
    .content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .section-title-v2 {
        font-size: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .floating-badge {
        position: static;
        margin-top: 2rem;
        transform: none;
    }
    
    .geometric-shape {
        display: none;
    }
}

/* ==========================================================================
   ABOUT SECTION (Original) - Maintaining compatibility
   ========================================================================== */

/* ==========================================================================
   FEATURES SECTION - Dedicated Feature Highlights
   ========================================================================== */

.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f2f1f1 0%, #dddcdc 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(122,37,41,0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(92,8,11,0.06) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagons-feat" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,0 45,15 45,45 30,60 15,45 15,15" fill="none" stroke="rgba(92,8,11,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagons-feat)"/></svg>');
    animation: hexagonSpin 40s linear infinite;
}

@keyframes hexagonSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-item-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    backdrop-filter: blur(8px);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(92,8,11,0.1),
        0 1px 8px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}

.feature-item-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(122,37,41,0.05) 0%, rgba(92,8,11,0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(122,37,41,0.15),
        0 10px 25px rgba(0,0,0,0.1);
    border-color: rgba(122,37,41,0.2);
}

.feature-item-card:hover::after {
    opacity: 1;
}

.feature-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-item-card:hover::before {
    transform: translateX(0);
}

.feature-item-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.feature-item-card:hover .feature-icon::before {
    opacity: 1;
}

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

.feature-content h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.feature-content h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.feature-item-card:hover .feature-content h5::after {
    width: 60px;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Individual Feature Card Themes */
.feature-item-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.feature-item-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, #a61520 100%);
}

.feature-item-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
}

/* Responsive Design for Features Section */
@media (max-width: 991px) {
    .features-section {
        padding: 60px 0;
    }
    
    .feature-item-card {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .features-section {
        padding: 50px 0;
    }
    
    .feature-item-card {
        padding: 2rem 1rem;
    }
    
    .feature-content h5 {
        font-size: 1.3rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */

.projects-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--silver) 50%, var(--silver-2) 100%);
    position: relative;
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.projects-grid {
    position: relative;
}

.project-card {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(92,8,11,0.85) 0%, rgba(122,37,41,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.project-card:hover .project-overlay {
    opacity: 0.8;
}

.project-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

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

.project-location {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.project-actions .btn {
    border-radius: 50px;
    padding: 10px 25px;
}

.project-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-location-display {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.project-location-display i {
    font-size: 0.8rem;
}

.project-accent-line {
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Carousel Controls for Projects */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -50px;
    pointer-events: none;
}

.carousel-controls .carousel-control-prev,
.carousel-controls .carousel-control-next {
    position: static;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    pointer-events: all;
    transform: none;
}

.carousel-controls .carousel-control-prev:hover,
.carousel-controls .carousel-control-next:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Legacy projects section styles */
section.projects {
    scroll-margin-top: 3rem;
}

section.projects .section-sub-title {
    font-size: 20px; 
    color: var(--text-dark);
}

section.projects .section-title {
    font-size: 36px;
}

section.projects .section-intro-text {
    max-width: 500px; 
    margin: auto; 
    margin-bottom: 3rem;
}

section.projects #projects-slider .projects__item {
    overflow: hidden; 
    border-radius: 10px;
}

section.projects #projects-slider .wrapper {
    margin: 2rem;
    background-color: rgb(0 0 0 / 42%);
    color: var(--white);
    padding: 3rem 6rem;
    height: 300px;
    border-radius: 10px;
}

.read-more {
    padding: 4px 10px; 
    border: 1px solid var(--white); 
    border-radius: 3px; 
    color: var(--white); 
    display: inline-block;
}

.read-more:hover {
    color: var(--white);
}

section.projects .project__content { 
    padding: 10%; 
    background: var(--primary-color); 
    color: var(--white); 
    border-radius: 10px;
}

section.projects .project__content h2 {
    font-size: 2.2rem; 
    padding-bottom: 55px;
}

section.projects .project__number { 
    margin: 3rem; 
    font-size: 96px; 
    line-height: 0; 
    text-align: center; 
    font-family: 'Akarius';
}

section.projects .project__data { 
    font-size: 24px; 
    text-align: center; 
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */

.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--silver-2) 0%, var(--cinereous) 100%);
    position: relative;
}

@keyframes networkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.partners-slider-wrapper {
    position: relative;
}

.partner-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--silver) 100%);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(92,8,11,0.08),
        0 1px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
}

.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(193,190,190,0.05) 0%, rgba(92,8,11,0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(92,8,11,0.12),
        0 5px 15px rgba(0,0,0,0.08);
    border-color: rgba(92,8,11,0.15);
}

.partner-card:hover::after {
    opacity: 1;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.partner-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fa;
}

.partner-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) sepia(20%) hue-rotate(320deg) saturate(150%);
    transition: var(--transition);
}

.partner-card:hover .partner-image img {
    filter: grayscale(0%);
}

.partner-content {
    padding: 1.5rem;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Legacy partners section styles */
section.partners {
    padding: 3rem 0;
    scroll-margin-top: 3rem;
}

section.partners #partners-slider .carousel-inner .partners__item {
    margin: 2rem;
    background-color: rgb(0 0 0 / 12%);
    color: var(--white);
    padding: 3rem 6rem;
    height: 300px;
    border-radius: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

#footer {
    background: linear-gradient(135deg, var(--rosewood) 0%, var(--black-2) 100%);
    padding: 5rem 0; 
    color: var(--white); 
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

#footer .logo img {
    width: 165px; 
    border-radius: 10px;
    transition: var(--transition);
}

#footer .logo img:hover {
    transform: scale(1.05);
}

#footer h3 {
    position: relative; 
    margin-bottom: 15px; 
    padding-bottom: 15px;
    color: var(--text-light);
    border-bottom: 2px solid var(--text-light);
}

#footer .list-unstyled {
    padding: 0;
}

#footer a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

#footer a:hover {
    color: var(--white);
    text-decoration: none;
}

#footer .text-social {
    padding: 4%;
}

/* ==========================================================================
   PROJECT SPECIFIC STYLES
   ========================================================================== */

.project-intro__contact ul.share-buttons {
    float: right; 
    list-style: none; 
    padding: 10px;
}

.project-intro__contact ul.share-buttons li {
    display: inline;
}

.project-intro__contact ul.share-buttons li a {
    color: var(--white) !important; 
    font-size: 1.5em; 
    padding-right: 30px;
}

.project-intro { 
    position: relative; 
}

.project-intro__wrapper { 
    position: absolute; 
    top: 40%; 
    text-align: center; 
    background: var(--primary-color); 
    border-radius: 10px; 
    left: 50%; 
    color: var(--white); 
    transform: translate(-50%); 
    padding: 2rem; 
}

.project-intro__wrapper h3 {
    font-size: 20px;
}

.project-intro__market {
    color: var(--white);
}

.project-intro__contact {
    padding: 2rem 0; 
    background: var(--primary-color); 
    background-size: 80px; 
    color: var(--white);
}

.project-rooms {
    margin: 6rem 0;
}

.project-rooms__wrapper { 
    border: 1px solid #c1c1c1; 
    border-width: 1px 4px 3px 1px;
    padding: 2rem; 
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.project-rooms__title { 
    font-weight: bold; 
    font-size: 22px;
}

.project-rooms__data {
    color: #646464; 
    font-size: 18px;
}

.project-rooms__more_info { 
    display: flex; 
    align-items: center; 
    padding: 1rem 0; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    margin-top: 5%; 
}

.project-rooms__more_info a {
    display: flex;
    align-items: center;
}

.project-rooms__more_info svg {
    width: 46px;
}

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */

.modal .modal-dialog .modal-content .modal-header {
    color: var(--white); 
    background: var(--gradient-primary);
    border-radius: 15px 15px 0 0;
}

.modal .modal-dialog .modal-content {
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media screen and (max-width: 1200px) {
    .banners-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 991px) {
    #header .logo img {
        width: 70px;
    }
    
    .banners-title {
        font-size: 2.5rem;
    }
    
    .banners-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .statistics-section,
    .projects-section,
    .partners-section {
        padding: 60px 0;
    }
    
    .floating-card {
        position: static;
        margin-top: 2rem;
    }

    #home-slider .carousel-caption { 
        top: 33%;
    }
    
    #home-slider .carousel-caption h2 { 
        font-size: 1.5rem;
    }
    
    section.warranty .warranty__numbers .warranty__numbers__number {
        font-size: 60px;
    }
    
    section.projects #projects-slider .wrapper {
        padding: 3rem;
    }
    
    .project-intro__wrapper {
        left: 10%; 
        text-align: right; 
        transform: translate(-10%); 
        padding: 2rem;
    }
    
    .project-intro__wrapper h1 {
        font-size: 1.5rem;
    }
    
    section.about .about__intro__title { 
        font-size: 22px; 
    }
    
    section.projects .project__content h2 {
        font-size: 1.7rem; 
        padding-bottom: 15px;
    }
    
    h4 {
        font-size: 1.3rem;
    }
    
    #footer h3 {
        font-size: 1.3rem;
        margin-top: 1.5rem; 
        margin-bottom: 1rem;
    }
    
    #footer .text-social {
        padding: 2%;
    }
}

@media screen and (max-width: 767px) {
    #header {
        position: static; 
        width: 100%; 
        z-index: 99; 
        background: var(--gradient-primary);
        border-radius: 0;
        margin: 0;
    }
    
    #header .navbar-nav { 
        padding: 0 15px; 
    }
    
    #header nav a {
        font-size: 14px; 
        color: var(--white);
    }
    
    .dropdown-item {
        color: var(--accent-color);
    }
    
    .navbar-light .navbar-toggler {
        color: var(--white); 
        border: 1px solid rgba(255,255,255,0.3);
    }
    
    .navbar-light .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, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .banners-slide {
        height: 80vh;
        background-attachment: scroll;
    }
    
    .banners-title {
        font-size: 2rem;
    }
    
    .banners-subtitle {
        font-size: 1rem;
    }
    
    .banners-buttons .btn {
        padding: 12px 25px;
        font-size: 1rem;
        display: block;
        margin: 0.5rem auto;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .value-card,
    .stat-card,
    .partner-card {
        margin-bottom: 2rem;
    }
    
    .project-card {
        height: 300px;
    }
        
    .carousel-controls {
        display: none;
    }

    h4 {
        font-size: 1.3rem;
    }
    
    section.about .about__intro {
        margin-left: 0;
    }
    
    section.statistics {
        text-align: center;
    }
    
    section.warranty .warranty__content {
        margin-right: 0;
    }
    
    section.warranty .warranty__numbers {
        display: block;
    }
    
    section.warranty .warranty__numbers > div {
        margin-bottom: 1rem;
    }
    
    section.projects #projects-slider .projects__item {
        margin-bottom: 1rem;
    }
    
    .project-intro__wrapper {
        position: static; 
        width: 100%; 
        text-align: right; 
        transform: translate(0); 
        border-radius: 10px;
        background: var(--primary-color); 
    }
    
    .project-intro__wrapper h1 {
        font-size: 1.5rem;
    }
    
    .project-rooms__more_info a {
        flex: 50%; 
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .statistics-section,
    .projects-section,
    .partners-section {
        padding: 40px 0;
    }
    
    .value-card,
    .stat-card {
        padding: 1.5rem;
    }
    
    .banners-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .project-card {
        height: 250px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1440px;
    }
}

/* ==========================================================================
   SECTION HEADERS - Enhanced styling for light gray backgrounds
   ========================================================================== */

.section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    opacity: 0.8;
}

.section-header .section-title,
.section-header .section-label,
.section-header .section-description {
    position: relative;
    z-index: 2;
}

.section-header .section-title {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header .section-label {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: 
        0 8px 16px rgba(92,8,11,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.section-header .section-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.6s ease;
}

.section-header .section-label:hover::before {
    left: 100%;
}

.section-header .section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   INQUIRY PAGE SPECIFIC STYLES
   ========================================================================== */

/* Modern Form Styling */
.inquiry-form-container {
    margin-top: 2rem;
}

.modern-form {
    padding: 2rem;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-label-modern {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.form-label-modern i {
    margin-left: 0.5rem;
}

.form-control-modern {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(140, 15, 26, 0.1);
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Info Card */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: calc(100% - 4rem);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.contact-header p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.contact-methods {
    margin-top: 1.5rem;
    padding: 0 0.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    background: #f8f9fa;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    margin-left: 1.25rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.method-content {
    flex: 1;
    min-width: 0;
}

.method-content h5 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.method-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    word-break: break-word;
    line-height: 1.4;
}

/* Contact Badge Styling */
.floating-badge.contact-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    bottom: -15px;
    right: 15px;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.floating-badge.contact-badge .badge-content {
    text-align: center;
}

.floating-badge.contact-badge .badge-content i {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
}

.floating-badge.contact-badge .badge-content span {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.floating-badge.contact-badge .badge-content small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Form Validation Styling */
.form-control-modern.is-invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.form-control-modern.is-valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* Loading State for Form */
.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments for Inquiry Page */
@media (max-width: 768px) {
    .form-grid {
        gap: 1rem;
    }
    
    .form-row-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modern-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .contact-info-card {
        margin: 1rem;
        padding: 2rem;
        height: auto;
    }
    
    .contact-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-header h3 {
        font-size: 1.25rem;
    }
    
    .contact-methods {
        padding: 0;
        margin-top: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
        margin-left: 1rem;
        font-size: 1rem;
    }
    
    .method-content h5 {
        font-size: 1rem;
    }
    
    .method-content p {
        font-size: 0.9rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .floating-badge.contact-badge {
        bottom: -10px;
        right: 10px;
        padding: 0.75rem 1.25rem;
    }
    
    .floating-badge.contact-badge .badge-content i {
        font-size: 1rem;
    }
    
    .floating-badge.contact-badge .badge-content span {
        font-size: 0.8rem;
    }
    
    .floating-badge.contact-badge .badge-content small {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .modern-form {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .method-icon {
        margin: 0 auto 1rem auto;
    }
    
    .method-content {
        text-align: center;
    }
}

/* ==========================================================================
   END INQUIRY PAGE SPECIFIC STYLES
   ========================================================================== */

/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Social Share Overlay */
.social-share-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.share-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.share-label {
    color: var(--white);
    font-weight: 600;
    margin-left: 1rem;
}

.social-share-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link.twitter { background: #1da1f2; }
.social-link.facebook { background: #3b5998; }
.social-link.linkedin { background: #0077b5; }
.social-link.tumblr { background: #35465c; }

.social-link.twitter:hover { background: #0d8bd9; }
.social-link.facebook:hover { background: #2d4373; }
.social-link.linkedin:hover { background: #005885; }
.social-link.tumblr:hover { background: #2c3e50; }

/* Administrative Structure Section */
.admin-structure-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.admin-structure-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.admin-structure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.card-header-enhanced {
    text-align: center;
    margin-bottom: 2rem;
}

.structure-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.card-header-enhanced h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.structure-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #f8f9fa;
}

.structure-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.image-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.3s ease;
}

.structure-image-container:hover .image-overlay {
    opacity: 1;
}

.structure-image-container:hover img {
    transform: scale(1.05);
}

/* Enhanced Quick Stats for About Page */
.about-section .quick-stats {
    margin-top: 2rem;
}

.about-section .quick-stat {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.about-section .quick-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.about-section .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-section .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Values Content Items */
.values-content-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.values-content-item:last-child {
    border-bottom: none;
}

.values-icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.values-icon-header i {
    font-size: 1.5rem;
    margin-left: 1rem;
    width: 40px;
    text-align: center;
}

.values-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

.values-description {
    margin-right: 3rem;
    line-height: 1.7;
}

.values-description p {
    margin: 0;
    color: #666;
}

/* Values Badge Styling */
.floating-badge.values-badge {
    background: linear-gradient(135deg, var(--accent-color), #f39c12);
}

.floating-badge.values-badge .badge-content i {
    color: #fff;
}

/* Administrative Features */
.admin-features {
    margin-top: 2rem;
}

.admin-feature-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-feature-item:last-child {
    border-bottom: none;
}

.admin-actions {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Admin Badge Styling */
.floating-badge.admin-badge {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
}

.floating-badge.admin-badge .badge-content i {
    color: #fff;
}

/* Image Overlay Inline */
.image-overlay-inline {
    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.3s ease;
    border-radius: var(--border-radius);
}

.main-image:hover .image-overlay-inline {
    opacity: 1;
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.main-image img {
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

/* Responsive Adjustments for About Page */
@media (max-width: 768px) {
    .social-share-overlay {
        position: relative;
        background: var(--primary-color);
    }
    
    .share-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .share-label {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .admin-structure-card {
        padding: 1.5rem;
    }
    
    .structure-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .about-section .stat-number {
        font-size: 2rem;
    }
    
    .about-section .stat-label {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   ANIMATION ON SCROLL (AOS) SUPPORT
   ========================================================================== */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================================================
   END OF UNIFIED STYLES
   ========================================================================== */
