/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}
/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #6e93f7;
    border-radius: 12px;
    transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: #4070f4;
}
/* navbar styling */
nav{
    position: fixed;
    width: 100%;
    padding: 20px 0;
    z-index: 998;
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif;
}
nav.sticky{
    background: #4070f4;
    padding: 13px 0;
}
nav .navbar{
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}
nav .navbar .logo a{
    font-weight: 500;
    font-size: 35px;
    color: #4070f4;
}
nav.sticky .navbar .logo a{
    color: #fff;
}
nav .navbar .menu{
    display: flex;
    position: relative;
}
nav .navbar .menu li{
    list-style: none;
    margin: 0 8px;
}
.navbar .menu a{
    font-size: 18px;
    font-weight: 500;
    color: #0E2431;
    padding: 6px 0;
    transition: all 0.4s ease;
}
.navbar .menu a:hover{
    color: #4070f4;
}
nav.sticky .menu a{
    color: #FFF;
}
nav.sticky .menu a:hover{
    color: #0E2431;
}
.navbar .media-icons a{
    color: #4070f4;
    font-size: 18px;
    margin: 0 6px;
}
nav.sticky .media-icons a{
    color: #FFF;
}
/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
    position: absolute;
    color: #fff;
    right: 30px;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}
nav .menu-btn{
    color: #4070f4;
}
nav.sticky .menu-btn{
    color: #FFF;
}
.navbar .menu .menu-btn{
    color: #fff;

}

/* Revolutionary Home Section */

.home {
  background: linear-gradient(135deg, var(--background-light) 0%, #f8f9ff 50%, #98c1d9 100%);
  padding: 100px 0;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}



.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    z-index: -1;
}

.home-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    gap: 4rem;
    padding: 100px 0 50px;
}

.home-left {
    flex: 1.2;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

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

.greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.wave {
    font-size: 2rem;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.text-one {
  display: block;
  color: #1c2641 !important;
  font-size: 2.6rem;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(255,255,255,0.85);
  margin: 0;
}

.name-highlight {
  display: block;
  font-size: 3.6rem;
  font-weight: 800;
  color: #4070f4 !important;
  margin: 0;
  text-shadow: 0 0 12px #4070f466, 0 2px 6px rgba(255,255,255,0.85);
  -webkit-text-fill-color: #4070f4;
  -webkit-background-clip: unset !important;
}

.text-four {
  display: block;
  color: #1c2641 !important;
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(255,255,255,0.85);
}



.typing-prefix,
.typing {
  font-size: 2.6rem;
}

.text-four {
  color: #1c2641 !important;
  font-size: 1.6rem;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 3px rgba(255,255,255,0.85);
}


.name-highlight {
  color: #4070f4 !important;
  font-weight: 800;
  text-shadow: 0 0 8px #4070f4aa, 0 1px 4px rgba(255, 255, 255, 0.9);
  -webkit-text-fill-color: #4070f4;
  -webkit-background-clip: unset !important;
}

.typing, .typing-prefix, .text-three {
  color: #4070f4 !important;
  font-weight: 600;
  text-shadow: 0 0 6px #4070f422;
}

.hero-content {
  background: rgba(255, 255, 255, 0.35);
  padding: 20px 30px;
  border-radius: 18px;
  display: inline-block;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

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

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    align-items: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

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

/* Image Container */
.home-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    animation: slideInRight 1s ease-out;
}

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

.profile-border {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    padding: 8px;
    position: relative;
    z-index: 2;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.glow-effect {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 3s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes glow {
    from { opacity: 0.5; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

/* Floating Icons */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatIcon 6s ease-in-out infinite;
}

.python { background: rgba(55, 118, 171, 0.8); top: 10%; right: -10%; animation-delay: 0s; }
.ai { background: rgba(255, 107, 107, 0.8); top: 60%; right: -15%; animation-delay: 1.5s; }
.database { background: rgba(78, 205, 196, 0.8); bottom: 10%; left: -10%; animation-delay: 3s; }
.chart { background: rgba(255, 193, 7, 0.8); top: 30%; left: -15%; animation-delay: 4.5s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .home-flex {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .profile-border {
        width: 300px;
        height: 300px;
    }

    .hero-stats {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        width: 200px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .floating-icon {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

/* About Section Styling */
section{
    padding-top: 40px;
}
section .content{
    width: 80%;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
}
.about .about-details{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about .about-details .left{
    width: 45%;
}
.about .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 12px;
}
.about-details .right{
    width: 55%;
}
section .title{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
section .title span{
    color: #0E2431;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}
section .title span::before,
section .title span::after{
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: #4070f4;
    left: 0;
    bottom: 0;
}
section .title span::after{
    bottom: -7px;
    width: 70px;
    left: 50%;
    transform: translateX(-50%);
}
section .topic{
    color: #0E2431;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}
.about-details .right p{
    text-align: justify;
    color: #0E2431;
}
section .button{
    margin: 16px 0;
}
section .button button{
    outline: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 25px;
    font-weight: 400;
    background: #4070f4;
    color: #fff;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}
section .button button:hover{
    border-color: #4070f4;
    background-color: #fff;
    color: #4070f4;
}
/* Education & Training Section */
.education {
    background: linear-gradient(135deg, var(--background-light) 0%, #f8f9ff 50%, var(--light-blue) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(64, 112, 244, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(61, 90, 128, 0.05) 0%, transparent 50%);
    animation: floating 25s infinite;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.section-title .highlight {
    color: var(--primary-blue);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Education Content */
.education-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Section Title Small */
.section-title-small {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(64, 112, 244, 0.2);
}

.section-title-small i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.section-title-small h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}
:root {
  --primary-blue: #4070f4;
  --accent-blue: #5aa8d6;
  --text-dark: #0E2431;
  --background-light: #e0fbfc;
}
:root {
  --primary-blue: #4070f4;
  --accent-blue: #5aa8d6;
  --text-dark: #0E2431;
  --background-light: #e0fbfc;
}

/* Section styling */
.education {
  background: linear-gradient(135deg, var(--background-light) 0%, #f8f9ff 50%, #98c1d9 100%);
  padding: 100px 0;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.education::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(64,112,244,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(61,90,128,0.05) 0%, transparent 50%);
  animation: floating 25s infinite;
  z-index: 1;
}

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

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.section-title .highlight {
  color: var(--primary-blue);
  position: relative;
}

.section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-dark);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.education-content.grid-3-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.section-title-small {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(64,112,244,0.2);
  color: var(--text-dark);
}

.section-title-small i {
  font-size: 2rem;
  color: var(--primary-blue);
}

.section-title-small h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

/* Education Card Style */
.education-card {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(64,112,244,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(64,112,244,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.6s ease forwards;
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(64,112,244,0.15);
}

/* Education Card Header */
.institution-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(64,112,244,0.1);
}

.institution-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: contain;
  background: rgba(64,112,244,0.05);
  padding: 10px;
}

.institution-info {
  flex: 1;
}

.institution-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.institution-location {
  color: var(--primary-blue);
  font-weight: 500;
  margin: 0;
}

.timeline {
  background: var(--primary-blue);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Degree Info */
.degree-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.faculty {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 20px;
}

.academic-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(64,112,244,0.05);
  border-radius: 10px;
}

.detail-item i {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.detail-label {
  font-weight: 600;
  color: var(--text-dark);
}

.detail-value {
  color: var(--primary-blue);
  font-weight: 500;
}

/* Training Section */
.training-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.training-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(64,112,244,0.08);
  padding: 22px 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.training-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.training-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(to bottom right, #4070f4, #5aa8d6 90%);
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 1px;
}

.training-card-meta {
  flex: 1;
}

.training-card-title {
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #232b38;
}

.training-card-org {
  color: #4070f4;
  font-weight: 500;
  font-size: 0.98rem;
  margin-bottom: 5px;
}

.training-card-tags {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.training-card-date {
  background: #4070f4;
  color: #fff;
  padding: 4px 13px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
}

.training-card-mode.hybrid {
  background: #fffbea;
  color: #b8860b;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 0.9rem;
  border: 1px solid #ffe082;
  font-weight: 500;
}

.training-card-mode.remote {
  background: #e9f9ec;
  color: #21a55e;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 0.9rem;
  border: 1px solid #36de89;
  font-weight: 500;
}

.training-card-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1em;
}

.training-card-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 6px;
  font-size: 0.99rem;
  color: #353a4c;
}

.training-card-list li:before {
  content: "✔";
  color: #4070f4;
  font-size: 0.92rem;
  position: absolute;
  left: 0;
  top: 0.5px;
  line-height: 1;
}

/* Certifications Section */

.certifications-section {
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(64,112,244,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(64,112,244,0.1);
}

.certifications-section .section-title-small {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(64,112,244,0.2);
}

.certifications-section .section-title-small i {
  font-size: 2rem;
  color: var(--primary-blue);
}

.certifications-section .section-title-small h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.certifications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.certification-card {
  background: rgba(64,112,244,0.05);
  border-radius: 12px;
  padding: 18px 25px;
  box-shadow: 0 5px 15px rgba(64,112,244,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
  background: rgba(64,112,244,0.1);
  box-shadow: 0 10px 25px rgba(64,112,244,0.12);
  transform: translateY(-5px);
}

.certification-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.certification-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1 1 auto;
  min-width: 200px;
}

.certification-link {
  background: var(--primary-blue);
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.certification-link:hover {
  background: var(--accent-blue);
}

/* Animations */

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

@keyframes floating {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

/* Responsive */

@media (max-width: 1024px) {
  .education-content.grid-3-col {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .institution-header, .training-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .training-meta {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .education-card,
  .training-card,
  .certification-card {
    margin: 0 10px;
  }
  .training-content {
    padding: 20px;
  }
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, var(--background-light) 0%, #f8f9ff 50%, var(--light-blue) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(64, 112, 244, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(61, 90, 128, 0.05) 0%, transparent 50%);
    animation: floating 20s infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.section-title .highlight {
    color: var(--primary-blue);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 400;
}

/* Skills Content */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Skills Info */
.skills-info {
    color: var(--text-dark);
}

.skills-intro {
    margin-bottom: 40px;
}

.intro-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.category {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 112, 244, 0.1);
    box-shadow: 0 10px 30px rgba(64, 112, 244, 0.1);
    transition: all 0.3s ease;
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(64, 112, 244, 0.15);
    border-color: rgba(64, 112, 244, 0.2);
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.category-title i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.skills-list {
    display: grid;
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: rgba(64, 112, 244, 0.03);
    border-left: 3px solid transparent;
}

.skill-item:hover {
    background: rgba(64, 112, 244, 0.08);
    border-left-color: var(--primary-blue);
    transform: translateX(5px);
}

.skill-item i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    min-width: 20px;
}

.skill-item span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Skills Progress */
.skills-progress {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(64, 112, 244, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 112, 244, 0.1);
    position: relative;
}

.progress-item {
    margin-bottom: 35px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

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

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

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

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

.skill-percentage {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.progress-bar {
    height: 12px;
    background: rgba(64, 112, 244, 0.1);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(64, 112, 244, 0.1);
}


.progress-fill {
  height: 100%;
  border-radius: 12px;
  transition: all 0.5s ease;
  box-shadow: 0 2px 8px rgba(64, 112, 244, 0.4);
}

.progress-fill.python {
  background: linear-gradient(90deg, #234e8e, #58a0d2);
    width: 400px; /* مثال ثابت */
}

.progress-fill.sql {
  background: linear-gradient(90deg, #3b6aa0, #6ca8d3);
  width: 300px;
}

.progress-fill.data-analysis {
  background: linear-gradient(90deg, #234e8e, #58a0d2);
  width: 340px;
}

.progress-fill.r-programming {
  background: linear-gradient(90deg, #1f3a6d, #4991d1);
  width: 80px;
}

.progress-fill.machine-learning {
  background: linear-gradient(90deg, #2a4a8e, #6aafd6);
  width: 200px;
}


.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
    border-radius: 25px;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Progress Animation Delays */
.progress-item:nth-child(1) .progress-fill { animation-delay: 0.5s; }
.progress-item:nth-child(2) .progress-fill { animation-delay: 0.7s; }
.progress-item:nth-child(3) .progress-fill { animation-delay: 0.9s; }
.progress-item:nth-child(4) .progress-fill { animation-delay: 1.1s; }
.progress-item:nth-child(5) .progress-fill { animation-delay: 1.3s; }
.progress-item:nth-child(6) .progress-fill { animation-delay: 1.5s; }

@keyframes progressAnimation {
    to {
        width: var(--progress-width);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .skills-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-progress {
        padding: 25px;
    }

    .category {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .intro-title {
        font-size: 1.5rem;
    }

    .category {
        margin-bottom: 20px;
    }
}

/* Fade in animation for categories */
.category:nth-child(1) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.category:nth-child(2) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

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


.projects {
  background: #f0f8ff;
  padding: 40px 0;
  font-family: 'Poppins', sans-serif;
}
.projects .content {
  width: 80%;
  margin: 0 auto;
}
.projects .title {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.project-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 24px 30px;
  max-width: 330px;
  width: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-card h3 {
  margin: 0 0 14px 0;
  color: #4070f4;
  font-size: 1.2em;
}
.project-card p {
  color: #222;
  margin-bottom: 16px;
  font-size: 1em;
}
.project-card a {
  color: #0e2431;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.project-card a:hover {
  color: #4070f4;
  text-decoration: underline;
}
.project-card:hover {
  box-shadow: 0 8px 24px rgba(80,112,244,0.10);
  transform: translateY(-4px) scale(1.03);
}
@media (max-width: 900px) {
  .projects-list {
    flex-direction: column;
    align-items: center;
  }
  .project-card {
    max-width: 100%;
    width: 90%;
  }
}



.services .boxes{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 3 - 20px);
    text-align: center;
    border-radius: 12px;
    padding: 30px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
    cursor: default;
    transition: all 0.4s ease;
}
.services .boxes .box:hover{
    background: #4070f4;
    color: #fff;
}
.services .boxes .box .icon{
    height: 50px;
    width: 50px;
    background: #4070f4;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    color: #fff;
    margin: 0 auto 10px auto;
    transition: all 0.4s ease;
}
.boxes .box:hover .icon{
    background-color: #fff;
    color: #4070f4;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
    color: #0E2431;
    transition: all 0.4s ease;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
    color: #fff;
}

/* Media Queries */
.about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
}
.about-details .right{
    width: 90%;
    margin: 40px 0;
}
.services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
}
@media (max-width: 900px) {
    .about .left img{
        height: 350px;
        width: 350px;
    }
}

/* Responsive Media Query */
@media (max-width: 1190px) {
    section .content{
        width: 85%;
    }
}
@media (max-width: 1000px) {
    .about .about-details{
        justify-content: center;
        flex-direction: column;
    }
    .about .about-details .left{
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }
    .about-details .right{
        width: 100%;
    }
    .skills-details{
        flex-direction: column;
        align-items: center;
    }
    .skills-details .text,
    .skills-details .boxes{
        width: 100%;
    }
    .skills-details .boxes{
        justify-content: center;
    }
    .services .boxes{
        flex-direction: column;
        align-items: center;
    }
    .services .boxes .box{
        width: 90%;
    }
}
footer{
    background: #4070f4;
    padding: 15px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}
footer .text span{
    font-size: 17px;
    font-weight: 400;
    color: #fff;
}
footer .text span a{
    font-weight: 500;
    color: #FFF;
}
footer .text span a:hover{
    text-decoration: underline;
}

/* Scroll TO Top Button CSS */
.scroll-button a{
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    background: #4070f4;
    padding: 7px 12px;
    font-size: 18px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.15);
    display: none;
}

/* Contact Me CSS */
.contact{
    background: #F0F8FF;
}
.contact .content{
    margin: 0 auto;
    padding: 30px 0;
}
.contact .text{
    width: 80%;
    text-align: center;
    margin: auto;
}

.thank-you {
  background: #f8f9ff;
  padding: 60px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.thank-you .content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you h2 {
  font-size: 2.5rem;
  color: #4070f4;
  font-weight: 600;
  margin-bottom: 15px;
}

.thank-you p {
  font-size: 1.1rem;
  color: #0E2431;
  font-weight: 400;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .thank-you h2 {
    font-size: 2rem;
  }

  .thank-you p {
    font-size: 1rem;
  }
}



/* Navbar Responsive */
@media (max-width: 750px) {
    nav .navbar{
        width: 90%;
    }
    nav .navbar .menu{
        position: fixed;
        left: -100%;
        top: 0;
        background: #0E2431;
        height: 100vh;
        max-width: 400px;
        width: 100%;
        padding-top: 60px;
        flex-direction: column;
        align-items: center;
        transition: all 0.5s ease;
    }
    .navbar.active .menu{
        left: 0;
    }
    .home .text-three{
        font-size: 35px;
    }
    .skills .skills-details{
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .skills-details .text{
        width: 100%;
        margin-bottom: 50px;
    }
    .skills-details .boxes{
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .services .boxes .box{
        margin: 20px 0;
        width: 100%;
    }
    nav .navbar .menu a{
        font-size: 23px;
        display: block;
        color: #fff;
        margin: 10px 0;
    }
    nav.sticky .menu a:hover{
        color: #4070f4;
    }
    nav .navbar .media-icons{
        display: none;
    }
    nav .menu-btn,
    .navbar .menu .cancel-btn{
        display: block;
    }
    .home .text-two{
        font-size: 65px;
    }
    .home .text-three{
        font-size: 35px;
    }
    .contact .text{
        width: 100%;
    }
}
@media (max-width: 500px){
    .home .text-two{
        font-size: 55px;
    }
    .home .text-three{
        font-size: 33px;
    }
    .skills-details .boxes .per{
        font-size: 50px;
        color: #4070f4;
    }
}
@media (max-width: 600px) {
  .hero-content {
    align-items: center !important;
    text-align: center !important;
    padding: 10px 4vw !important;
  }
  .text-one, .text-two, .name-highlight {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
  }
  .name-highlight {
    font-size: 2rem !important;
  }
}

@media (max-width: 600px) {
  .skills-content {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .skills-progress, .category {
    padding: 16px !important;
    border-radius: 14px !important;
  }
  .intro-title {
    font-size: 1.1rem !important;
  }
  .progress-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .skills-progress {
    padding: 10px !important;
  }
  .progress-bar {
    height: 14px !important;
  }
  .progress-fill {
    min-width: 24px;
    border-radius: 7px;
    /* الـ width أيضاً يكون بالنسبة المئوية أو تلقائي حسب الأب */
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .media-icons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
  }
  .media-icons a, .media-icons i {
    font-size: 18px !important;
  }
  .menu-btn {
    margin-left: 8px !important;
  }
}

@media (max-width: 600px) {
  .menu-btn {
    display: none !important;
  }
}


