* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body {
    font-family: "Cairo", sans-serif;
    background: linear-gradient(to right, #000, #001f1f);
    color: white;
    direction: ltr;
  }


    .resume-section {
  display: flex;
  color: white;
  padding: 100px;
  align-items: center;
  font-family: 'Cairo', sans-serif;
  gap: 40px;
  
}

.resume-left {
  width: 30%;
}

.resume-left h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.resume-left p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

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

.tab-btn {
  background: #1a1a1a;
  border: none;
  padding: 12px;
  text-align: left;
  color: white;
  border-radius: 6px;
  cursor: pointer;
 
}

.tab-btn.active {
  background: #00ff88;
  color: #000;
  font-weight: bold;
}

.resume-right {
  flex: 1;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tabs :hover {
    box-shadow: 0px 5px 20px #00e67b64;
    transition: 0.5s;
}
.tab-content.active {
  display: block;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  color: #ccc;
  transition: 0.3s;
}

.card:hover {
    box-shadow: 0px 5px 20px #00e67b64;
    transition: 0.5s;
}

.card span {
  color: #00ff88;
  font-size: 13px;
}

.card h4 {
  color: white;
  margin: 10px 0 5px;
}

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

/****************footer*/

.footer {
    background-color: #000;
    padding: 50px 10%;
    color: white;
    text-align: left;
    
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
  }
  
  .footer-column {
    flex: 1;
    min-width: 220px;
    text-align: left; 
  }
    
  .footer-column2 {
    flex: 1;
    min-width: 220px;
    text-align: center; 
  }

  .footer-column h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: white;
  }
  
  .footer-column p {
    color: #ccc;
    font-size: 16px;
    margin: 5px 0;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 12px;
  }
  
  .footer-links a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #00ff88;
  }
  
  .social-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 40px);
    gap: 15px;
    justify-content: center;
  }
  
  .social-icons-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    text-decoration: none; 
  }
  
  .social-icons-grid a:hover {
    background: #00ff88;
    color: #000;
  }
  
  .footer-btn {
    margin-top: 15px;
    background-color: #00ff88;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .footer-btn:hover {
    background-color: #00e67a;
  }
  
  .copyright {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    margin-top: 40px;
  }
/*****************/
@media (max-width: 992px) {
  .resume-section {
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
  }

  .resume-left {
    width: 100%;
  }

  .resume-right {
    width: 100%;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .tab-btn {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .resume-section {
    padding: 30px 10px;
  }

  .resume-left h2 {
    font-size: 24px;
  }

  .resume-left p {
    font-size: 13px;
  }

  .card {
    padding: 15px;
  }

  .card h4 {
    font-size: 16px;
  }

  .card span {
    font-size: 12px;
  }

  .tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .tab-btn {
    font-size: 14px;
    padding: 10px;
  }

  .resume-right ul li {
    font-size: 14px;
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  .stats {
    display: grid;
    grid-template-columns: auto auto;
    justify-items:center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    margin-top: -10px;
  }

  .stat {
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: center;
  }

  .stat h2 {
    font-size: 20px;
    color: #ffffff;
    margin: 0;
    line-height: 1;
  }

  .stat span {
    font-size: 8px;
    color: #bbb;
    margin: 0;
    line-height: 1.2;
  }

  .logo {
    font-size: 14px;
    font-weight: bold;
    color: white;
  }

  .nav-links {
    display: none;
    gap: 30px;
    align-items: center;
  }

  .navbar-menu nav-links {
    display:grid;
    width: 100%;
    margin-top: 15px;
  }

  .modern-navbar {
    width: calc(90%);
    margin: 20px auto;
    padding: 15px 30px;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(92, 92, 92, 0.134);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0px 15px rgba(78, 78, 78, 0.403);
    margin-right: 10px;
    margin-left: 10px;
  }

  .home-content small {
    color: #aaa;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .home-content h1 {
    font-size: 25px;
    margin: 10px 0;
  }

  .profile {
    width: 500px;
    height: 500px;
    overflow: hidden;
    margin-top: -20px;
  }


  .home-content {
    margin-top: 400px;
  }

  .about-img {
    margin-top: -40px;
  }
}

@media (max-width: 992px) {
  .home {
    flex-direction: column-reverse;
    align-items: center;
    padding: 40px 5%;
  }

  .profile {
    width: 300px;
    height: auto;
    margin-top: 30px;
  }

  .home-content {
    text-align: center;
    margin-top: 0;
  }

  .home-content h1 {
    font-size: 32px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 250px;
    margin-bottom: 20px;
  }

  .services-section .container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-column,
  .footer-column2 {
    text-align: center;
  }

  .social-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-track img {
    height: 40px;
    margin: 0 20px;
  }

  .slider-track img {
    height: 160px;
  }

  .stats {
    gap: 30px;
  }

  .stat h2 {
    font-size: 36px;
  }

  .stat span {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .home-content h1 {
    font-size: 24px;
  }

  .btn {
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }

  .slider-track img {
    height: 120px;
  }

  .services-section {
    padding: 40px 10px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 14px;
    padding: 12px;
  }

  .footer-btn {
    width: 100%;
  }
  .menu-toggle {
    display: block;
  }

  .navbar-center,
  .navbar-right {
    display: none;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    margin-top: 15px;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu .nav-links {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .navbar-menu .cta-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
  }
}

/* Resume – CV buttons */
.resume-section .cv-actions{
  margin:16px 0 24px;
  display:flex; gap:12px; flex-wrap:wrap;
}
.resume-section .cv-actions .btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 18px; border-radius:10px;
  font-weight:700; text-decoration:none; transition:.2s ease;
}
.resume-section .cv-download{
  background:#00ff88; color:#000; border:1px solid #00ff88;
  box-shadow:0 0 0 2px rgba(0,255,136,.08) inset;
}
.resume-section .cv-download:hover{
  transform:translateY(-1px);
  box-shadow:0 0 0 4px rgba(0,255,136,.12) inset;
}
.resume-section .cv-view{
  background:#111; color:#fff; border:1px solid #2a2a2a;
}
.resume-section .cv-view:hover{ transform:translateY(-1px); }
.resume-section .cv-actions .btn i{ font-size:16px; }

/* موبايل */
@media (max-width:576px){
  .resume-section .cv-actions .btn{ width:100%; justify-content:center; }
}
/* ===== Resume CV toolbar (متناسق مع الثيم) ===== */
.resume-section .cv-toolbar{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
  margin: 12px 0 16px;
}
.resume-section .cv-btn{
  --accent:#00ff88;
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:10px; line-height:1;
  font-weight:700; text-decoration:none; transition:all .2s ease;
  border:1px solid #2a2a2a; background:transparent; color:#eaeaea;
}
.resume-section .cv-btn i{ font-size:15px; opacity:.9; }

/* Primary (الأخضر) */
.resume-section .cv-btn--primary{
  background: var(--accent); color:#000; border-color: var(--accent);
  box-shadow:0 0 0 2px rgba(0,255,136,.08) inset;
}
.resume-section .cv-btn--primary:hover{
  transform: translateY(-1px);
  box-shadow:0 0 0 4px rgba(0,255,136,.12) inset;
}

/* Ghost (كفاف بسيط) */
.resume-section .cv-btn--ghost:hover{ background:#0f0f0f; }

/* مسافة صغيرة قبل التابات عشان مايبانوش كتلة واحدة */
.resume-section .tabs{ margin-top: 8px; }

/* موبايل */
@media (max-width:576px){
  .resume-section .cv-toolbar{ margin-bottom: 10px; }
  .resume-section .cv-btn{ width:100%; justify-content:center; }
}
/* ===== Desktop polish for CV buttons ===== */
@media (min-width: 992px){
  /* صف الزرار يبقى أخف شوية ويفصل بصريًا عن التابات */
  .resume-section .cv-toolbar{
    margin: 6px 0 10px;
    gap: 8px;
  }

  /* حجم أصغر شوية */
  .resume-section .cv-btn{
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    gap: 8px;
  }

  /* خليه Outline على الديسكتوب علشان مايبقاش أخضر زي التاب النشط */
  .resume-section .cv-btn--primary{
    background: transparent;
    color: #00ff88;
    border-color: #00ff88;
    box-shadow: none;
  }
  .resume-section .cv-btn--primary:hover{
    background: #0f0f0f; /* لمسة خفيفة عند الهوفر */
    transform: translateY(-1px);
  }

  /* الزرار التاني يفضل Ghost خفيف */
  .resume-section .cv-btn--ghost{
    background: transparent;
    color: #eaeaea;
    border-color: #2a2a2a;
  }
  .resume-section .cv-btn--ghost:hover{
    background:#0f0f0f;
    transform: translateY(-1px);
  }

  /* مسافة صغيرة قبل التابات عشان الفصل البصري */
  .resume-section .tabs{ margin-top: 10px; }
}

/* تماسك أيقونات الزرار */
.resume-section .cv-btn i{ font-size: 15px; line-height: 1; }


