body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

#main-content {
    opacity: 1 !important;
}
.progress-track {
    width: 500px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
  }

  .progress-fill {
    background: linear-gradient(90deg, #0055ff, #0066ff);
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3s linear;
    position: relative;
  }

  /* تأثير اللمعة */
  .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0.1) 100%
    );
    animation: shine 2s infinite;
  }

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

  .progress-fill.animate {
    transform: scaleX(1);
  }

  .loading-percentage {
    margin-top: 10px;
    font-size: 16px;
  }
.hero-title .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    opacity: 1 !important;
    transform: none !important;
}

.hero-title .line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform-origin: 0 50%;
}

.hero-title .line1 { 
    top: 0;
    background: linear-gradient(90deg, #00368e, #0055ff);
}

.hero-title .letters {
    background: linear-gradient(90deg, #00368e, #0055ff);
    background-clip: text !important ;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1em;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00368e, #0055ff);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,84,255,0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,84,255,0.4);
    color: #fff;
}

.footer {
    background: #111827;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #fff;
    margin: 0;
}

.footer .social-links {
    margin: 0;
    gap: 15px;
}

.section {
    opacity: 1 !important;
    transform: none !important;
}

/* Skills Section Styles */
.skills-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1122 0%, #1a237e 100%);
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="%23ffffff10"/></svg>');
    opacity: 0.1;
}

.section-subtitle {
    color: #7e89a9;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.skills-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.skill-card {
    position: relative;
    perspective: 1000px;
}

.skill-card-inner {
    position: relative;
    width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.skill-card:hover .skill-card-inner {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 84, 255, 0.2);
    border-color: rgba(0, 84, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.skill-card:hover .skill-icon i {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.skill-icon {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-icon i {
    color: #0055ff;
    background: linear-gradient(45deg, #00f0ff, #007e94);
    -webkit-background-clip: text !important;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transform: none !important;
}

.skill-info h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.skill-level {
    margin-top: 20px;
}

.level-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
    transform: none !important;
}

.dot.active {
    background: linear-gradient(45deg, #00368e, #0055ff);
    box-shadow: 0 0 10px rgba(0, 84, 255, 0.5);
    transform: none !important;
}

.level-text {
    display: block;
    text-align: center;
    color: #7e89a9;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,54,142,0.8) 100%);
    overflow: hidden;
    padding: 0 20px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bannar.png') center/cover no-repeat;
    z-index: -1;
}

.banner-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9) ;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,84,255,0.3);
}

.hero-buttons .btn-primary {
    background: linear-gradient(45deg, #00368e, #0055ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0,84,255,0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,84,255,0.5);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
}

.hero-buttons .btn-outline-light:hover {
    background: #fff;
    color: #00368e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down-link {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-down-link:hover {
    color: #0055ff;
}

.scroll-down .pulse {
    animation: pulse-down 2s infinite;
}

@keyframes pulse-down {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #00368e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.navbar-brand-gradient {
    background: linear-gradient(45deg, #00f0ff, #007e94) !important;
    background-clip: text !important ;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0055ff;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.black-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 999;
  opacity: 1;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

.blog-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,54,142,0.1) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%2300368e" opacity="0.05" width="100" height="100"/></svg>');
    opacity: 0.05;
    pointer-events: none;
}

.blog-section h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.blog-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00368e, #0055ff);
    border-radius: 3px;
}

.blog-card {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(0,54,142,0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,54,142,0.5);
    box-shadow: 0 10px 30px rgba(0,54,142,0.2);
}

.blog-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.1);
}

.blog-card .card-body {
    padding: 2rem;
    position: relative;
}

.blog-card .card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}

.blog-card .card-text {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #00368e;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.post-date {
    color: #888;
    font-size: 0.9rem;
}

.read-more {
    color: #0055ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #fff;
}

.blog-card:hover .card-title {
    color: #0055ff;
}

.blog-card .card-text {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-card .btn-read-more {
    background: transparent;
    color: #0055ff;
    border: 2px solid #0055ff;
    border-radius: 30px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blog-card .btn-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0055ff;
    transition: all 0.3s ease;
    z-index: -1;
}

.blog-card .btn-read-more:hover {
    color: #fff;
}

.blog-card .btn-read-more:hover::before {
    width: 100%;
}

.blog-card .post-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,54,142,0.9);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.blog-card .category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}
.text-primary {
  color: #00368e !important;
}
.btn-outline-primary {
  border-color: #00368e;
  color: #00218e;
}
.btn-outline-primary:hover {
  background-color: #00368e;
  color: #fff;
}
.card {
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 54, 142, 0.3);
}
.navbar {
  transition: background-color 0.4s ease, color 0.4s ease;
}

.navbar.transparent {
  background: transparent;
  box-shadow: none;
}

.navbar.scrolled {
  background-color: #00368e !important;
  color: white;
}

.navbar.scrolled a {
  color: white !important;
}

.navbar.scrolled a:hover {
  color: #ccc !important;
}


.navbar input[type="checkbox"],
.navbar .hamburger-lines{
    display: none;
}

nav .container{
    max-width: 1200px !important;
    width: 90% !important;
    margin: auto !important;
}

.navbar {
    position: fixed;
    width: 100%;
    background: transparent;
    color: #ffffff;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(0, 54, 142, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container{
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items{
    order: 2;
    display: flex;
}
.logo{
    order: 1;
    font-size: 2.3rem;
}

.menu-items li{
    list-style: none;
    margin-left: 1.5rem;
    font-size: 1.3rem;
}

.navbar a{
    color: #ffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover{
    color: #5c5c5c;
}

@media (max-width: 768px){
  .navbar .menu-items {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 100px;
  background: #00368e;
  height: 100vh;
  width: 100vw;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  padding-left: 40px;
  transition: transform 0.5s ease-in-out;
  z-index: 1;
}

.navbar .menu-items li {
  margin-bottom: 1.8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.navbar .menu-items a {
  color: white;
}

    .navbar{
        opacity: 1;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines{
        display: block;
    }

    .navbar-container{
        display: block;
        position: relative;
        height: 64px;
    }

    .navbar-container input[type="checkbox"]{
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines{
        display: block;
        height: 28px;
        width: 35px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line{
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
    }
    
    .navbar-container .hamburger-lines .line1{
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2{
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3{
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items{
        padding-top: 100px;
        background: #00368e;
        height: 100vh;
        max-width: 50%;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: 1px;
        padding-left: 1px;
        transition: transform 0.5s ease-in-out;
        box-shadow:  5px 0px 10px 0px #aaa;
        align-items: center;
        justify-content: center;
        
      }

    .navbar .menu-items li{
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
        
    }

    .logo{
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items{
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1{
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2{
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3{
        transform: rotate(-45deg);
        
    }

}

@media (max-width: 500px){
    .navbar-container input[type="checkbox"]:checked ~ .logo{
        display: none;
    }
}

.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.visible {
    opacity: 1;
}

svg {
	font-family: 'Russo One', sans-serif;
	position: absolute; 
  z-index: 100;
}
svg text {
	text-transform: uppercase;
	animation: stroke 5s infinite alternate;
	stroke-width: 2;
	stroke: #365fa0;
	font-size: 30px;
}
@keyframes stroke {
	0%   {
		fill: rgba(72,138,20,0); stroke: #00368e;
		stroke-dashoffset: 25%; stroke-dasharray: 0 50%; stroke-width: 2;
	}
	70%  {fill: rgba(72,138,20,0); stroke: #00368e; }
	80%  {fill: rgba(72,138,20,0); stroke: #00368e; stroke-width: 3; }
	100% {
		fill: #00368e; stroke: rgba(54,95,160,0); 
		stroke-dashoffset: -25%; stroke-dasharray: 50% 0; stroke-width: 0;
	}
}


/* For Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #000;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #00368e;
    border-radius: 10px;
    border: 2px solid #000;
  }
  
  /* For Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #00368e #000;
  }
  #scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #00368e;
    width: 0%;
    z-index: 9999;
    transition: width 0.25s ease-out;
}
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00368e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    background-color: #002a6b;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.back-to-top i {
    font-size: 1.2rem;
}

.hero-section {
    background: #000; /* Match site theme background */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2.5rem; /* Match site font size */
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff; /* Match site text color */
}

.hero-description {
    font-size: 1.2rem; /* Match site font size */
    margin-bottom: 30px;
    color: #7e89a9; /* Match site text color */
}

.hero-buttons .btn {
    font-size: 1rem; /* Match site button font size */
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px; /* Match site button style */
    background: #0055ff; /* Match site button color */
    color: #fff;
    transition: background 0.3s, transform 0.3s;
}

.hero-buttons .btn:hover {
    background: #00368e; /* Match site button hover color */
    transform: translateY(-5px);
}

.social-links a {
    color: #fff; /* Match site link color */
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 84, 255, 0.4);
}

.contact-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.98) 0%, rgba(0,54,142,0.2) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    z-index: 1;
}

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0,54,142,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: -1;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00368e, #0055ff) !important;
    background-clip: text !important ;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00368e, #0055ff);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-wrapper {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.contact-info-header {
    margin-bottom: 30px;
}

.contact-info-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.contact-info-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

.contact-info-list {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00368e, #0055ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0,54,142,0.3);
}

.icon-wrapper i {
    font-size: 1.4rem;
    color: #fff;
}

.info-content h4 {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 5px;
}

.info-content p,
.info-content .info-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content .info-link:hover {
    color: #0055ff;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #00368e, #0055ff);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,54,142,0.3);
}

.contact-form-wrapper {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.contact-form {
    transform: none !important;
    opacity: 1 !important;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #0055ff;
}



.contact-form .form-control:focus ~ .input-line {
    width: 100%;
}

.contact-form .form-group.focused label {
    color: #0055ff;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .submit-btn {
    background: linear-gradient(135deg, #00368e, #0055ff);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,54,142,0.4);
}

.contact-form .submit-btn i {
    transition: transform 0.3s ease;
}

.contact-form .submit-btn:hover i {
    transform: translateX(5px);
}

.alert-success {
    background: rgba(0,255,0,0.1);
    border: 1px solid rgba(0,255,0,0.2);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success i {
    color: #00ff00;
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .contact-info-wrapper,
    .contact-form-wrapper {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 30px;
    }
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), #00ff88);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #00368e;
}

.contact-info-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #00ff88);
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-info-item .icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #00ff88);
    opacity: 0.3;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.contact-info-item:hover .icon::before {
    opacity: 0.6;
}

.form-control {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-color);
}

.input-wrapper label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--text-color-light);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus ~ label,
.form-control:valid ~ label {
    top: -0.5rem;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), #00ff88);
    transition: width 0.3s ease;
}

.form-control:focus ~ .input-line {
    width: 100%;
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-color), #00ff88);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.submit-btn .btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 2rem;
    }

    .contact-info-item {
        margin-bottom: 1rem;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

.contact-info {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(0,54,142,0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-item i {
    color: #00368e;
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 25px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #00368e;
    transform: translateY(-5px);
    color: #fff;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #fff;
}

/* Footer Styles */
.footer {
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,54,142,0.1) 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #fff;
    margin: 0;
    text-align: left;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer .social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer .social-icon:hover {
    background: #00368e;
    transform: translateY(-3px);
    color: #fff;
}

@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        text-align: center;
        margin-bottom: 1rem;
    }
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%);
    animation: shine 2s infinite;
}

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

@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(0, 54, 142, 0.5),
                     0 0 20px rgba(0, 54, 142, 0.3),
                     0 0 30px rgba(0, 54, 142, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 85, 255, 0.5),
                     0 0 30px rgba(0, 85, 255, 0.3),
                     0 0 40px rgba(0, 85, 255, 0.2);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 54, 142, 0.5),
                     0 0 20px rgba(0, 54, 142, 0.3),
                     0 0 30px rgba(0, 54, 142, 0.2);
    }
}

.navbar-brand {
    color: white;
    font-weight: 600;
    font-size: 1.8rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 10px;
    background: linear-gradient(90deg, #00368e, #0055ff);
    background-clip: text;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00368e, #0055ff);
    transition: width 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    animation: none;
    text-shadow: 0 0 20px rgba(0, 85, 255, 0.8),
                 0 0 30px rgba(0, 85, 255, 0.6),
                 0 0 40px rgba(0, 85, 255, 0.4);
}

.navbar-brand:hover::before {
    width: 100%;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
}

.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(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    text-align: right;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 54, 142, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .navbar-nav {
        text-align: right;
    }

    .nav-link {
        padding: 0.5rem 0;
        color: white !important;
    }
}

.navbar-nav {
  margin-right: 0;
  margin-left: auto;
}

.contact-section h2 {
  margin-bottom: 30px;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  margin: 0 15px;
  transition: transform 0.3s;
}
  .social-icons a:hover {
    transform: scale(1.2);
    color: #00aced;
  }
  footer {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    border-top: 1px solid #00368e;
  }/* يظهر فقط في الشاشات الصغيرة */
  @keyframes slides {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
.logos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.97) 0%, rgba(0,54,142,0.1) 100%);
    position: relative;
    overflow: hidden;
}

.logos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%2300368e" opacity="0.05" width="100" height="100"/></svg>');
    opacity: 0.05;
    pointer-events: none;
}

.logos-section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.logos-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00368e, #0055ff);
    border-radius: 3px;
}

.logos {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logos::before, .logos::after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
}

.logos::before {
    left: 0;
    background: linear-gradient(to left, rgba(0,0,0,0), rgb(0, 0, 0));
}

.logos::after {
    right: 0;
    background: linear-gradient(to right, rgba(0,0,0,0), rgb(0, 0, 0));
}

.logo_items {
    display: inline-block;
    animation: slideLogos 20s linear infinite;
    padding: 0 20px;
}

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

.logos:hover .logo_items {
    animation-play-state: paused;
}

.logo_items img {
    height: 60px;
    margin: 0 40px;
    vertical-align: middle;
    transition: all 0.3s ease;
    transform: scale(0.9);
}

.logo_items img:hover {
    transform: scale(1);
}

  
  /* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #00368e, #0055ff);
    z-index: 1001;
    transition: width 0.25s ease-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #00368e;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0055ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 1.2rem;
}
  
  


/* Portfolio Section Styles */
.portfolio-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.97) 0%, rgba(0,54,142,0.1) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%2300368e" opacity="0.05" width="100" height="100"/></svg>');
    opacity: 1;
    pointer-events: none;
}

.portfolio-section h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}



.portfolio-filters {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid transparent;
    background: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #333;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00368e;
    transition: width 0.3s ease;
    z-index: 0;
}

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

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
    border-color: #00368e;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 85, 255, 0.03), transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.skills-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: linear-gradient(145deg, #151515, #111);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.03), transparent);
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: #0055ff;
    box-shadow: 0 20px 40px rgba(0, 85, 255, 0.15);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0055ff, #0044cc);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.2);
}

.skill-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.skill-card:hover .skill-icon::after {
    opacity: 1;
}

.skill-icon i {
    font-size: 2rem;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.skill-card:hover .skill-icon i {
    transform: scale(1.1) rotate(-5deg);
}

.skill-name {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.skill-desc {
    color: #999;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.8;
}

.skill-level {
    background: rgba(0, 85, 255, 0.05);
    padding: 1.25rem;
    border-radius: 16px;
    margin-top: auto;
}

.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.progress-bar {
    background: linear-gradient(90deg, #0055ff, #0066ff);
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar.animate {
    transform: scaleX(1);
}
.progress-container {
    width: 300px;
    margin-top: 20px;
  }

  .progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }

  .loading-fill {
    background: linear-gradient(90deg, #0055ff, #0066ff);
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .loading-fill.animate {
    transform: scaleX(1);
  }
  .progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
  }
  
  .progress-fill {
    background: linear-gradient(90deg, #0055ff, #0066ff);
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .progress-fill.animate {
    transform: scaleX(1);
  }
  
.skill-percentage {
    color: #0055ff;
    font-weight: 600;
    font-size: 0.9rem;
    float: right;
}

.skill-category {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 85, 255, 0.1);
    color: #0055ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 85, 255, 0.2);
    backdrop-filter: blur(10px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,54,142,0.2);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-desc {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,54,142,0.9);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-category {
    transform: translateX(0);
    opacity: 1;
}

.portfolio-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #00368e;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transform: translateX(60px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
}

.portfolio-item:hover .portfolio-link {
    transform: translateX(0);
    opacity: 1;
}

.portfolio-link:hover {
    background: #fff;
    color: #00368e;
    box-shadow: 0 5px 15px rgba(0,54,142,0.3);
}

.portfolio-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 54, 142, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.view-project {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.view-project:hover {
    background: #fff;
    color: #00368e;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #333;
}

.portfolio-content .category {
    color: #00368e;
    font-weight: 500;
    margin-bottom: 10px;
}

.portfolio-content .description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(0, 54, 142, 0.1);
    color: #00368e;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 15px;
    }

    .portfolio-filters {
        gap: 10px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s ease;
}

.portfolio-item:hover {
    opacity: 1;
}

.portfolio-link:hover {
    background: #0055ff;
    transform: scale(1.1);
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background: rgba(0,54,142,0.2);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0,54,142,0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0,54,142,0.4);
    transform: translateY(-2px);
}

.portfolio-item.featured::before {
    content: 'Featured';
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #00368e, #0055ff);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.portfolio-item.featured:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* Section title styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    color: #fff;
    margin-bottom: 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00368e, #0055ff);
}

/* Portfolio Section Styles */
#portfolio.section {
    background: linear-gradient(135deg, #0a1122 0%, #1a237e 100%);
    padding: 100px 0;
}
#portfolio-filters {
    display: flex;
    gap: 10px;
}
.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #00368e, #0055ff);
    box-shadow: 0 8px 25px rgba(0,84,255,0.4);
}

/* Portfolio items */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,84,255,0.2);
}
.portfolio-img {
    width: 100%;
    height: auto;
    display: block;
}
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-title {
    font-size: 1.2rem;
    margin: 0;
}
.portfolio-desc {
    font-size: 0.9rem;
    margin-top: 5px;
}
.portfolio-tech {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tech-tag {
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.75rem;
}
.portfolio-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #00368e, #0055ff);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #fff;
}
.portfolio-link {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}
.portfolio-link:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* Blog Section Styles */
#blog.section {
    background: linear-gradient(135deg, #001a44 0%, #111827 100%);
    padding: 100px 0;
}
.blog-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,84,255,0.2);
}
.blog-card img {
    width: 100%;
    height: auto;
    display: block;
}
.blog-card .post-category {
    display: inline-block;
    background: linear-gradient(45deg, #00368e, #0055ff);
    color: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}
.blog-card .card-title {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
}
.blog-card .card-text {
    color: #ddd;
    font-size: 0.9rem;
}
.blog-card .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.post-date {
    color: #7e89a9;
    font-size: 0.85rem;
}
.read-more {
    color: #0055ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.read-more:hover {
    color: #00368e;
}

#portfolio-grid .col-lg-4, #blog-posts .col-lg-4 {
    margin-bottom: 30px;
}
.portfolio-item, .blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.portfolio-img, .blog-card img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.blog-card .card-body, .portfolio-overlay {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.portfolio-overlay, .blog-card img {
    transition: transform 0.3s ease;
}
.portfolio-img:hover, .blog-card img:hover {
    transform: scale(1.05);
}
.modal {
    display: none;
}
.modal-content {
    max-width: 800px;
}

/* About Section Styles */
.about-me.section {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  padding: 60px 0;
}
.about-me.section .section-title {
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}
.about-img-wrapper {
  max-width: 280px;
  margin: 0 auto 30px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
.about-img-wrapper img {
  width: 100%;
  display: block;
}
.about-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.about-card p {
  color: #ddd;
  margin-bottom: 15px;
}
.about-card .highlight {
  color: #00368e;
}

.hero-section {
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero-buttons .btn {
    font-size: 1.2rem;
    padding: 10px 30px;
    margin: 10px;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.hero-buttons .btn:hover {
    background: #fff;
    color: #0055ff;
    transform: translateY(-5px);
}

.social-links a {
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 84, 255, 0.4);
}

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

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

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.5s;
}
.loading-content {
  text-align: center;
}
.loading-logo {
  width: 110px;
  animation: logo-pop 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite alternate;
  filter: drop-shadow(0 0 24px #00368e);
  border-radius: 16px;
  background: transparent;
  padding: 8px;
  border: none;
  box-shadow: none;
}
@keyframes logo-pop {
  0% { transform: scale(1) rotate(-5deg); }
  100% { transform: scale(1.08) rotate(5deg); }
}
.progress-track {
  width: 220px;
  height: 8px;
  background: #003068;
  border-radius: 6px;
  overflow: hidden;
  margin: 32px auto 0 auto;
  position: relative;
  border: none;
  box-shadow: none;
}
.progress-fill {
  background: linear-gradient(90deg, #001a44, #00368e, #0055ff, #00368e, #001a44);
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.progress-fill.animate {
  transform: scaleX(1);
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  animation: none;
}
.loading-percentage {
  color: #fff;
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: 2px;
  font-weight: 600;
}
body.loading-active .main-content {
  opacity: 0 !important;
  pointer-events: none;
}
body.loading-active .loading-screen {
  opacity: 1;
  visibility: visible;
}
body:not(.loading-active) .loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s, visibility 0.5s;
}

/* Skills Cards New Design */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.skill-card {
  background: #111;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.progress-circle {
  --percent: 0;
  width: 80px;
  height: 80px;
  background: conic-gradient(#0055ff calc(var(--percent)*1%), #003068 0deg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background 1s ease-out;
}

.progress-circle span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-icon-large {
  font-size: 2rem;
  color: #0055ff;
  margin-bottom: 8px;
}

.skill-name {
  font-size: 1rem;
  color: #fff;
  margin-top: 8px;
}

/* Alternate horizontal progress for last skill cards */
.progress-bar-alt {
  width: 100%;
  height: 8px;
  background: #003068;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.progress-bar-fill-alt {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00368e, #0055ff);
  transition: width 1s ease-out;
}
