/* ============================================
   IBTIKAR AL-AQAT - PROFESSIONAL DESIGN SYSTEM
   ============================================ */

/* Reset & Root Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    
    /* Secondary Colors */
    --secondary-color: #0f766e;
    --secondary-dark: #0d5460;
    --secondary-light: #14b8a6;
    
    /* Accent Colors */
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
    
    /* Neutral Colors */
    --dark-color: #1f2937;
    --dark-secondary: #374151;
    --light-color: #f9fafb;
    --light-secondary: #f3f4f6;
    --text-color: #4b5563;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --border-light: #f0f1f3;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-light: #d1fae5;
    --error-color: #ef4444;
    --error-light: #fee2e2;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --info-color: #3b82f6;
    --info-light: #dbeafe;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}


@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;700;800;900&display=swap');
html {
    scroll-behavior: smooth;
    direction: rtl;
    font-size: 16px;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    /* 🌟 التعديل هنا: زيادة سمك الخط الأساسي */
    font-weight: 700;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.3px;
}

h1 { font-size: 3rem; letter-spacing: -1px; font-weight: 900; }
h2 { font-size: 2.25rem; letter-spacing: -0.5px; font-weight: 900; }
h3 { font-size: 1.875rem; letter-spacing: -0.3px; font-weight: 900; }
h4 { font-size: 1.5rem; letter-spacing: -0.2px; font-weight: 800; }
h5 { font-size: 1.25rem; letter-spacing: 0px; font-weight: 800; }
h6 { font-size: 1rem; letter-spacing: 0px; font-weight: 800; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

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

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

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

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(30, 64, 175, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(30, 64, 175, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(30, 64, 175, 0.5);
    }
}

@keyframes cardPulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(30, 64, 175, 0.15);
    }
    50% {
        box-shadow: 0 15px 50px rgba(30, 64, 175, 0.25);
    }
}

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

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

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

@keyframes iconScale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

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

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    animation: slideInDown 0.5s ease-out;
}

.header-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: var(--spacing-lg);
}

.header-top-left, .header-top-right {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex-wrap: wrap;
}

.header-top-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.header-top-item:hover {
    transform: translateY(-2px);
}

.header-top-item i {
    font-size: 16px;
}

/* ============================================
   HEADER STYLING
   ============================================ */

header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 40%, #0f766e 100%);
    box-shadow: 0 2px 15px rgba(30, 64, 175, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-light), var(--secondary-light), var(--accent-color)) 1;
    overflow: visible;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.05) 25%,
        rgba(255,255,255,0) 50%,
        rgba(59,130,246,0.05) 75%,
        rgba(20,184,166,0.1) 100%);
    pointer-events: none;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

header.scrolled {
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.2);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Main Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem var(--spacing-lg);
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
    width: 100%;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    order: 1;
}

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

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Navigation Container - holds nav links and auth */
.nav-container {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: space-between;
    order: 2;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
    transition: all var(--transition-base);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

/* Auth Section */
.auth-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all var(--transition-base);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(50%, -50%);
    pointer-events: none;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-login {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-register {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-register:active {
    transform: translateY(0);
}

.btn i {
    font-size: 14px;
}

.btn span {
    display: inline;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.user-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.user-btn i:first-child {
    font-size: 18px;
}

.user-btn i:last-child {
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.user-btn:hover i:last-child {
    transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1001;
    padding: 8px 0;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    min-height: 44px;
}

.user-dropdown a:hover {
    background: var(--light-secondary);
    color: var(--primary-color);
    padding-right: 20px;
}

.user-dropdown a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.user-dropdown a i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 6px 0;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all var(--transition-fast);
    order: 3;
}

.mobile-toggle:hover {
    opacity: 0.8;
}

.mobile-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    border-radius: 4px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: rgba(255, 255, 255, 0.95);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: rgba(255, 255, 255, 0.95);
}



/* ============================================
   HERO SECTION
   ============================================ */

#home {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0fdfa 100%);
    padding: var(--spacing-2xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

#home::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

#home::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
    animation: slideInLeft 0.8s ease-out;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: width var(--transition-base);
    z-index: 0;
}

.btn:hover::before {
    width: 100%;
    right: auto;
    left: 0;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.hero-image-box {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(15, 118, 110, 0.1) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    border: 2px solid rgba(30, 64, 175, 0.2);
    transition: all var(--transition-base);
}

.hero-image-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.2);
    transform: translateY(-10px);
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
}

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

#services {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0fdfa 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: slideInUp 0.6s ease-out;
}

.section-header h2 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    font-weight: 900;
    letter-spacing: -0.5px;
}

.section-header .subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.section-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: var(--spacing-lg) auto 0;
    border-radius: var(--radius-full);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-md);
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15), rgba(245, 158, 11, 0.15));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
    color: var(--primary-color);
    animation: iconRotate 4s linear infinite;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.15) rotate(360deg);
    animation: none;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    transition: color var(--transition-base);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.8;
    flex-grow: 1;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

#about.about-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0fdfa 100%);
}

.about-main-container {
    max-width: 1400px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.about-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.12);
    border: 1px solid rgba(224, 231, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

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

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.2);
    border-color: rgba(224, 231, 255, 0.6);
}

.about-card:hover::before {
    width: 100%;
}

.about-card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

.about-intro-card .card-icon {
    color: #1e40af;
    animation-delay: 0s;
}

.about-vision-card .card-icon {
    color: #0891b2;
    animation-delay: 0.2s;
}

.about-mission-card .card-icon {
    color: #2563eb;
    animation-delay: 0.4s;
}

.about-card h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.about-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.card-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
    border-radius: 50% 0 50% 50%;
}

/* Values Section */
.values-section {
    max-width: 1400px;
    margin: 80px auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    animation: slideInUp 0.6s ease-out;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #0891b2);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(224, 231, 255, 0.2);
    transition: all 0.3s ease-out;
    cursor: pointer;
    text-align: center;
    animation: slideInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
    border-color: rgba(224, 231, 255, 0.5);
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    animation: iconBounce 2s ease-in-out infinite;
    display: inline-block;
}

.value-card:nth-child(1) .value-icon { animation-delay: 0s; color: #1e40af; }
.value-card:nth-child(2) .value-icon { animation-delay: 0.2s; color: #0891b2; }
.value-card:nth-child(3) .value-icon { animation-delay: 0.4s; color: #f59e0b; }
.value-card:nth-child(4) .value-icon { animation-delay: 0.6s; color: #2563eb; }

.value-card h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services-section {
    max-width: 1400px;
    margin: 80px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(224, 231, 255, 0.2);
    transition: all 0.3s ease-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.6s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.2);
}

.service-item:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    animation: iconRotate 4s linear infinite;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    animation: iconScale 0.5s ease;
}

.service-item:nth-child(1) .service-icon { color: #1e40af; }
.service-item:nth-child(2) .service-icon { color: #0891b2; }
.service-item:nth-child(3) .service-icon { color: #f59e0b; }
.service-item:nth-child(4) .service-icon { color: #2563eb; }
.service-item:nth-child(5) .service-icon { color: #10b981; }
.service-item:nth-child(6) .service-icon { color: #ef4444; }

.service-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.service-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.about-image-wrapper {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ============================================
   BLOG SECTION
   ============================================ */

#blog {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0fdfa 100%);
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0f766e);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.blog-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.blog-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(15, 118, 110, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    position: relative;
    color: rgba(30, 64, 175, 0.3);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08) rotate(0.5deg);
}

.blog-content {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(15, 118, 110, 0.08));
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    width: fit-content;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.blog-category::before {
    content: '◆';
    font-size: 0.6rem;
}

.blog-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--primary-color);
}

.blog-card p {
    color: #777;
    margin-bottom: 20px;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.85rem;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    gap: 10px;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.blog-views {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-link:hover {
    color: #0f766e;
    gap: 10px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

#testimonials {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%);
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 60px;
    color: var(--primary-light);
    opacity: 0.3;
    font-weight: bold;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    gap: 3px;
}

.testimonial-stars i {
    color: var(--accent-color);
    font-size: 14px;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.testimonial-info h4 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */

#contact {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0fdfa 100%);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-info {
    animation: slideInLeft 0.6s ease-out;
}

.contact-info h2 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    transition: all var(--transition-base);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.contact-item:hover {
    background: rgba(30, 64, 175, 0.05);
    transform: translateX(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

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

.contact-text h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.contact-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.6s ease-out;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.contact-form:hover {
    border-color: var(--primary-color);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
    color: var(--text-color);
    background: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-submit:active {
    transform: translateY(0);
}

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

footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #374151 100%);
    color: white;
    padding: var(--spacing-2xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: white;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-md);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-section a:hover {
    color: white;
    padding-right: var(--spacing-sm);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================
   PAGE HEADER SECTION - HERO SECTIONS
   ============================================ */

.page-hero {
    position: relative;
    color: var(--dark-color);
    padding: 80px var(--spacing-lg) 80px;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-light);
    margin: 30px auto;
    max-width: 95%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 6px rgba(30, 64, 175, 0.1);
}

.page-hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0fdfa 100%);
    padding: 80px var(--spacing-lg);
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.cta-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.15);
    border: 1px solid rgba(224, 231, 255, 0.3);
    animation: slideInUp 0.8s ease-out, cardPulse 2s ease-in-out infinite;
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

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

.cta-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.25);
    border-color: rgba(224, 231, 255, 0.5);
}

.cta-content:hover::before {
    left: 100%;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--dark-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.cta-content .btn {
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* ============================================
   NAV ACTIVE STATE
   ============================================ */

nav a.active {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 5px;
}

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

.notification {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    animation: slideInDown 0.4s ease-out;
    max-width: 400px;
}

.notification-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
}

.notification-error {
    background: linear-gradient(135deg, var(--error-color), #dc2626);
    color: white;
}

.notification-info {
    background: linear-gradient(135deg, var(--info-color), #0284c7);
    color: white;
}

.notification-warning {
    background: linear-gradient(135deg, var(--warning-color), var(--accent-dark));
    color: white;
}

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

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    nav {
        padding: var(--spacing-md) var(--spacing-lg);
        gap: var(--spacing-lg);
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav-links {
        gap: var(--spacing-lg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .page-hero {
        padding: 60px var(--spacing-lg) 60px;
        margin: 20px auto;
    }
    
    .page-hero-content h1 {
        font-size: 2.25rem;
        font-weight: 900;
        letter-spacing: -0.3px;
    }
    
    .page-hero-content p {
        font-size: 1rem;
        font-weight: 500;
    }
}

@media (max-width: 1024px) {
    /* Navbar adjustments */
    .navbar {
        padding: 0.75rem var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo img {
        height: 36px;
    }
    
    .nav-container {
        gap: var(--spacing-md);
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.75rem;
        font-size: 13px;
        min-height: 40px;
        display: flex;
        align-items: center;
    }
    
    .auth-section {
        gap: 0.75rem;
    }
    
    .btn-login, .btn-register {
        padding: 0.65rem 1rem;
        font-size: 12px;
        min-height: 40px;
        border-radius: 0.5rem;
    }
    
    .user-btn {
        padding: 0.65rem 0.9rem;
        min-height: 40px;
        font-size: 12px;
    }
    
    .btn i {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Header Mobile */
    .navbar {
        flex-wrap: wrap;
        padding: 0.75rem var(--spacing-md);
    }
    
    .logo {
        font-size: 18px;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 36px;
    }
    
    .nav-container {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(30, 64, 175, 0.98) 0%, rgba(15, 118, 110, 0.98) 100%);
        z-index: 998;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        justify-content: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-container.active {
        display: flex;
        animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile menu overlay backdrop */
    .nav-container.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        z-index: -1;
        pointer-events: none;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 0.85rem 1rem;
        font-size: 14px;
        width: 100%;
        border-radius: 0.5rem;
        display: block;
        transition: all 0.25s ease;
        position: relative;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-links a::before {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(255, 255, 255, 0.15);
        padding-left: 1.25rem;
        transform: translateX(4px);
    }
    
    /* Auth Section Mobile */
    .auth-section {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin: var(--spacing-md) 0 0 0;
        padding-top: var(--spacing-md);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .btn-login, .btn-register {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.2rem;
        font-size: 13px;
        min-height: 48px;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .btn-login:active {
        transform: scale(0.98);
    }
    
    .btn-register:active {
        transform: scale(0.98);
    }
    
    .btn-login span, .btn-register span {
        display: inline;
    }
    
    /* User Menu Mobile */
    .user-menu {
        width: 100%;
    }
    
    .user-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.2rem;
        font-size: 13px;
        background: rgba(255, 255, 255, 0.15);
        border: 1.5px solid rgba(255, 255, 255, 0.3);
        border-radius: 0.5rem;
        min-height: 48px;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .user-btn:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        margin-top: 0;
        transform: translateY(100%);
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
        z-index: 1002;
        background: white;
        padding: var(--spacing-md) 0;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .user-dropdown.show {
        transform: translateY(0);
    }
    
    .user-dropdown a {
        padding: 14px 16px;
        min-height: 50px;
    }
    
    .user-dropdown a:active {
        background: var(--light-secondary);
    }
    
    /* Mobile Toggle Button */
    .mobile-toggle {
        display: flex;
    }
    
    /* Hero Section Mobile */
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-text .subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-main-container {
        grid-template-columns: 1fr;
    }
    
    .about-card {
        padding: 30px 25px;
    }
    
    .about-card .card-icon {
        font-size: 2.5rem;
    }
    
    .about-card h2 {
        font-size: 1.5rem;
    }
    
    .about-card h3 {
        font-size: 1.3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
        font-size: 35px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .notification {
        right: var(--spacing-md);
        left: var(--spacing-md);
        max-width: none;
    }
    
    .page-hero {
        padding: 50px var(--spacing-md) 50px;
        margin: 15px auto;
        max-width: 98%;
    }
    
    .page-hero-content h1 {
        font-size: 1.75rem;
        font-weight: 900;
        letter-spacing: -0.2px;
    }
    
    .page-hero-content p {
        font-weight: 500;
        letter-spacing: 0.2px;
        font-size: 0.95rem;
    }
    
    .cta-section {
        padding: 50px var(--spacing-md);
        min-height: 280px;
    }
    
    .cta-content {
        padding: 50px 30px;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
    
    #home {
        min-height: auto;
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .hero-image-box {
        padding: var(--spacing-lg);
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .testimonial-author {
        gap: var(--spacing-md);
    }
    
    .contact-item {
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .page-hero {
        padding: 40px var(--spacing-md) 40px;
        margin: 10px auto;
        max-width: 98%;
    }
    
    .page-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .page-hero-content p {
        font-size: 0.9rem;
    }
    
    .cta-section {
        padding: 30px var(--spacing-md);
        margin-top: 40px;
        min-height: 250px;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.4rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .about-main-container {
        grid-template-columns: 1fr;
    }
    
    .about-card {
        padding: 25px 20px;
    }
    
    .about-card .card-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .about-card h2 {
        font-size: 1.35rem;
    }
    
    .about-card h3 {
        font-size: 1.2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-item {
        padding: 30px 20px;
    }
    
    .service-icon {
        font-size: 2.3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-links a::after {
    right: auto;
    left: 0;
}

[dir="rtl"] .value-card {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer Styles */
footer.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #e2e8f0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    padding: 25px 20px 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

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

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.footer-logo h3 i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 6px;
}

.footer-section h4 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 1px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links-list li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    position: relative;
}

.footer-links-list li a i {
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.footer-links-list li a:hover {
    color: white;
    padding-right: 8px;
}

.footer-links-list li a:hover i {
    margin-right: 10px;
    color: #0f766e;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(30, 64, 175, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(30, 64, 175, 0.25);
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), #0f766e);
    color: white;
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.contact-card {
    display: flex;
    flex-direction: column;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 20px;
    gap: 0;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.2));
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-card-icon i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-card-label {
    color: #94a3b8;
    font-size: 0.75rem;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-item a,
.contact-card-item span {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-card-item a:hover {
    color: white;
}

.contact-card-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copyright p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copyright strong {
    color: white;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-link-item {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link-item:hover {
    color: white;
}

.footer-link-item:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.link-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        padding: 20px 20px 10px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 15px 15px 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    .social-links {
        gap: 6px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 6px 15px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .link-separator {
        display: none;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card h3 {
        font-size: 1.1rem;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .pdf-viewer iframe {
        height: 400px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        background: white;
    }
}