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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  overflow-x: hidden;
  min-width: 320px;
}


/* ========== Navbar Modern - Fixed Layout ========== */
.navbar-tech {
    background: linear-gradient(90deg, #24005A 30%, #7a00cc 100%);
    box-shadow: 0 7px 40px 0 rgba(60,0,97,0.07);
    position: sticky;
    top: 0;
    z-index: 22;
    height: 70px; /* ارتفاع ثابت */
}

.navbar-inner {
    max-width: 1250px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Brand Section - Fixed Width */
.brand {
    display: flex;
    align-items: center;
    font-size: 1.37em;
    font-weight: bold;
    color: #fff;
    letter-spacing: .01em;
    min-width: 200px; /* عرض ثابت */
    flex-shrink: 0;
}

.brand .logo-img {
    height: 40px;
    width: 80px;
    border-radius: 7px;
    box-shadow: 0 5px 13px #ffd36322;
    margin-right: 10px;
    flex-shrink: 0;
}

.brand strong {
    color: #ffd363;
}

/* Navigation Links - Fixed Layout */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0; /* إزالة المسافات المتغيرة */
    margin: 0;
    padding: 0;
    height: 100%;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links li a,
.nav-links .dropdown .dropbtn {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .01em;
    padding: 10px 20px; /* مساحة ثابتة */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px; /* عرض أدنى ثابت */
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 2px solid transparent; /* حدود شفافة للحفاظ على الحجم */
    background: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Hover Effect - No Size Change */
.nav-links .nav-active,
.nav-links li a:hover,
.nav-links .dropdown .dropbtn:hover {
    color: #2b1861;
    background: #ffd363;
    border-color: #ffd363;
    transform: translateY(-1px); /* تحريك خفيف بدلاً من تغيير الحجم */
    box-shadow: 0 4px 12px rgba(255, 211, 99, 0.3);
}

/* Dropdown Styles */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown .dropbtn span {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-links .dropdown:hover .dropbtn span,
.nav-links .dropdown.active .dropbtn span {
    transform: rotate(180deg);
}

.nav-links .dropdown-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 20px 0;
    min-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.nav-links .dropdown:hover .dropdown-list,
.nav-links .dropdown.active .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    padding: 0 20px;
    margin-bottom: 15px;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section-title {
    font-weight: 700;
    color: #241258;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
    padding-bottom: 5px;
    border-bottom: 2px solid #ffd363;
}

.dropdown-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-sublist li {
    margin-bottom: 3px;
}

.dropdown-sublist a {
    color: #555;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    transition: all 0.2s ease;
    font-size: 0.95em;
    min-width: auto; /* إعادة تعيين العرض للقائمة المنسدلة */
}

.dropdown-sublist a:hover {
    background: #f8f7fe;
    color: #241258;
    transform: translateX(5px);
}

/* Navigation Actions - Fixed Width */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px; /* عرض ثابت */
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Language Switch - Fixed Size */
.lang-switch {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
    box-sizing: border-box;
}

.lang-btn.active,
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #2f027d;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(35, 0, 145, 0.3);
    padding: 5px;
    z-index: 1001;
}

.lang-switch:hover .lang-dropdown,
.lang-switch:focus-within .lang-dropdown {
    display: block;
}

/* User Section - Fixed Size */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.profile-avatar:hover {
    border-color: #ffd363;
    transform: scale(1.05);
}

.logout-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
    box-sizing: border-box;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Mobile Menu Button - Fixed Size */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: #ffd363;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 260px;
    height: 100vh;
    background: linear-gradient(110deg, #520785 60%, #a277fa 100%);
    box-shadow: -4px 0 30px rgba(22, 34, 69, 0.3);
    z-index: 900;
    transition: right 0.3s cubic-bezier(0.7, 0.20, 0.29, 1.11);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    overflow-y: auto;
}

.side-nav.open {
    right: 0;
}

.side-nav ul {
    list-style: none;
    padding: 20px 0 0 0;
    margin: 0;
}

.side-nav li {
    margin-bottom: 5px;
}

.side-nav a {
    color: #fff;
    display: block;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.side-nav a.nav-active,
.side-nav a:hover {
    background: linear-gradient(90deg, #ffd363, transparent);
    color: #2b1861;
    border-left: 4px solid #ffd363;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar-inner {
        padding: 0 1.5rem;
    }
    
    .nav-links li a,
    .nav-links .dropdown .dropbtn {
        padding: 8px 15px;
        font-size: 0.95em;
    }
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .navbar-inner {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-tech {
        height: 60px;
    }
    
    .brand {
        font-size: 1.2em;
        min-width: auto;
    }
    
    .nav-actions {
        min-width: auto;
        gap: 10px;
    }
    
    .side-nav {
        width: 90vw;
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .navbar-inner {
        padding: 0 0.5rem;
    }
    
    .brand {
        font-size: 1.1em;
    }
    
    .profile-avatar {
        width: 32px;
        height: 32px;
    }
    
    .logout-btn {
        padding: 5px 10px;
        font-size: 0.8em;
        min-width: 60px;
    }
    
    .lang-btn {
    padding: 6px 12px;
    font-size: 0.8em;
    min-width: 40px;
    }
    
    .menu-btn {
        width: 40px;
        height: 40px;
    }
    
    .menu-btn span {
        width: 20px;
        height: 2px;
    }
}

@media (max-width: 410px) {
    .brand {
        font-size: 1em;
    }
    
    .navbar-inner {
        padding: 0 0.25rem;
    }
    
    .logout-btn {
        display: none; /* إخفاء زر تسجيل الخروج في الشاشات الصغيرة جداً */
    }
    
    .nav-actions {
        gap: 8px;
    }
}

/* Animation for dropdown arrow */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}

/* Smooth transitions for all interactive elements */
.navbar-tech * {
    box-sizing: border-box;
}

/* Prevent layout shift during hover animations */
.nav-links li a::before,
.nav-links .dropdown .dropbtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 8px;
    z-index: -1;
    transition: all 0.3s ease;
}

/* Enhanced focus states for accessibility */
.nav-links li a:focus,
.nav-links .dropdown .dropbtn:focus,
.lang-btn:focus,
.logout-btn:focus,
.menu-btn:focus {
    outline: 2px solid #ffd363;
    outline-offset: 2px;
}

/* Remove default button styles */
button {
    font-family: inherit;
}

/* Ensure consistent line heights */
.nav-links li a,
.nav-links .dropdown .dropbtn {
    line-height: 1.2;
}

/* Side dropdown styles for mobile */
.side-nav .side-dropdown {
    position: relative;
}

.side-nav .side-dropbtn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.1em;
}

.side-nav .side-dropbtn:hover {
    background: linear-gradient(90deg, #ffd363, transparent);
    color: #2b1861;
    border-left: 4px solid #ffd363;
}

.side-nav .side-dropbtn span {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.side-nav .side-dropdown.active .side-dropbtn span {
    transform: rotate(180deg);
}

.side-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.side-nav .side-dropdown.active .side-dropdown-list {
    max-height: 500px;
}

.side-dropdown-section {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-dropdown-section:last-child {
    border-bottom: none;
}

.side-dropdown-section-title {
    font-weight: 600;
    color: #ffd363;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.side-dropdown-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-dropdown-sublist li {
    margin-bottom: 2px;
}

.side-dropdown-sublist a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9em;
    opacity: 0.8;
    margin-left: 20px;
}

.side-dropdown-sublist a:hover {
    background: rgba(255, 211, 99, 0.2);
    color: #ffd363;
    opacity: 1;
    transform: translateX(5px);
    border-left: none;
}

/* Overlay for mobile menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 850;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Improved mobile menu animation */
.side-nav {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.side-nav.open {
    transform: translateX(0);
}

/* Loading states */
.nav-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .navbar-tech {
        border-bottom: 2px solid #fff;
    }
    
    .nav-links li a,
    .nav-links .dropdown .dropbtn {
        border: 1px solid transparent;
    }
    
    .nav-links li a:hover,
    .nav-links .dropdown .dropbtn:hover {
        border-color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nav-links li a,
    .nav-links .dropdown .dropbtn,
    .lang-btn,
    .logout-btn,
    .menu-btn,
    .dropdown-list,
    .side-nav {
        transition: none;
    }
    
    .nav-links .dropdown .dropbtn span {
        transition: none;
    }
}

/* Print styles */
@media print {
    .navbar-tech {
        display: none;
    }
}

/* User Icon Button - Before Login */
.user-icon-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #ffd363;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.user-icon-btn:hover,
.user-icon-btn:focus,
.user-dropdown.show .user-icon-btn {
    background: rgba(255, 211, 99, 0.2);
    border-color: rgba(255, 211, 99, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 211, 99, 0.3);
}

/* User Menu Dropdown */
.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 160px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
}

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

.user-menu a {
    display: flex;
    align-items: center;
    color: #1e293b;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.user-menu a:hover {
    background: linear-gradient(90deg, #f1f5f9, #ffffff);
    color: #6366f1;
    border-left-color: #6366f1;
    transform: translateX(2px);
}

.user-menu a:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.user-menu a:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* عندما يكون المستخدم مسجل دخول */
.user-dropdown.logged-in .user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-dropdown.logged-in .profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.user-dropdown.logged-in .profile-avatar:hover {
    border-color: #ffd363;
    transform: scale(1.05);
}

.user-dropdown.logged-in .logout-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
    box-sizing: border-box;
}

.user-dropdown.logged-in .logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .user-icon-btn {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .user-menu {
        min-width: 140px;
        right: -10px;
    }
    
    .user-menu a {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .user-icon-btn {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
    
    .user-menu {
        min-width: 130px;
        right: -15px;
    }
    
    .user-menu a {
        padding: 8px 12px;
        font-size: 0.85em;
    }
}
/* Services Dropdown - الكود الأصلي */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown .dropbtn {
  color: #fff; 
  text-decoration: none; 
  font-size: 1.09em; 
  padding: 8px 18px; 
  border-radius: 12px; 
  transition: background-color 0.16s, color 0.16s; 
  font-weight: 500; 
  letter-spacing: .01em; 
  background: none; 
  border: none; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  gap: 5px;
}

.nav-links .dropdown .dropbtn:hover {
  color: #2b1861; 
  background: #ffd363; 
  font-weight: bold; 
  text-shadow: 0 4px 18px #ffd36328;
}

.nav-links .dropdown .dropbtn span {
  font-size: 0.8em; 
  transition: transform 0.2s;
}

.nav-links .dropdown:hover .dropbtn span,
.nav-links .dropdown.active .dropbtn span {
  transform: rotate(180deg);
}

.nav-links .dropdown-list {
  position: absolute; 
  top: 100%; 
  left: 0; 
  background: #ffffff; 
  border-radius: 12px; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); 
  padding: 20px 0; 
  min-width: 320px; 
  z-index: 1000; 
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(-10px); 
  transition: all 0.3s ease; 
  border: 1px solid #f0f0f0; 
  display: block !important;
}

.nav-links .dropdown:hover .dropdown-list,
.nav-links .dropdown.active .dropdown-list {
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0);
}

.dropdown-section {
  padding: 0 20px; 
  margin-bottom: 15px;
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.dropdown-section-title {
  font-weight: 700; 
  color: #241258; 
  font-size: 0.9em; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  margin-bottom: 8px; 
  display: block; 
  padding-bottom: 5px; 
  border-bottom: 2px solid #ffd363;
}

.dropdown-sublist {
  list-style: none; 
  padding: 0; 
  margin: 0;
}

.dropdown-sublist li {
  margin-bottom: 3px;
}

.dropdown-sublist a {
  color: #555; 
  text-decoration: none; 
  padding: 8px 12px; 
  border-radius: 6px; 
  display: block; 
  transition: all 0.2s; 
  font-size: 0.95em;
}

.dropdown-sublist a:hover {
  background: #f8f7fe; 
  color: #241258; 
  transform: translateX(5px);
}

/* الكود الأصلي للباقي */
.dropdown-sublist li a {
  color: #2b1861;
}
/* ========== Hero Coding Slider ========== */

.hero-coding {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(110deg, #240385 68%, #7838ac 100%); */
  min-height: 600px;
  max-height: 650px;
  height: 640px;
  gap: 40px;
  position: relative;
  overflow: hidden;
  background: url("../images/background\ _1.jpg") center center / cover no-repeat;
}
.hero-codearea {
  min-width: 370px;
  max-width: 640px;
  width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
}
.hero-codeline {
  width: 100%;
  max-width: 620px;
  background: transparent;
  padding: 0;
  font-weight: bold;
  color: #fff;
  letter-spacing: .03em;
  display: flex;
  align-items: flex-end;
  margin-bottom: 13px;
  position: relative;
  box-sizing: border-box;
  /* يمنع الكسر */
  min-height: 84px;
  height: 93px;
  overflow: visible;           /* عشان لو فيه أكواد متعددة السطر */
  white-space: pre-line;       /* مش nowrap */
  word-break: break-all;       /* أي كلمة طويلة تتكسر */
  font-size: 2.2em;
  font-family: 'Fira Mono','monospace';
}
.line-numbers {
  color: #ffd363;
  margin-right: 18px;
  font-size: .8em;
  font-weight: bold;
}
.typing-code {
  display: inline;
  max-width: 95%;
  min-width: 100px;
  white-space: pre-line;
  overflow: visible;
  border-right: 2.2px solid #ffd363;
  animation: blink-cursor 1s steps(1) infinite;
  transition: max-width 0.4s;
}
@media (max-width: 700px) {
  .hero-codeline {
    font-size: 1.1em;
  }
}

@keyframes blink-cursor {
  0%, 100% { border-color: #ffd363; }
  55%, 75% { border-color: transparent; }
}

.coding-sub {
  color: #ffd363;
  font-family: 'Fira Mono', 'monospace';
  font-size: 1.18em;
  margin: 23px 0 24px 0;
  text-shadow: 0 7px 60px #ffd36314;
}
.coding-sub span { color: #ae81ff; font-weight: bold;}

.main-cta {
  display: inline-block;
  background: linear-gradient(90deg,#ffd363 35%, #f3e6c3 100%);
  color: #27009f;
  font-weight: 900;
  padding: 20px 38px;
  border-radius: 26px;
  text-decoration: none;
  font-size: 1.24em;
  letter-spacing: .01em;
  box-shadow: 0 6px 21px #ffd36318;
  border: none;
  transition: background-color 0.13s, color 0.12s, transform 0.13s;
  margin-top: 13px;
}
.main-cta:hover { background:linear-gradient(90deg,#ffefa7 10%, #ffd363 62%); color:#5116b4; transform: scale(1.04); }
.main-cta:active { transform:scale(0.99);}
.hero-art {
  width: 520px;
  height: 420px;
  min-width: 375px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}









/* Glassmorphic code block كديكور */
.code-block-fx {
  background: linear-gradient(120deg, #ae81ff 0%, #ffd363 100%);
  box-shadow: 0 16px 48px #ae81ff21;
  border-radius: 70px 70px 77px 77px/ 50px 50px 90px 90px;
  min-width: 210px;
  width: 340px;
  max-width: 400px;
  min-height: 112px;
  height: 115px;
  position: absolute;
  top: 18px;
  left: 80px;
  z-index: 3;
  padding: 24px 30px 16px 26px;
  color: #fff;
  font-family: 'Fira Mono','monospace';
  font-size: 1.07em;
  font-weight: 500;
  position: absolute; top:10px; left:45px; z-index: 3;
  opacity: .96;
  transition: box-shadow 0.18s;
  pointer-events: none;
}
.cb-line {
  display: block;
  color: #fff5a2;
  opacity: 0.7;
  font-size: 1.05em;
  margin-bottom: 4px;
}
.cb-body { color:#fff; opacity:.62; font-size:.95em;}
.hero-img-art {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 38px;
  box-shadow: 0 14px 48px #ae81ff25;
  margin-top: 55px;
  background: #fff3;
}

/* اصلاح الوضع على الموبايل */
@media (max-width: 1050px) {
  .hero-coding {flex-direction: column; align-items: flex-start; gap: 14px;}
  .hero-art {position: static; min-width:100px; width:100%; align-items: flex-end;}
  .hero-img-art {width: 220px; margin-top:55px; max-width:60vw;}
  .code-block-fx {left:0; min-width:170px; max-width:220px; top:10px; padding: 14px 10px;}
}
@media (max-width: 650px) {
  .hero-codearea {width:95vw; max-width:99vw;}
  .hero-codeline {font-size:1.4em;}
  .main-cta {font-size:1em; padding:13px 14px;}
  .hero-img-art {display:block; width:98vw; max-width:90vw; margin-left:0;}
  .code-block-fx {position:static; margin-top:-30px;}
}





/* ===== Hero Section ===== */


/* ===== Services Section ===== */



/* ====== Improved Services Section ====== */
.services-bg-decor {
  position: absolute;
  left: -150px;
  top: -90px;
  width: 320px;
  height: 300px;
  background: radial-gradient(circle, #eec85055 60%, #6713e633 100%);
  filter: blur(37px);
  z-index: 0;
  pointer-events: none;
}
.container {width: 95vw; max-width: 1200px; margin: 0 auto; position:relative; z-index:1; padding: 0 15px;}
.services-header {text-align: center; margin-bottom: 2rem;}
.services-title {font-size: 2.2rem; font-weight: bold;}
.services-subtitle {display: block; color:#6713e6; font-size: 1.1rem;}
.services-lead {max-width: 540px; margin: 12px auto 0 auto; color: #444; font-size:1.13rem;}

.services-main-row {
  display: flex; align-items: center; justify-content: center; gap: 64px;
  margin: 54px 0 0 0;
  flex-wrap:wrap;
}

.services-text.improved {max-width: 480px;}
.services-idea-icon {width:32px; vertical-align:middle; margin-right:6px;}
.services-text h3 {font-size:1.4rem;}
.highlight-bg {
  background: linear-gradient(90deg, #fcd30894 30%, transparent 100%);
  border-radius: 8px; padding: 0 6px; font-weight: bold; color: #6713e6;
}
.services-bullets {margin:14px 0 18px 0; padding:0; list-style:none;}
.li-icon {margin-right:7px; font-size:1.15em;}
.services-bullets li {color: #000000; margin-bottom:8px; font-size:1.05rem; display:flex; align-items:center;}
.services-main-btn {margin-top:20px;}

.services-cta-note {
  color:#8e57e3; font-size:.98rem; margin-top:16px; opacity:.82;
}

.services-img.improved {
  position: relative;
  z-index: 2;
}
.services-img.improved img {
  width: 370px;
  max-width: 95vw;
  border-radius: 20px;
  box-shadow: 0 6px 40px #a173e76c;
}

.floating-shape,
.floating-shape.shape2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.floating-shape {
  width: 70px; height: 70px;
  top: -28px; left: -32px;
  background: linear-gradient(135deg,#fcd308ed 60%, #6713e6cc 100%);
  opacity: 0.18;
  filter: blur(6px);
  animation: float1 8s ease-in-out infinite alternate;
}
.floating-shape.shape2 {
  width: 35px; height: 35px;
  bottom: 8px; right: -16px;
  background: #6713e6;
  opacity: 0.10;
  filter: blur(2px);
  animation: float2 7s ease-in-out infinite alternate;
}

@keyframes float1 { from{top:-28px;} to{top:-12px;} }
@keyframes float2 { from{right:-16px;} to{right:12px;} }

@media (max-width:950px) {
  .services-main-row{flex-direction:column;}
  .services-img.improved{margin:0 auto;}
  .services-header, .services-title {text-align:center;}
}

/* ====== Interactive Services ======= */
.interactive-services.improved {background:#f8f7fe; border-radius:22px; margin: 55px 0 0 0; padding: 54px 0 38px;}
.interactive-container.improved {
  display: flex; gap: 32px; justify-content: center; align-items: flex-start;
  max-width:1100px; margin:0 auto;
}
.service-tabs.improved {
  display:flex; flex-direction: column; gap:18px; min-width:220px; margin-top:12px;
}
.tab-btn {
  padding: 16px 24px; background: #3c00ff;
  color: #6713e6; font-weight:500; border-radius:18px; box-shadow: 0 4px 14px #9583e826;
  transition: 0.15s; font-size: 1.08rem; cursor:pointer; border:none; outline:none;
  text-align:left; display:flex;align-items:center;gap:8px;
  border:2px solid transparent;
  will-change:transform,background-color;
}.tab-btn.active
.tab-btn.active, .tab-btn:hover {
  background: linear-gradient(90deg, #2800b8ee 10%, #a313e6 90%);
  color: #fff; font-weight:700; box-shadow: 0 6px 30px #cbaaff23;
  border-color:#6713e685;
  transform: scale(1.04);
}

.service-details.improved {
  flex-grow:1;
  min-width:310px; max-width:510px;
  background: #fff;
  border-radius:18px;
  box-shadow:0 8px 34px #50279515;
  padding:32px 16px 24px 16px;
  position:relative;
  display:grid;
}
.service-card {
  display:none;
  opacity: 0;
  transform: translateY(35px) scale(.97);
  pointer-events:none;
  transition:opacity .24s, transform .22s;
}
.service-card.active {
  display:block;
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:all;
}
.services-card-content {
  display:flex;
  gap:20px;
  align-items:flex-start;
}
.service-icon {width:54px;height:54px;object-fit:contain; border-radius:14px; box-shadow:0 2px 20px #6713e626;}
.service-card h3{margin-top:0;margin-bottom:8px;font-size:1.15rem;color:#5c1798;font-weight:600;}
.services.improved {
  background: #FAF8FF;
  position: relative;
  padding: 60px 0 30px 0;
  margin-bottom:30px;
  overflow:hidden;
}
.services-decor {
  position: absolute; left: -80px; top: -60px; width: 250px; height: 280px;
  background: radial-gradient(circle, #fad96155 65%, #6713e633 100%);
  filter: blur(50px);
  z-index: 0; pointer-events: none;
}

.container {
  width:95vw; max-width:1200px; margin:0 auto; position: relative; padding: 0 15px;
}

.services-header {text-align:center; margin-bottom: 2rem;}
.services-title {font-size:2.1rem; font-weight:800; color:#4e178e; letter-spacing:0.3px;}
.services-lead {
  margin:12px auto 0 auto; font-size: 1.16rem; color:#48436a;
  max-width:520px; opacity: .91;
}
.services-main-row {display:flex; align-items:center;gap:46px; flex-wrap:wrap;}
.services-text.improved {max-width:450px;}
.services-idea-icon {width:28px; vertical-align:middle; margin-right:7px;}
.services-text h3 {font-size:1.4rem; font-weight:700; letter-spacing:0px; color: #000000;}
.highlight-bg {
  background: linear-gradient(90deg,#fcd30894 40%,transparent 100%);
  border-radius:8px; padding:2px 7px 2px 7px; color:#000000;
}
.services-bullets {margin:16px 0 20px 0; list-style:none; padding:0;}
.services-bullets li {font-size:1.08rem; margin-bottom:9px;}
.main-cta.gleam {
  display:inline-block; background:linear-gradient(90deg, #ffed93 40%, #ffd363 100%);
  color:#000000;font-weight:700; font-size:1rem; border-radius:26px; padding:11px 34px;
  box-shadow: 0 8px 32px #00000052; transition: 0.13s;
  text-decoration:none; border:none; margin-top:10px;
}
.main-cta.gleam:hover {box-shadow: 0 8px 50px #a278ff45; transform:scale(1.03);}
.services-cta-note {color:#933be3; font-size:.98rem; margin-top:14px; opacity:.85;}

.services-img.improved{position:relative;}
.services-img.improved img {
  width:350px; max-width:95vw; border-radius:22px;
  box-shadow:0 8px 38px #8141e725;
  z-index:2; position:relative;
}
.floating-shape.service-float1 {
  width:56px; height:56px; position:absolute; left:-22px; top:-30px;
  border-radius:50%; background:linear-gradient(135deg,#ffe486 60%, #7428fdcc 100%);
  opacity:.18; filter:blur(7px); z-index:1;
  animation: float1 6s ease-in-out infinite alternate;
}
.floating-shape.service-float2 {
  width:26px; height:26px; position:absolute; bottom:13px; right:-15px;
  border-radius:50%; background:#6713e6; opacity:.11; filter:blur(2px);
  animation: float2 4.3s linear infinite alternate;
}

@keyframes float1 {from{top:-30px;}to{top:-10px;}}
@keyframes float2 {from{right:-15px;}to{right:12px;}}

/* Responsive */
@media (max-width:900px){
  .services-main-row{flex-direction:column;}
  .services-text.improved{text-align:center; margin-bottom:32px;}
  .services-img.improved{margin:0 auto;}
}

/* ====== Interactive Services Improved ====== */
.interactive-services.improved {background: #f8f7fe; border-radius:22px; margin: 35px 0 0 0; padding: 40px 0 35px;}
.interactive-container.improved {display: flex; gap: 28px; justify-content: center; align-items: flex-start; max-width:1100px; margin:0 auto;}
.service-tabs.improved {display:flex; flex-direction:column;gap:16px; min-width:165px;}
.tab-btn {padding:14px 23px; background:#ece7fd; color:#6713e6; font-weight:500; border-radius:16px; 
  font-size:1.05rem; cursor:pointer; border:none; outline:none; text-align:left; display:flex; align-items:center; gap:9px;
  transition:0.13s; border:2px solid transparent;}
.tab-btn.active, .tab-btn:hover {
  background:linear-gradient(90deg, #2800b8ee 15%, #a313e6 100%); color:#fff; font-weight:700; 
  border-color:#6713e685; transform: scale(1.04);
}

.service-details.improved{flex-grow:1; min-width:270px; max-width:495px;
  background:#fff; border-radius:17px; box-shadow:0 6px 32px #5027951a;
  padding:30px 16px 26px 16px; position:relative; display:grid;}
.service-card {display:none; opacity:0; transform:translateY(30px) scale(0.97); pointer-events:none; transition:opacity .22s, transform .18s;}
.service-card.active {display:block; opacity:1; transform:translateY(0) scale(1); pointer-events:all;}
.services-card-content {display: flex; gap:18px; align-items: flex-start;}
.service-icon {width:50px;height:50px;object-fit:contain; border-radius:12px;}
.service-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 14px #6713e626;
  background: #fff;
  transition: box-shadow .2s;
}
.services-card-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.service-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.18rem;
  color: #5c1798;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.service-card p {
  font-size: 1rem;
  opacity: .93;
  color: #48436a;
  margin-bottom: 20px;
  margin-top: 0;
}
.card-cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #2800b8ee 40%, #a313e6 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  padding: 9px 24px;
  box-shadow: 0 6px 20px #4e15c110;
  text-decoration: none;
  margin-top: 5px;
  transition: 0.15s;
  letter-spacing: .1px;
  border: none;
  cursor: pointer;
}
.card-cta-btn:hover {
  box-shadow: 0 10px 30px #a278ff68;
  transform: scale(1.045);
  opacity: .97;
  color: #fff;
}
.service-card.active .service-icon {
  box-shadow: 0 6px 24px #4412c28a;
}
.service-card {
  background: rgba(248, 247, 254, 0.81);
  border-radius: 15px;
  padding: 10px 8px;
  transition: background-color .4s;
}
.service-card.active, .service-card:hover {
  background: #fff;
}
/* Responsive adjustments */
@media (max-width: 800px) {
  .interactive-container.improved {
    flex-direction: column;
    gap: 13px;
  }
  .service-tabs.improved {
    flex-direction: row;
    gap: 13px;
    margin-bottom: 16px;
    min-width: 0;
    overflow-x: auto;
  }
  .tab-btn {
    min-width: 165px;
    text-align: center;
    padding: 14px 16px;
    font-size: 1rem;
  }
  .service-details.improved {
    max-width: unset;
    min-width: 0;
    padding: 28px 10px 18px 10px;
  }
  .services-card-content {
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .services-img.improved img { width: 98vw; }
  .service-tabs.improved { flex-direction: column; }
}


/* Dublicate */
.interactive-container.improved.tabs-right {
  flex-direction: row-reverse;
}
@media (max-width: 750px) {
  .interactive-container.improved.tabs-right {
    flex-direction: column !important;
  }
  .service-tabs.improved { flex-direction: row; min-width: 0; margin-bottom: 16px;}
}

/* (اختر لك ألوان وتعديل بالنسب لو تحب، نفس النمط على كل حاجة) */
























/* مخصص للكارت بنظام الصورة الكبيرة فوق */
.large-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 8px;
  text-align: center;
}
.large-service-img {
  width: 96%; /* للصورة الرئيسية، غيرها حسب رغبتك */
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  margin-bottom: 16px;
  margin-top: 8px;
  box-shadow: 0 8px 32px #b78ffd18;
  object-fit: contain;
  background: #fff;
}
.service-card h3 {
  font-size: 1.21rem;
  color: #5c1798;
  font-weight: bold;
  margin-bottom: 7px;
  margin-top: 0;
}
.service-card p {
  font-size: 1.13rem;
  color: #232039;
  opacity: .91;
  margin-bottom: 16px;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 800px) {
  .large-service-img { max-width: 98vw; }
  .service-card h3, .service-card p { text-align: center;}
}



















/* Enhanced About Section Styles */
/* Enhanced About Section Styles - Dark Theme */
.about-section-enhanced {
  padding: 100px 0;
  background: #24005A;
  position: relative;
  overflow: hidden;
}

/* Background Effects */
.about-section-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 200, 47, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.about-section-enhanced::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(138, 79, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.title-accent {
  color: #fdc82f;
  text-shadow: 0 0 30px rgba(253, 200, 47, 0.5);
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fdc82f 0%, #8a4fff 100%);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(253, 200, 47, 0.5);
}

/* About Content Grid */
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 100px;
}

/* Company Info Section */
.about-text-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.about-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(1.2);
}

.company-name {
  font-size: 2rem;
  font-weight: 700;
}

.company-name .colored {
  color: #fdc82f;
  text-shadow: 0 0 20px rgba(253, 200, 47, 0.5);
}

.company-name .for {
  color: #fff;
  font-size: 1.6rem;
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.lead-text strong {
  color: #fdc82f;
}

/* Company Stats */
.company-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
  padding: 40px;
  background: rgba(138, 79, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(138, 79, 255, 0.3);
  backdrop-filter: blur(10px);
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fdc82f;
  margin-bottom: 5px;
  text-shadow: 0 0 20px rgba(253, 200, 47, 0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Company Values */
.company-values {
  margin-top: 40px;
}

.company-values h4 {
  font-size: 1.5rem;
  color: #fdc82f;
  margin-bottom: 20px;
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.values-list i {
  color: #8a4fff;
  font-size: 1.2rem;
}

/* Visual Gallery */
.about-visuals {
  padding: 20px;
}

.visual-gallery {
  display: grid;
  gap: 20px;
  height: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(253, 200, 47, 0.2);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(253, 200, 47, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.main-image {
  grid-column: 1 / -1;
  height: 300px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-grid .gallery-item {
  height: 150px;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(36, 0, 90, 0.9), transparent);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay span {
  color: #fdc82f;
  font-weight: 600;
}

/* Team Section */
.team-section {
  margin-top: 80px;
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.team-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* CEO Section */
.ceo-section {
  margin-bottom: 80px;
}

.ceo-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: center;
  background: rgba(138, 79, 255, 0.1);
  padding: 60px;
  border-radius: 30px;
  border: 1px solid rgba(138, 79, 255, 0.3);
  backdrop-filter: blur(10px);
}

.ceo-image-wrapper {
  position: relative;
}

.ceo-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid rgba(253, 200, 47, 0.3);
}

.ceo-social {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  background: rgba(36, 0, 90, 0.9);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 200, 47, 0.3);
}

.ceo-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 200, 47, 0.2);
  color: #fdc82f;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(253, 200, 47, 0.3);
}

.ceo-social a:hover {
  background: #fdc82f;
  color: #24005A;
  transform: translateY(-3px);
}

.ceo-info {
  padding: 20px;
}

.ceo-name {
  font-size: 2.2rem;
  color: #fdc82f;
  margin-bottom: 5px;
  text-shadow: 0 0 20px rgba(253, 200, 47, 0.3);
}

.ceo-title {
  font-size: 1.3rem;
  color: #8a4fff;
  margin-bottom: 25px;
}

.ceo-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.ceo-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-left: 4px solid #fdc82f;
  background: rgba(253, 200, 47, 0.1);
  border-radius: 10px;
}

/* Department Heads */
.department-heads {
  margin-top: 60px;
}

.heads-title {
  font-size: 2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 50px;
}

.heads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.team-member-card {
  background: rgba(138, 79, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(138, 79, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.team-member-card:hover {
  transform: translateY(-10px);
  border-color: rgba(253, 200, 47, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.member-image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member-card:hover .member-image {
  transform: scale(1.1);
}

.member-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 0, 90, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .member-overlay {
  opacity: 1;
}

.member-social {
  display: flex;
  gap: 15px;
}

.member-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 200, 47, 0.2);
  color: #fdc82f;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(253, 200, 47, 0.3);
}

.member-social a:hover {
  background: #fdc82f;
  color: #24005A;
  transform: scale(1.1);
}

.member-info {
  padding: 30px;
}

.member-name {
  font-size: 1.4rem;
  color: #fdc82f;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(253, 200, 47, 0.3);
}

.member-position {
  font-size: 1.1rem;
  color: #8a4fff;
  margin-bottom: 5px;
}

.member-department {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
}

.member-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Team CTA */
.team-cta {
  text-align: center;
  margin-top: 60px;
}

.view-team-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #fdc82f 0%, #f4b400 100%);
  color: #24005A;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(253, 200, 47, 0.3);
  position: relative;
  overflow: hidden;
}

.view-team-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8a4fff 0%, #6a3dd0 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.view-team-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(253, 200, 47, 0.5);
  color: white;
}

.view-team-btn:hover::before {
  left: 0;
}

.view-team-btn i {
  transition: transform 0.3s ease;
}

.view-team-btn:hover i {
  transform: translateX(5px);
}

/* Additional Decorative Elements */
.about-section-enhanced .container::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -50px;
  width: 100px;
    height: 100px;
  background: radial-gradient(circle, rgba(253, 200, 47, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.about-section-enhanced .container::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(138, 79, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-text-content {
    padding: 30px;
  }
  
  .ceo-card {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }
  
  .ceo-image-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .ceo-image {
    height: 350px;
  }
  
  .heads-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-section-enhanced {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .company-logo-section {
    flex-direction: column;
    text-align: center;
  }
  
  .company-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .main-image {
    height: 200px;
  }
  
  .gallery-grid .gallery-item {
    height: 120px;
  }
  
  .ceo-card {
    padding: 30px 20px;
  }
  
  .ceo-name {
    font-size: 1.8rem;
  }
  
  .ceo-quote {
    font-size: 1rem;
    padding: 20px;
  }
  
  .team-title {
    font-size: 2rem;
  }
  
  .team-member-card {
    max-width: 350px;
  margin: 0 auto;
  }
  
  .member-image-wrapper {
    height: 250px;
  }
  
  .view-team-btn {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .company-name {
    font-size: 1.5rem;
  }
  
  .about-logo {
    width: 60px;
    height: 60px;
  }
  
  .lead-text {
    font-size: 1rem;
  }
  
  .values-list li {
    font-size: 0.95rem;
  }
  
  .member-info {
    padding: 20px;
  }
  
  .member-name {
    font-size: 1.2rem;
  }
  
  .member-position {
    font-size: 1rem;
  }
}

/* Animation Classes for Scroll Effects */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hover Effects for Interactive Elements */
.about-section-enhanced a:not(.view-team-btn):hover {
  color: #fdc82f;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(253, 200, 47, 0.2), rgba(138, 79, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

/* Loading Animation for Stats */
@keyframes statPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.stat-number.animated {
  animation: statPulse 0.6s ease;
}

/* Smooth Scrolling for Internal Links */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.view-team-btn:focus,
.member-social a:focus,
.ceo-social a:focus {
  outline: 2px solid #fdc82f;
  outline-offset: 3px;
}

/* Print Styles */
@media print {
  .about-section-enhanced {
    background: white;
    color: black;
  }
  
  .about-section-enhanced * {
    color: black !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}










/* .portfolio-section {
  padding: 38px 0 32px 0;
  background: #fff;
}
.portfolio-title {
  text-align: center;
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 8px;
  color: #111;
  letter-spacing: 1px;
}
.portfolio-tabs-row {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto 1.5em 8vw;
  gap: 17px;
}
.portfolio-tab.active {
  color: #6713e6;
  font-size: 1.7em;
  font-weight: bold;
  transition: color 0.15s;
}
.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
  justify-content: center;
}
.portfolio-item {
  background: #f8f8ff;
  border: 4px solid #6713e6;
  border-radius: 41px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 16px #ae8eec11;
}
.portfolio-item img {
  width: 100%;
  display: block;
  border-radius: 0;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top center;
}
.portfolio-desc {
  padding: 20px 16px 18px 21px;
}
.portfolio-desc strong {
  font-size: 1.18em;
  color: #1b1155;
  font-weight: bold;
  display: block;
  margin-bottom: 7px;
}
.portfolio-desc p {
  font-size: 1.07em;
  color: #121214;
  margin: 0;
}


@media (max-width: 900px){
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .portfolio-tabs-row {
    margin-left: 2vw;
    font-size: 1.15em;
  }
  .portfolio-item {border-radius: 29px;}
}
@media (max-width: 600px){
  .portfolio-desc {padding: 10px 9px 12px 12px;}
  .portfolio-title {font-size: 1.43em;}
  .portfolio-item {border-radius: 15px;}
}

.portfolio-item {
  transition: 
    transform 0.25s cubic-bezier(.28,.91,.55,1.14),
    box-shadow 0.22s, 
    border-color 0.19s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, box-shadow;
}
.portfolio-item:hover,
.portfolio-item:focus-visible {
  transform: translateY(-12px) scale(1.035);
  box-shadow: 0 24px 38px 0 #9340ff33, 0 3px 0 #fff7;
  border-color: #a969f5;
  z-index: 10;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg,rgba(180,120,255,0.08) 30%,rgba(255,255,255,0.08) 100%);
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 1;
  pointer-events: none;
}
.portfolio-item:hover::before,
.portfolio-item:focus-visible::before {
  opacity: 1;
}

/* حركة للصورة 
.portfolio-item img {
  transition: transform 0.23s cubic-bezier(.38,.7,.54,1.12), 
              filter 0.23s;
  z-index: 2;
  position: relative;
}
.portfolio-item:hover img,
.portfolio-item:focus-visible img {
  transform: scale(1.04) rotate(-1.2deg);
  filter: brightness(1.13) saturate(1.09);
}

/* تغيير العنوان 
.portfolio-item:hover strong,
.portfolio-item:focus-visible strong {
  color: #8e4fff;
  transition: color 0.17s;
} */



.portfolio-section {
  background: linear-gradient(120deg, #ffffff 60%, #f8f4ff 100%);
  padding: 70px 0 55px 0;
  position: relative;
}

.portfolio-title {
  text-align: center;
  font-weight: 900;
  font-size: 2.4em;
  color: #1C0F50;
  letter-spacing: 0.4px;
  margin-bottom: 15px;
}

.portfolio-tabs-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
}

.portfolio-tab {
  font-weight: 700;
  font-size: 1.25em;
  color: #7a1ee6;
  cursor: pointer;
  transition: color .15s;
  padding: 4px 13px 6px 13px;
  border-radius: 13px;
}
.portfolio-tab.active, .portfolio-tab:hover {
  background: linear-gradient(90deg, #f7e7ff 70%, #fffbe6 100%);
  color: #6713e6;
  border: 1.7px solid #c7a0ff;
}

.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 38px 32px;
  justify-content: center;
  align-items: stretch;
  padding: 0 32px;
}

.portfolio-item {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 9px 32px 0 #511ad415, 0 1.7px 0 #e7dcfa;
  border: 2.5px solid #a489e630;
  transition: box-shadow 0.19s, border-color 0.18s, transform .19s;
  display: flex;
  flex-direction: column;
}
.portfolio-item:hover, .portfolio-item:focus-visible {
  box-shadow: 0 20px 54px #a789ff44, 0 1.5px 0 #fff7;
  border-color: #a564fd;
  transform: translateY(-7px) scale(1.028);
  z-index: 2;
}
.portfolio-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(100deg, #f1ecfa 60%, #daf9fa 100%);
  display: flex; justify-content: center; align-items: center;
}
.portfolio-img-wrap img {
  width: 97%; height: auto;
  border-radius: 20px 20px 0 0;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  transition: box-shadow 0.16s;
  box-shadow: 0 8px 16px #e3d3fd13;
}

.portfolio-desc {
  padding: 18px 20px 20px 20px;
  text-align: left;
}
.portfolio-desc strong {
  display: block;
  font-size: 1.22em;
  color: #3e179b;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: .01em;
}
.portfolio-desc p {
  font-size: 1.09em;
  color: #3e3a5b;
  margin-bottom: 8px;
  opacity: 0.91;
}
.portfolio-cta {
  display: inline-block;
  background: linear-gradient(90deg,#ffb700  0%, #ffd469 100%);
  color: #000;
  font-weight: 700;
  padding: 8px 24px 8px 24px;
  border-radius: 20px;
  margin-top: 6px;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 3.5px 14px #7845c728;
  transition: background .12s, color .12s, box-shadow .14s;
}
.portfolio-cta:hover {
  background: #fdc82f;
  color: #481ad4;
  box-shadow: 0 13px 48px #fcd30825;
}

/* Responsive: 1 column on very small screens */
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 26px 0;}
  .portfolio-section { padding: 35px 0 33px 0;}
  .portfolio-title {font-size:2em;}
}




.section-divider {
  width: 100%;
  height: 22px;
  background: linear-gradient(90deg, #fff0, #ffd36342 50%, #fff0);
  border: none;
  margin-bottom: -14px;
  margin-top: -3px;
  filter: blur(3.5px);
}














.contact-section.contact-light {
  padding: 0;
  background: linear-gradient(135deg, #fffbe7 0%, #ebe6fa 80%, #cbe4ff 100%);
  min-height: 550px;
  position: relative;
  border-radius: 48px 48px 0 0;
  margin-top: 64px;
  overflow: hidden;
  box-shadow: 0 -6px 54px #a590ff16, 0 2px 0 #fff;
}

.contact-shape-1, .contact-shape-2, .contact-shape-ring {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.contact-shape-1 {
  width: 240px; height: 240px;
  left: -100px; top: -60px;
  background: linear-gradient(135deg, #fffde3 10%, #c0baff 100%);
  filter: blur(4px);
  opacity: 0.27;
  border-radius: 39% 59% 66% 34%;
}
.contact-shape-2 {
  width: 130px; height: 110px;
  right: -41px; bottom: 45px;
  background: linear-gradient(140deg, #ffe7ba 10%, #ffd44d 80%);
  filter: blur(7px);
  opacity: 0.20;
  border-radius: 20px 58% 91% 17% / 31% 100% 0% 69%;
}
.contact-shape-ring {
  width: 82px; height: 82px;
  left: 50%; top: 25px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 4.5px solid #ffd36344;
  background: none;
  filter: blur(.5px);
  opacity: 0.40;
}

.contact-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 70px 28px 60px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.contact-info {
  flex: 1.13;
  min-width: 260px;
}
.contact-info h2 {
  color: #4d00bb;
  font-size: 2.9em;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: .035em;
  line-height: 1.04;
}
.contact-info h2 span {
  color: #ffd363;
  text-shadow: 0 2px 12px #ffeec257;
}
.contact-info p {
  color: #400086;
  font-size: 1.12em;
  margin-bottom: 31px;
}
.contact-icons {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}
.contact-icons a img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 18px #ffd36325) brightness(1.038);
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  transition: transform 0.18s, filter 0.18s;
  box-shadow:0 2px 7px #e7c94a22;
}
.contact-icons a:hover img {
  transform: scale(1.18) rotate(-5deg);
  filter: brightness(1.24);
}

.glass-form.contact-form {
  flex: 2;
  background: rgba(255, 255, 255, 0.63);
  border-radius: 32px;
  padding: 39px 30px 29px 30px;
  box-shadow: 0 3px 48px #a594ffe7;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  border: 1.7px solid #ebe0ff;
  backdrop-filter: blur(11px) saturate(1.15);
  -webkit-backdrop-filter: blur(11px) saturate(1.15);
}
.glass-form input, .glass-form textarea {
  font-size: 1.08em;
  width: 100%;
  border: none;
  outline: none;
  background: #f9f5ff;
  color: #3f1853;
  border-radius: 17px;
  padding: 15px 19px 15px 15px;
  margin: 0;
  box-shadow: 0 2px 7px #ede0fa28;
  transition: box-shadow 0.16s, background-color 0.17s;
  font-family: inherit;
  resize: none;
}
.glass-form input:focus, .glass-form textarea:focus {
  background: #fffde2;
  box-shadow: 0 5px 23px #ffd36336, 0 1.2px 0 #8f099a14;
}
.send-btn {
  background: linear-gradient(90deg,#ffd363 25%, #ffbf1f 85%);
  color: #222;
  font-size: 1.13em;
  font-weight: bold;
  border: none;
  padding: 14px 44px;
  border-radius: 17px;
  cursor: pointer;
  margin: 18px 0 0 0;
  box-shadow: 0 3px 18px #ffbf1f29;
  transition: background-color 0.17s, color 0.11s, box-shadow 0.13s, transform 0.12s;
  letter-spacing: .02em;
}
.send-btn:hover, .send-btn:focus {
  background: linear-gradient(90deg,#ffbe2c 5%, #ffe680 100%);
  color: #6614dd;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 26px #ffd36331;
}
.contact-success {
  color: #fff;
  background: #380064e4;
  border-radius: 13px;
  text-align: center;
  padding: 12px 6px;
  font-weight: bold;
  font-size: 1.13em;
  margin-top: 10px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px #8740be15;
}

/* Responsive */
@media (max-width: 850px){
  .contact-container {
    flex-direction: column;
    gap: 30px;
    padding: 35px 6vw 32px 6vw;
  }
  .glass-form {padding: 18px 11px;}
  .contact-info h2 {font-size: 2em;}
}
@media (max-width: 500px){
  .contact-section.contact-light {border-radius: 17px 17px 0 0;}
  .contact-container {padding: 15px 3vw;}
}











.reviews-section {
  position: relative;
  padding: 90px 0 56px 0;
  background: linear-gradient(120deg, #400086 65%, #e6daff 115%);
  /* ممكن اضافة overlay لون شفاف فوق كده */
  overflow: visible;
  z-index: 5;
}
.reviews-bg-shapes .shape, .reviews-bg-shapes .shape2 {
  position: absolute;
  border-radius: 40px;
  opacity: .20;
  z-index: 1;
}
.reviews-bg-shapes .shape {
  width: 280px; height: 180px;
  left: -80px; top: 18px;
  background: linear-gradient(120deg, #e0cfff 10%, #761fde 80%);
  filter: blur(4px);
}
.reviews-bg-shapes .shape2 {
  width: 150px; height: 120px;
  right: -62px; top: 60px;
  background: linear-gradient(120deg, #ffd363 20%, #fbeb9e 90%);
  filter: blur(6px);
}

.reviews-title {
  text-align: center;
  font-size: 2.8em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 64px;
  letter-spacing: .02em;
  text-shadow:
    0 4px 40px #6713e682,
    0 1.5px 0 #fff8;
}
.reviews-title .effect {
  color: #FFD363;
  filter: blur(0.3px) brightness(1.13);
  text-shadow: 0 2px 32px #ffd363be, 0 4px 23px #6a00ce2b;
  font-size: 1.09em;
  letter-spacing: 2px;
}

.reviews-row {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
}
.review-card {
  background:
    linear-gradient(135deg,#fff3 30%,#ffd3631c 100%);
  backdrop-filter: blur(8px) saturate(1.18);
  -webkit-backdrop-filter: blur(8px) saturate(1.18);
  border-radius: 23px;
  box-shadow: 0 4px 34px #a590ffd7, 0 1.5px 0 #fff8;
  padding: 31px 24px 22px 24px;
  max-width: 370px;
  min-width: 255px;
  min-height: 237px;
  color: #fff;
  font-size: 1.13em;
  font-weight: 500;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border: 1.2px solid #fff5;
  overflow: hidden;
  transition:
    box-shadow 0.19s,
    transform 0.19s,
    border 0.22s,
    background-color 0.3s;
}

.review-card:hover, .review-card:focus-visible {
  box-shadow: 0 19px 52px #ffd36336, 0 9px 19px #40008625;
  background: linear-gradient(120deg,#fff6 60%,#e7daff35 100%);
  border: 2.1px solid #FFD363;
  transform: scale(1.043) translateY(-7px) rotate(-1deg);
  z-index: 4;
}

.review-stars svg {
  margin-right: 1.2px;
  filter: drop-shadow(0 1px 5px #ffd36399);
}
.review-text {
  margin-top: 7px;
  margin-bottom: 21px;
  min-height: 65px;
  letter-spacing: 0.017em;
  color: #f4effe;
  text-shadow: 0 1.2px 0 #8800ff42;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  margin-bottom: 0;
}
.reviewer img {
  width: 44px;
  height: 44px;
  border-radius: 99px;
  object-fit: cover;
  border: 2px solid #FFD36388;
  background: #fff;
}
.reviewer-name {
  font-weight: bold;
  color: #fff;
  font-size: 1.10em;
  margin-bottom: 0.5px;
  letter-spacing: 0.01em;
  text-shadow: 0 0.5px 0 #ffd36322;
}
.reviewer-role {
  color: #f5dd7f;
  font-size: 0.97em;
}

@media (max-width: 1100px) {
  .reviews-row {gap: 20px;}
}
@media (max-width: 700px) {
  .review-card {padding: 21px 7px 16px 12px;}
  .reviews-title {font-size: 1.5em;}
}










.footer-section {
  /* 27009f 400086 */
  background: linear-gradient(90deg, #24005A 30%, #7a00cc 100%);
  color: #fff;
  padding: 38px 0 15px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 0;
  font-family: inherit;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 29px 15px;
}
.footer-brand .footer-logo {
  font-size: 1.6em;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.footer-brand .footer-logo span {
  color: #ffd363;
  font-weight: 700;
}
.footer-copyright {
  color: #ddd8ffdc;
  font-size: 0.97em;
  margin-top: 9px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 19px 24px;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08em;
  opacity: 0.85;
  transition: color 0.17s, opacity 0.17s;
}
.footer-links a:hover {
  color: #ffd363;
  opacity: 1;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.09) brightness(1.12) drop-shadow(0 1px 2px #ffd36328);
  border-radius: 7px;
  background: #fff4;
  padding: 3px;
  transition: filter 0.13s, transform 0.14s;
}
.footer-social a:hover img {
  filter: brightness(1.5) drop-shadow(0 2px 7px #ffd363cc);
  transform: scale(1.13) rotate(-7deg);
}

@media (max-width:720px){
  .footer-container{flex-direction:column;align-items:flex-start;gap:20px;}
  .footer-section{border-radius: 18px 18px 0 0;padding: 28px 0 9px 0;}
}

/* ===== ADDITIONAL RESPONSIVE IMPROVEMENTS ===== */

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Improve button touch targets on mobile */
@media (max-width: 768px) {
  .nav-links li a,
  .dropbtn,
  .tab-btn,
  .main-cta,
  .card-cta-btn,
  .portfolio-cta,
  .about-btn,
  .send-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .user-icon-btn,
  .menu-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Improve form inputs on mobile */
@media (max-width: 768px) {
  .glass-form input,
  .glass-form textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
}

/* Improve scrolling on mobile */
@media (max-width: 768px) {
  .service-tabs.improved {
    -webkit-overflow-scrolling: touch;
  }
  
  .portfolio-grid {
    -webkit-overflow-scrolling: touch;
  }
}

/* Loading state styles */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Scrolled navbar styles */
.navbar-tech.scrolled {
  background: linear-gradient(90deg, #24005A 30%, #7a00cc 100%);
  box-shadow: 0 4px 20px rgba(60,0,97,0.15);
}

/* Mobile view specific styles */
.mobile-view .hero-coding {
  text-align: center;
}

.mobile-view .services-main-row {
  flex-direction: column;
}

.mobile-view .interactive-container.improved {
  flex-direction: column;
}

/* Tablet view specific styles */
.tablet-view .portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Ensure proper spacing on all devices */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .hero-coding,
  .services.improved,
  .interactive-services.improved,
  .about-section,
  .portfolio-section,
  .reviews-section,
  .contact-section.contact-light {
    padding-left: 10px;
    padding-right: 10px;
  }
}












/* ========== Floating Chat System ========== */
.floating-chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Floating Chat Button */
.floating-chat-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6);
  }
  100% {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }
}

.floating-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.chat-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  animation: bounce 1s infinite;
}

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

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  height: 600px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideIn 0.3s ease;
}

.chat-window.show {
  display: flex;
}

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

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.online-status {
  display: flex;
  align-items: center;
  font-size: 12px;
  opacity: 0.9;
}

.online-status .dot {
  width: 8px;
  height: 8px;
  background: #4cd137;
  border-radius: 50%;
  margin-right: 5px;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.5;
  }
}

.chat-header-actions {
  display: flex;
  gap: 10px;
}

.chat-header-actions button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.3s;
}

.chat-header-actions button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Chat Tabs */
.chat-tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.chat-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
  color: #6c757d;
  transition: all 0.3s;
  position: relative;
}

.chat-tab:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.chat-tab.active {
  color: #667eea;
  font-weight: 600;
}

.chat-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #667eea;
}

.chat-tab svg {
  fill: currentColor;
}

/* Chat Content */
.chat-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.chat-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  flex-direction: column;
}

.chat-panel.active {
  display: flex;
}

/* Messages Panel */
.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  display: flex;
  gap: 10px;
  animation: messageIn 0.3s ease;
}

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

.message.me {
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.msg-content {
  max-width: 70%;
}

.msg-header {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 12px;
}

.msg-name {
  font-weight: 600;
  color: #495057;
}

.msg-time {
  color: #adb5bd;
}

.msg-text {
  background: #f1f3f5;
  padding: 10px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #212529;
}

.message.me .msg-text {
  background: #667eea;
  color: white;
}

.message.other .msg-text {
  border-top-left-radius: 4px;
}

.message.me .msg-text {
  border-top-right-radius: 4px;
}

/* Chat Input */
.chat-input-container {
  padding: 15px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input-actions {
  display: flex;
  gap: 5px;
}

.chat-input-actions button {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.chat-input-actions button:hover {
  background: #f1f3f5;
}

.chat-input-actions svg {
  fill: #6c757d;
}

.chat-input {
  flex: 1;
  border: 1px solid #e9ecef;
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.chat-input:focus {
  border-color: #667eea;
}

.send-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #667eea;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.send-btn:hover {
  background: #764ba2;
  transform: scale(1.1);
}

.send-btn svg {
  fill: white;
}

/* Community Panel */
.community-stats {
  display: flex;
  gap: 15px;
  padding: 15px;
}

.stat-card {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.stat-card h4 {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
  font-weight: normal;
}

.stat-number {
  font-size: 28px;
  font-weight: bold;
  margin-top: 5px;
}

.online-users {
  padding: 0 15px 15px;
}

.online-users h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #212529;
}

.users-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.3s;
  cursor: pointer;
}

.user-item:hover {
  background: #e9ecef;
}

.user-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  font-size: 14px;
}

.user-status {
  font-size: 12px;
  color: #6c757d;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.active {
  background: #4cd137;
}

.status-dot.busy {
  background: #ffa502;
}

.community-channels {
  padding: 0 15px 15px;
}

.community-channels h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #212529;
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
  color: #495057;
  border-radius: 8px;
  transition: all 0.3s;
}

.channel-item:hover {
  background: #f1f3f5;
  color: #667eea;
}

.channel-icon {
  font-weight: bold;
  color: #6c757d;
}

.channel-name {
  flex: 1;
}

.channel-count {
  font-size: 12px;
  color: #adb5bd;
}

/* Features Panel */
.features-list {
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  overflow-y: auto;
  max-height: 100%;
}

.feature-item {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s;
  cursor: pointer;
}

.feature-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.feature-icon {
  margin-bottom: 10px;
}

.feature-item h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #212529;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-chat-btn {
    width: 50px;
    height: 50px;
  }

  .chat-window {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    border-radius: 0;
    max-width: none;
  }

  .chat-header h3 {
    font-size: 16px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-number {
    font-size: 24px;
  }
}

/* Scrollbar Styling */
.messages-container::-webkit-scrollbar,
.features-list::-webkit-scrollbar {
  width: 6px;
}

.messages-container::-webkit-scrollbar-track,
.features-list::-webkit-scrollbar-track {
  background: #f1f3f5;
}

.messages-container::-webkit-scrollbar-thumb,
.features-list::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 3px;
}

.messages-container::-webkit-scrollbar-thumb:hover,
.features-list::-webkit-scrollbar-thumb:hover {
  background: #868e96;
}