:root {
  --primary-color: #6c9e8f;
  --secondary-color: #1e2b3c;
  --text-color: #5b6f82;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  width: 100%;
  line-height: 2;
  overflow-x: hidden;
}

/* Navbar */
/* ===== Navbar Full Width ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}


.navbar .container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0 30px;
}

/* الروابط في المنتصف */
.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--secondary-color, #1e2b3c) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color, #6c9e8f);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover {
    color: var(--primary-color, #6c9e8f) !important;
}

/* أزرار التحكم */
.theme-toggle,
.lang-toggle {
    background: rgba(108, 158, 143, 0.1);
    border: 1px solid rgba(108, 158, 143, 0.3);
    color: var(--secondary-color, #1e2b3c);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.theme-toggle:hover,
.lang-toggle:hover {
    background: var(--primary-color, #6c9e8f);
    color: white;
    transform: translateY(-2px);
}
/* زر Contact */
.navbar .btn-primary {
    background: var(--primary-color, #6c9e8f);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.navbar .btn-primary:hover {
    background: #558b7c;
    transform: translateY(-2px);
}
/* ===== Responsive Navbar ===== */
@media (max-width: 1200px) {
    .navbar-nav {
        gap: 0;
    }
    
    .nav-link {
        padding: 8px 12px !important;
        font-size: 0.7rem;
        
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar .container-fluid {
        padding: 0 20px;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 16px;
        margin-top: 15px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        text-align: center;
        gap: 8px;
        width: 100%;
    }
    
    .nav-link {
        padding: 10px !important;
        font-size: 1rem;
        display: block;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* أزرار التحكم */
    .navbar .d-flex {
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .theme-toggle,
    .lang-toggle {
        padding: 8px 20px;
        font-size: 0.9rem;
        min-width: 80px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar .container-fluid {
        padding: 0 15px;
    }
    
    .navbar-brand img {
        height: 30px !important;
    }
    
    .nav-link {
        padding: 8px !important;
        font-size: 0.9rem;
    }
    
    .theme-toggle,
    .lang-toggle {
        padding: 6px 16px;
        font-size: 0.85rem;
        min-width: 70px;
    }
}

@media (max-width: 991px) {
    /* أزرار التحكم مع زر Contact */
    .navbar .d-flex {
        width: 100%;
        justify-content: center;
        gap: 12px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        flex-wrap: wrap;
    }
    
    .navbar .btn-primary {
        padding: 6px 20px;
        font-size: 0.85rem;
    }
}

/* Dark Mode */
[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.95) !important;
    border-bottom: 1px solid #334155;
}

[data-theme="dark"] .navbar-collapse {
    background: rgba(30, 41, 59, 0.98) !important;
}

[data-theme="dark"] .nav-link {
    color: #94a3b8 !important;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-color, #7ab3a5) !important;
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .lang-toggle {
    background: rgba(122, 179, 165, 0.15);
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .lang-toggle:hover {
    background: #7ab3a5;
    color: #0f172a;
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-bg) 0%, #f8fafc 100%);
    /* background: var(--light-bg, #f8fafc); */

  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero .container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.hero .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 200px;
  width: 100%;
}

.hero .col-lg-6:first-child {
  flex: 1;
  max-width: 600px;
}

.hero .col-lg-6:last-child {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 600px;
}

.hero-badge {
  margin-bottom: 25px;
}

.hero-badge span {
  background: rgba(108, 158, 143, 0.1);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-title .highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.6rem;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 400;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 35px;
  max-width: 100%;
  line-height: 1.6;
  color: #555;
}

.hero-stats {
  display: flex;
  gap: 100px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 45px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(108, 158, 143, 0.3);
}

.btn-primary:hover {
  background: #558b7c;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(108, 158, 143, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(108, 158, 143, 0.3);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  object-fit: cover;
  border: 12px solid var(--primary-color);
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.15);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

@media (max-width: 1200px) {
  .hero .row {
    padding-top: 120px;
    padding-left: 70px;
    gap: 80px;
  }
  .hero-title { font-size: 4rem; }
  .hero-image img { width: 450px; height: 450px; }
}

@media (max-width: 992px) {
  .hero .row {
    padding-top: 120px;
    flex-direction: column;
    text-align: center;
    gap: 70px;
  }
  .hero .col-lg-6:first-child,
  .hero .col-lg-6:last-child {
    max-width: 100%;
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    gap: 60px;
  }
  .stat-item { align-items: center; }
  .hero-buttons { justify-content: center; }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
  }
  .hero-image img { width: 400px; height: 400px; }
}

@media (max-width: 768px) {
  .hero .row {
    padding-top: 120px;
    gap: 50px;
  }
  .hero-title { font-size: 3.5rem; }
  .hero-subtitle { font-size: 1.4rem; }
  .hero-description {
    max-width: 100%;
    font-size: 1.1rem;
  }
  .hero-stats { gap: 40px; }
  .stat-number { font-size: 2rem; }
}

@media (max-width: 576px) {
  .hero .row {
    padding-top: 120px;
    gap: 40px;
  }
  .hero .container { padding: 0 20px; }
  .hero-title { font-size: 2.8rem; }
  .hero-stats { gap: 30px; }
  .hero-image img { width: 300px; height: 300px; }
  .btn { padding: 12px 30px; font-size: 1rem; }
}

/* About Section */
.about {
  padding: 100px 0;
}

.about-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content {
  padding-left: 30px;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-text {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-info {
  margin-top: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}
/* ===== Skills Section Modern Cards ===== */
.skills {
    background: #ffffff;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.skills-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color, #1e2b3c);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.skills-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color, #6c9e8f);
    border-radius: 2px;
}

.skills-subtitle {
    color: var(--text-color, #5b6f82);
    font-size: 1rem;
    margin-top: 1.5rem;
}

/* Tabs Styling */
.skills-tabs {
    border-bottom: none;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.skills-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--secondary-color, #1e2b3c);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.skills-tabs .nav-link i {
    color: var(--primary-color, #6c9e8f);
    font-size: 1rem;
}

.skills-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color, #6c9e8f);
    transition: width 0.3s ease;
}

.skills-tabs .nav-link:hover::after,
.skills-tabs .nav-link.active::after {
    width: 60%;
}

.skills-tabs .nav-link.active {
    color: var(--primary-color, #6c9e8f);
    background: transparent;
}

.skills-tabs .nav-link.active i {
    color: var(--primary-color, #6c9e8f);
}

/* Modern Skill Card - عرض أقل */
.skill-card-modern {
    background:  #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(108, 158, 143, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px -15px rgba(108, 158, 143, 0.25);
    border-color: var(--primary-color, #6c9e8f);
}

.skill-card-header {
    background: linear-gradient(135deg, rgba(108, 158, 143, 0.05) 0%, rgba(108, 158, 143, 0.12) 100%);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(108, 158, 143, 0.15);
}

.skill-card-header i {
    font-size: 2.3rem;
    color: var(--primary-color, #6c9e8f);
    background: rgba(108, 158, 143, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.skill-card-modern:hover .skill-card-header i {
    background: var(--primary-color, #6c9e8f);
    color: white;
    transform: rotate(5deg) scale(1.05);
}

.skill-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color, #1e2b3c);
    margin: 0;
}

.skill-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.skill-desc-modern {
    color: var(--text-color, #5b6f82);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 28px;
    flex: 1;
}

.skill-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.skill-tags-modern span {
    background: rgba(108, 158, 143, 0.08);
    color: var(--primary-color, #6c9e8f);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.skill-tags-modern span i {
    font-size: 0.9rem;
}

.skill-tags-modern span:hover {
    background: var(--primary-color, #6c9e8f);
    color: white;
    transform: translateY(-3px) scale(1.02);
}

/* Tab Animation */
.tab-pane {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Support */
[dir="rtl"] .skill-card-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .skill-tags-modern span i {
    margin-left: 8px;
    margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .skills-main-title {
        font-size: 2rem;
    }
    
    .skills-tabs .nav-link {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .skill-card-modern {
        min-height: auto;
        margin: 0 15px;
    }
    
    .skill-card-header {
        padding: 20px 25px;
        flex-direction: column;
        text-align: center;
    }
    
    [dir="rtl"] .skill-card-header {
        flex-direction: column;
    }
    
    .skill-card-header i {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .skill-card-header h3 {
        font-size: 1.3rem;
    }
    
    .skill-card-body {
        padding: 25px;
    }
    
    .skill-desc-modern {
        font-size: 0.95rem;
    }
    
    .skill-tags-modern span {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .skills-tabs .nav-link {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .skill-tags-modern {
        gap: 8px;
    }
    
    .skill-tags-modern span {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

/* Dark Mode */
[data-theme="dark"] .skill-card-modern {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .skill-card-header {
    background: linear-gradient(135deg, rgba(122, 179, 165, 0.05) 0%, rgba(122, 179, 165, 0.1) 100%);
    border-bottom-color: #334155;
}

[data-theme="dark"] .skill-card-header h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .skill-desc-modern {
    color: #94a3b8;
}

[data-theme="dark"] .skill-tags-modern span {
    background: rgba(122, 179, 165, 0.15);
    color: #7ab3a5;
}

[data-theme="dark"] .skill-tags-modern span:hover {
    background: #7ab3a5;
    color: #0f172a;
}

[data-theme="dark"] .skills-tabs .nav-link {
    color: #94a3b8;
}

[data-theme="dark"] .skills-tabs .nav-link.active {
    color: var(--primary-color, #7ab3a5);
}
/* Experience Section */
.experience {
  padding: 100px 0;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0.2;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.timeline-content {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 20px;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
}

.timeline-content li {
  color: var(--text-color);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.timeline-content li::before {
  content: '•';
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

/* Projects Section */
.projects {
  padding: 80px 0;
  /* background: var(--light-bg, #f8fafc); */
}

.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(108, 158, 143, 0.15);
  border-color: var(--primary-color, #6c9e8f);
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f0f0f0;
  flex-shrink: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color, #1e2b3c);
  margin-bottom: 15px;
  line-height: 1.4;
}

.project-details {
  margin-bottom: 15px;
  flex: 1;
}

.project-details p {
  color: var(--text-color, #5b6f82);
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-details p strong {
  color: var(--primary-color, #6c9e8f);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tech span {
  background: rgba(108, 158, 143, 0.1);
  color: var(--primary-color, #6c9e8f);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-tech span:hover {
  background: var(--primary-color, #6c9e8f);
  color: white;
  transform: scale(1.05);
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.project-links .btn {
  padding: 8px 15px;
  font-size: 0.9rem;
  border-radius: 50px;
}

.project-links .btn-outline-primary {
  border: 1px solid var(--primary-color, #6c9e8f);
  color: var(--primary-color, #6c9e8f);
  background: transparent;
}

.project-links .btn-outline-primary:hover {
  background: var(--primary-color, #6c9e8f);
  color: white;
}

.project-links .btn-outline-secondary {
  border: 1px solid var(--text-color, #5b6f82);
  color: var(--text-color, #5b6f82);
  background: transparent;
}

.project-links .btn-outline-secondary:hover {
  background: var(--text-color, #5b6f82);
  color: white;
}

@media (max-width: 768px) {
  .project-image { height: 180px; }
  .project-content { padding: 15px; }
  .project-content h3 { font-size: 1.2rem; }
}



/* Education Cards */
.education-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(108, 158, 143, 0.1);
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 158, 143, 0.15);
    border-color: var(--primary-color, #6c9e8f);
}

.education-card.with-logo {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
}

/* Card Header */
.education-card .card-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
    /* padding-bottom: 15px; */
    border-bottom: 2px dashed rgba(108, 158, 143, 0.2);
}
.university-logo {
    width: 100px;
    height: 100px;
    background: rgba(108, 158, 143, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(108, 158, 143, 0.2); /* خليها 2px عشان تبان */
    box-shadow: 0 5px 15px rgba(108, 158, 143, 0.15);
    transition: all 0.3s ease;
}

.university-logo:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--primary-color, #6c9e8f);
    box-shadow: 0 10px 25px rgba(108, 158, 143, 0.25);
}

.university-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* use cover if you want the image to fill the area */
    /* OR object-fit: contain; if you want the whole logo to show */
    border-radius: 13px; /* less than parent border-radius */
    transition: all 0.3s ease;
}

.university-logo:hover img {
    transform: scale(1.1);
}

.university-logo i {
    font-size: 2.5rem;
    color: var(--primary-color, #6c9e8f);
}

.header-content {
    flex: 1;
}

.header-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color, #1e2b3c);
    margin-bottom: 5px;
    line-height: 1.4;
}

.header-content .institution {
    color: var(--primary-color, #6c9e8f);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Card Body */
.education-card .card-body {
    padding: 0 5px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color, #5b6f82);
    font-size: 0.95rem;
}

.info-item i {
    color: var(--primary-color, #6c9e8f);
    font-size: 1rem;
}

/* Certificate Cards */
.certificate-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(108, 158, 143, 0.1);
    display: flex;
    gap: 20px;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(108, 158, 143, 0.15);
    border-color: var(--primary-color, #6c9e8f);
}

.certificate-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 158, 143, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #6c9e8f);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}
/* ===== Certificate Description Styling ===== */
.certificate-description {
    color: var(--text-color, #5b6f82);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 12px 0 0;
    padding: 12px 0;
    border-top: 1px dashed rgba(108, 158, 143, 0.2);
}

/* Dark Mode */
[data-theme="dark"] .certificate-description {
    color: #94a3b8;
    border-top-color: rgba(122, 179, 165, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .certificate-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}
.certificate-card:hover .certificate-icon {
    background: var(--primary-color, #6c9e8f);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.certificate-content {
    flex: 1;
}

.certificate-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color, #1e2b3c);
    margin-bottom: 12px;
}

.certificate-content .issuer,
.certificate-content .date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color, #5b6f82);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.certificate-content .issuer i,
.certificate-content .date i {
    color: var(--primary-color, #6c9e8f);
    width: 20px;
}



.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.skills-tags span {
  background: rgba(108, 158, 143, 0.1);
  color: var(--primary-color, #6c9e8f);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skills-tags span:hover {
  background: var(--primary-color, #6c9e8f);
  color: white;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .sub-section-title { font-size: 1.6rem; }
  .certificate-card { flex-direction: column; text-align: center; }
  .certificate-icon { margin: 0 auto; }
}

/* Contact Section */
.contact {
  padding: 100px 0;
  /* background: var(--light-bg); */
}

.contact-info {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 10px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(108, 158, 143, 0.03);
}

.contact-info .info-item:hover {
  background: rgba(108, 158, 143, 0.1);
  transform: translateX(5px);
}

.contact-info .info-item i {
  width: 40px;
  height: 40px;
  background: rgba(108, 158, 143, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #6c9e8f);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-info .info-item:hover i {
  background: var(--primary-color, #6c9e8f);
  color: white;
  transform: rotate(5deg) scale(1.1);
}

.contact-info .info-item a,
.contact-info .info-item span {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  flex: 1;
}

.contact-info .info-item a:hover {
  color: var(--primary-color, #6c9e8f);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
  background: var(--light-bg);
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 158, 143, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Placeholder بلون فاتح جداً في Dark Mode */
[data-theme="dark"] .form-control::placeholder {
    color: #a0aec0;  /* رمادي فاتح */
    font-weight: 400;
}

/* Placeholder في Light Mode (اختياري للتحسين) */
.form-control::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(108, 158, 143, 0.2);
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(108, 158, 143, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color, #1e2b3c);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-color, #6c9e8f);
  color: white;
  transform: translateY(-5px) rotate(5deg);
}

/* Services Section */
.services {
  padding: 100px 0;
  /* background: var(--light-bg, #f8fafc); */
}

.service-card {
  background: var(--white, #ffffff);
  border: 1px solid #dee2e6;
  border-radius: 24px;
  padding: 35px 25px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-color, #6c9e8f);
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 158, 143, 0.15);
  border-color: var(--primary-color, #6c9e8f);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(108, 158, 143, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary-color, #6c9e8f);
  transform: rotate(5deg) scale(1.1);
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--primary-color, #6c9e8f);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color, #1e2b3c);
  margin-bottom: 15px;
}

.service-desc {
  color: var(--text-color, #5b6f82);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  background: rgba(108, 158, 143, 0.1);
  color: var(--primary-color, #6c9e8f);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.service-tags span:hover {
  background: var(--primary-color, #6c9e8f);
  color: white;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .service-card { padding: 25px 20px; }
  .service-icon { width: 60px; height: 60px; }
  .service-icon i { font-size: 2rem; }
  .service-card h3 { font-size: 1.3rem; }
}

/* Testimonials Section */
/* .testimonials {
  background: var(--light-bg, #f8fafc);
  padding: 100px 0;
}

.testimonials .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color, #1e2b3c);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.testimonials .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color, #6c9e8f);
  border-radius: 2px;
}

.coming-soon-card {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(108, 158, 143, 0.05) 0%, rgba(108, 158, 143, 0.1) 100%);
  border: 2px dashed var(--primary-color, #6c9e8f);
  border-radius: 40px;
  padding: 60px 40px;
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

.coming-soon-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-color, #6c9e8f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: pulse 2s ease-in-out infinite;
}

.coming-soon-icon i {
  font-size: 3rem;
  color: white;
}

.coming-soon-card h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color, #6c9e8f);
  margin-bottom: 20px;
}

.coming-soon-text {
  font-size: 1.2rem;
  color: var(--text-color, #5b6f82);
  line-height: 1.8;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
  .testimonials { padding: 60px 0; }
  .testimonials .section-title { font-size: 2rem; }
  .coming-soon-card { padding: 40px 20px; }
  .coming-soon-icon { width: 80px; height: 80px; }
  .coming-soon-icon i { font-size: 2.5rem; }
  .coming-soon-card h3 { font-size: 2.2rem; }
} */


.testimonials {
    /* background: var(--light-bg, #f8fafc);   */
    padding: 100px 0;
    margin: 0;
    position: relative;
}

/* تنسيق عنوان القسم */
.testimonials .section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color, #6c9e8f);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.testimonials .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color, #1e2b3c);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.testimonials .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color, #6c9e8f);
    border-radius: 2px;
}

/* Coming Soon Card */
.testimonials .coming-soon-wrapper {
    max-width: 600px;
    margin: 30px auto 0;
}

.testimonials .coming-soon-card {
    background: linear-gradient(135deg, rgba(108, 158, 143, 0.05) 0%, rgba(108, 158, 143, 0.1) 100%);
    border: 2px dashed var(--primary-color, #6c9e8f);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.testimonials .coming-soon-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color, #6c9e8f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(108, 158, 143, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 10px rgba(108, 158, 143, 0.3); }
}

.testimonials .coming-soon-icon i {
    font-size: 3rem;
    color: white;
}

.testimonials .coming-soon-card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color, #6c9e8f);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonials .coming-soon-text {
    font-size: 1.2rem;
    color: var(--text-color, #5b6f82);
    line-height: 1.8;
    max-width: 450px;
    margin: 0 auto 20px;
}

.testimonials .coming-soon-decoration {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonials .coming-soon-decoration span {
    width: 10px;
    height: 10px;
    background: var(--primary-color, #6c9e8f);
    border-radius: 50%;
    animation: bounce 1.5s ease-in-out infinite;
}

.testimonials .coming-soon-decoration span:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonials .coming-soon-decoration span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== DARK MODE ===== */
[data-theme="dark"] .testimonials {
    background: #0f172a;
}

[data-theme="dark"] .testimonials .section-title {
    color: #e2e8f0;
}

[data-theme="dark"] .testimonials .coming-soon-card {
    background: linear-gradient(135deg, rgba(122, 179, 165, 0.05) 0%, rgba(122, 179, 165, 0.15) 100%);
    border-color: #7ab3a5;
}

[data-theme="dark"] .testimonials .coming-soon-icon {
    background: #7ab3a5;
}

[data-theme="dark"] .testimonials .coming-soon-card h3 {
    color: #7ab3a5;
}

[data-theme="dark"] .testimonials .coming-soon-text {
    color: #94a3b8;
}

[data-theme="dark"] .testimonials .coming-soon-decoration span {
    background: #7ab3a5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials .section-title {
        font-size: 2rem;
    }
    
    .testimonials .coming-soon-card {
        padding: 40px 20px;
    }
    
    .testimonials .coming-soon-icon {
        width: 80px;
        height: 80px;
    }
    
    .testimonials .coming-soon-icon i {
        font-size: 2.5rem;
    }
    
    .testimonials .coming-soon-card h3 {
        font-size: 2.2rem;
    }
    
    .testimonials .coming-soon-text {
        font-size: 1rem;
    }
}
/* Achievements Section */
.achievements {
  padding: 80px 0;
  /* background: var(--light-bg, #f8fafc); */
}

.achievement-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(108, 158, 143, 0.15);
  border-color: var(--primary-color, #6c9e8f);
}

.achievement-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color, #1e2b3c);
  margin-bottom: 8px;
}

.achievement-desc {
  color: var(--text-color, #5b6f82);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.achievement-date {
  display: inline-block;
  background: rgba(108, 158, 143, 0.1);
  color: var(--primary-color, #6c9e8f);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .achievement-card { flex-direction: column; align-items: center; text-align: center; }
}


/* ===== Footer New Style - لون مختلف عن باقي الصفحة ===== */
.footer {
    background: #f8fafc;
    color: #1e2b3c;
    padding: 60px 0 30px;
    font-family: 'Inter', sans-serif;
    width: 100%;
    border-top: 1px solid #dce5e2;
}

.footer .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100%;
    margin-bottom: 50px;
}

.footer-col {
    width: 100%;
}

/* العمود الأوسط - T.K */
.footer-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* عناوين الأعمدة */
.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #2c4a3e;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* الوصف */
.footer-description {
    color: #4a6a5e;
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* اللوجو T.K */
.footer-logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c4a3e;
    margin: 0;
    letter-spacing: 2px;
}

/* القسم السفلي */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #dce5e2;
}

.footer-bottom p {
    color: #4a6a5e;
    font-size: 0.85rem;
    margin: 0;
}

/* ===== Dark Mode - لون مختلف تماماً عن باقي الصفحة ===== */
[data-theme="dark"] .footer {
    background: #1b2844;
    border-top-color: #1f2a3e;
}

[data-theme="dark"] .footer-heading {
    color: #9bb5b0;
}

[data-theme="dark"] .footer-description {
    color: #6b7f8c;
}

[data-theme="dark"] .footer-logo {
    color: #9bb5b0;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: #1f2a3e;
}

[data-theme="dark"] .footer-bottom p {
    color: #4a5a6a;
}

/* Responsive */
@media (max-width: 991px) {
    .footer .container {
        padding: 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo-col {
        order: -1;
    }
    
    .footer-logo {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-logo {
        font-size: 2rem;
    }
}

/* Theme & Language Toggle */
.theme-toggle,
.lang-toggle {
  background: rgba(108, 158, 143, 0.1);
  border: 1px solid rgba(108, 158, 143, 0.3);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.theme-toggle:hover,
.lang-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Navbar Toggler */
.navbar-toggler {
  border: 1px solid var(--primary-color, #6c9e8f) !important;
  background: transparent !important;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 158, 143, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 43, 60, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:hover {
  background: rgba(108, 158, 143, 0.1) !important;
}

/* RTL Support */
[dir="rtl"] .navbar-nav { padding-right: 0; }
[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
[dir="rtl"] .hero-title .highlight::before { left: auto; right: 0; }
[dir="rtl"] .timeline::before { left: auto; right: 20px; }
[dir="rtl"] .timeline-item { padding-left: 0; padding-right: 60px; }
[dir="rtl"] .timeline-content:hover { transform: translateX(-10px); }
[dir="rtl"] .timeline-content li::before { left: auto; right: 0; }
[dir="rtl"] .timeline-content li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .skill-category-header { flex-direction: row-reverse; }
[dir="rtl"] .skill-category-body { padding-left: 0; padding-right: 1rem; }
[dir="rtl"] .sub-section-title::after { left: auto; right: 0; }
[dir="rtl"] .footer-title::after { margin-left: auto; margin-right: 0; }
[dir="rtl"] .footer-menu a:hover { transform: translateX(-5px); }
[dir="rtl"] .contact-info .info-item:hover { transform: translateX(-5px); }
[dir="rtl"] .contact-info .info-item { flex-direction: row-reverse; }

/* Dark Mode */
[data-theme="dark"] {
  --primary-color: #7ab3a5;
  --secondary-color: #e2e8f0;
  --text-color: #94a3b8;
  --light-bg: #0f172a;
  --white: #1e293b;
  --border-color: #334155;
}

[data-theme="dark"] body { background-color: #0f172a; color: #e2e8f0; }
[data-theme="dark"] .navbar { background: rgba(30, 41, 59, 0.95) !important; border-bottom: 1px solid #334155; }
[data-theme="dark"] .navbar-brand { color: #e2e8f0 !important; }
[data-theme="dark"] .navbar-brand img { filter: brightness(0) invert(1); opacity: 0.9; }
[data-theme="dark"] .nav-link { color: #94a3b8 !important; }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active { color: var(--primary-color) !important; }
[data-theme="dark"] .hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
[data-theme="dark"] .hero-title { color: #e2e8f0; }
[data-theme="dark"] .hero-description { color: #94a3b8; }
[data-theme="dark"] .about,
[data-theme="dark"] .experience,
[data-theme="dark"] .services,
[data-theme="dark"] .projects,
[data-theme="dark"] .contact,
[data-theme="dark"] .achievements,
[data-theme="dark"] .testimonials,
[data-theme="dark"] .skills { background: #0f172a; }
[data-theme="dark"] .timeline-content { background: #1e293b; border: 1px solid #334155; }
[data-theme="dark"] .skill-category-box,
[data-theme="dark"] .project-card,
[data-theme="dark"] .education-card,
[data-theme="dark"] .certificate-card,
[data-theme="dark"] .contact-info,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .service-card,
[data-theme="dark"] .achievement-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .skill-items-list span { background: rgba(122, 179, 165, 0.15); color: #7ab3a5; }
[data-theme="dark"] .skill-items-list span:hover { background: #7ab3a5; color: #0f172a; }
[data-theme="dark"] .form-control { background: #1e293b; border: 1px solid #334155; color: #e2e8f0; }
[data-theme="dark"] .footer { background: #0f172a; }
[data-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(226, 232, 240, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .lang-toggle {
  background: rgba(122, 179, 165, 0.1);
  border-color: #334155;
  color: #e2e8f0;
}

/* Extra */
#GP {
  font-size: 13px;
  color: #6b7280;
  display: block;
  margin-top: 2px;
}

/* ===== Timeline Logo Styling ===== */
.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--white, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color, #6c9e8f);
    z-index: 2;
}

.timeline-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.timeline::before {
    left: 29px;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-item {
        padding-left: 65px;
    }
    
    .timeline-badge {
        width: 50px;
        height: 50px;
    }
    
    .timeline-logo {
        width: 32px;
        height: 32px;
    }
    
    .timeline::before {
        left: 24px;
    }
}

/* RTL Support */
[dir="rtl"] .timeline-item {
    padding-left: 0;
    padding-right: 80px;
}

[dir="rtl"] .timeline-badge {
    left: auto;
    right: 0;
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 29px;
}

@media (max-width: 768px) {
    [dir="rtl"] .timeline-item {
        padding-right: 65px;
    }
    
    [dir="rtl"] .timeline::before {
        right: 24px;
    }
}

/* Dark Mode */
[data-theme="dark"] .timeline-badge {
    background: #1e293b;
    border-color: #7ab3a5;
}


/* ===== Testimonials Section Full Height ===== */
.testimonials {
    background: #ffffff;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--white, #ffffff);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 158, 143, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(108, 158, 143, 0.15);
    border-color: var(--primary-color, #6c9e8f);
}

/* Quote Icon */
.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary-color, #6c9e8f);
    opacity: 0.3;
    margin-bottom: 20px;
    display: inline-block;
}

/* Testimonial Text */
.testimonial-text {
    color: var(--secondary-color, #1e2b3c);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

/* Badge */
.testimonial-badge {
    margin-bottom: 25px;
}

.testimonial-delivery {
    display: inline-block;
    background: rgba(108, 158, 143, 0.1);
    color: var(--primary-color, #6c9e8f);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Author Section */
.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(108, 158, 143, 0.15);
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color, #1e2b3c);
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-color, #5b6f82);
    margin-bottom: 0;
}

/* Verified Badge */
.verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(108, 158, 143, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color, #6c9e8f);
}

.verified-badge i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
        min-height: auto;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

/* Dark Mode */
[data-theme="dark"] .testimonial-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .testimonial-text {
    color: #e2e8f0;
}

[data-theme="dark"] .author-info h4 {
    color: #e2e8f0;
}

[data-theme="dark"] .author-title {
    color: #94a3b8;
}

[data-theme="dark"] .testimonial-delivery {
    background: rgba(122, 179, 165, 0.15);
    color: #7ab3a5;
}

[data-theme="dark"] .verified-badge {
    background: rgba(122, 179, 165, 0.15);
    color: #7ab3a5;
}
