 :root {
     --primary-gradient: linear-gradient(135deg, #2b2b2b 0%, #353535 100%);
     --secondary-gradient: linear-gradient(135deg, #353535 0%, #3f3f3f 100%);


     --accent-color: #7289b9;
     --dark-bg: #0f1419;
     --light-bg: #f8f9fa;
 }

 body {
     scroll-behavior: smooth;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     overflow-x: hidden;
 }

 section {
     padding: 35px 0;
 }

 /* Navbar Styling */
 .navbar {
     backdrop-filter: blur(10px);
     background: rgba(255, 255, 255, 0.95) !important;
     transition: all 0.3s ease;
 }

 .navbar-brand {
     font-size: 1.5rem;
     background: var(--primary-gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .nav-link {
     position: relative;
     font-weight: 500;
     transition: color 0.3s ease;
 }

 .nav-link::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: 0;
     left: 50%;
     background: var(--accent-color);
     transition: all 0.3s ease;
     transform: translateX(-50%);
 }

 .nav-link:hover::after {
     width: 80%;
 }

 /* Hero Section */
 .hero {
     /* background: linear-gradient(135deg, #939aa8 0%, #2a3444 100%); */
     background-color: rgb(227 235 243) !important;
     color: rgb(8, 8, 8);
     min-height: 70vh;
     display: flex;
     align-items: center;
     position: relative;
     overflow: hidden;
 }

 .hero::before {
     content: '';
     position: absolute;
     inset: 0;
     background: url('data:image/svg+xml,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="1.5" fill="%23cbd5e1" opacity="0.08"/></svg>');
     animation: float 30s linear infinite;
     pointer-events: none;
 }

 @keyframes float {
     from {
         transform: translateY(0);
     }

     to {
         transform: translateY(-100px);
     }
 }

 .hero-content {
     position: relative;
     z-index: 1;
 }

 .profile-img {
     width: 240px;
     height: 240px;
     border: 5px solid rgba(255, 255, 255, 0.3);
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
     object-fit: cover;
     /* transition: transform 0.3s ease; */
 }

 /* 
        .profile-img:hover {
            transform: scale(1.05) rotate(2deg);
        } */

 .hero h2 {
     font-size: 2rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     animation: fadeInUp 0.8s ease;
 }

 .hero p {
     font-size: 1rem;
     line-height: 1.8;
     opacity: 0.95;
     animation: fadeInUp 1s ease;
 }

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

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Section Titles */
 .section-title {
     font-size: 2.2rem;
     font-weight: 700;
     margin-bottom: 2rem;
     position: relative;
     display: inline-block;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 60px;
     height: 4px;
     background: var(--primary-gradient);
     border-radius: 2px;
 }

 /* Education Cards */
 #education {
     padding: 30px 0;
 }

 .education-card {
     border: none;
     border-radius: 16px;
     background: #f5f5f5;
     color: #0e0d0d;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .education-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 12px 30px rgba(211, 209, 209, 0.35);
 }

 .edu-logo {
     width: 70px;
     height: 70px;
     /* object-fit: contain; */
     /* background: #ffffff; */
     border-radius: 12px;
     padding: 2px;
     flex-shrink: 0;
 }


 .education-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
 }

 .education-card h5 {
     color: #0d2a52;
 }


 /* Skills Section */
 #skills {
     background-color: rgb(227 235 243) !important;
     color: rgb(10, 10, 10);
 }

 .skill-badge {
     padding: 12px 24px;
     margin: 8px;
     font-size: 1rem;
     border-radius: 50px;
     display: inline-block;
     transition: all 0.3s ease;
     cursor: pointer;
     border: 2px solid rgba(23, 22, 22, 0.3);
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(10px);
 }

 .skill-badge:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
     background: rgba(255, 255, 255, 0.2);
 }

 .skills-slider {
     overflow: hidden;
     width: 100%;
 }

 .skills-track {
     display: flex;
     align-items: center;
     width: max-content;
     animation: scroll 20s linear infinite;
 }

 .skills-track img {
     margin: 0 25px;
     /* spacing between icons */
     flex-shrink: 0;
 }

 /* KEY PART */
 @keyframes scroll {
     0% {
         transform: translateX(0);
     }

     100% {
         transform: translateX(-50%);
     }
 }

 /* Experience Cards */
 .experience-card {
     border: none;
     border-radius: 15px;
     overflow: hidden;
     transition: all 0.3s ease;
     background: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
 }

 .experience-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
 }

 .experience-card .card-body {
     position: relative;
 }

 .experience-card .card-title {
     color: var(--accent-color);
     font-weight: 600;
 }

 .experience-icon {
     font-size: 2.5rem;
     color: var(--accent-color);
     margin-bottom: 1rem;
 }

 .exp-logo {
     height: 2.5rem;
     object-fit: contain;
 }

 /* Projects Section */
 .project-card {
     border: none;
     border-radius: 20px;
     overflow: hidden;
     transition: all 0.4s ease;
     background: white;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
     height: 100%;
     font-weight: 450;
 }

 .project-card:hover {
     transform: translateY(-15px);
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
 }

 .project-img {
     position: relative;
     height: 200px;
     overflow: hidden;
     border-top-left-radius: 8px;
     border-top-right-radius: 8px;
 }

 .project-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 /* Optional subtle overlay for professionalism */
 .project-img::after {
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0, 0, 0, 0.25);
 }


 .project-card:hover .project-img::before {
     background: rgba(0, 0, 0, 0.3);
 }

 .project-card .card-body {
     padding: 2rem;
 }

 .project-card .card-title {
     color: var(--accent-color);
     font-weight: 700;
     font-size: 1.4rem;
     margin-bottom: 1rem;
 }

 .project-tech {
     display: inline-block;
     padding: 5px 15px;
     margin: 5px;
     background: rgba(42, 82, 152, 0.1);
     color: var(--accent-color);
     border-radius: 20px;
     font-size: 0.85rem;
     font-weight: 500;
 }

 /* Certifications - Luxe Split Layout */
 .cert-list-item {
     padding: 1.5rem;
     margin-bottom: 1rem;
     background: white;
     border-radius: 12px;
     border-left: 4px solid transparent;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 }

 .cert-list-item:hover {
     border-left-color: var(--accent-color);
     transform: translateX(10px);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
 }

 .cert-list-item.active {
     border-left-color: var(--accent-color);
     background: linear-gradient(to right, rgba(42, 82, 152, 0.05), white);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
 }

 .cert-list-item h5 {
     margin: 0;
     font-weight: 600;
     color: #333;
 }

 .cert-display {
     background: white;
     border-radius: 20px;
     padding: 1rem;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
     position: sticky;
     top: 100px;
     min-height: 500px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .cert-image-container {
     width: 100%;
     height: 450px;
     background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
     border-radius: 15px;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
     transition: all 0.4s ease;
 }

 .cert-image {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
     transition: all 0.4s ease;
 }

 .cert-placeholder {
     text-align: center;
     color: #666;
 }

 .cert-placeholder i {
     font-size: 5rem;
     margin-bottom: 1rem;
     color: var(--accent-color);
     opacity: 0.3;
 }

 /* Contact Section */
 #contact {
     background: var(--light-bg);
 }

 .contact-info {
     background: white;
     padding: 1rem;
     border-radius: 15px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
 }

 .contact-info:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
 }

 .contact-item {
     display: flex;
     align-items: center;
     margin: 1rem 0;
     font-size: 1.1rem;
 }

 .contact-item i {
     font-size: 1.5rem;
     margin-right: 1rem;
     color: var(--accent-color);
 }

 .btn-gradient {
     background: var(--primary-gradient);
     border: none;
     padding: 12px 30px;
     border-radius: 50px;
     color: white;
     font-weight: 600;
     transition: all 0.3s ease;
     text-decoration: none;
     display: inline-block;
 }

 .btn-gradient:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 25px rgba(42, 82, 152, 0.4);
     color: white;
 }

 /* Footer */
 footer {
     background: var(--dark-bg);
     color: white;
     padding: 2rem 0;
 }

 /* Animations */
 .fade-in {
     animation: fadeIn 1s ease;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 /* Responsive */
 /* Mobile screens  */
 @media (max-width: 768px) {
     body {
         font-size: 16px !important;
     }

     .hero h2 {
         font-size: 2rem;
     }

     .hero p {
         font-size: 1rem;
         line-height: 1.5rem;
     }

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

     .profile-img {
         width: 220px;
         height: 220px;
     }

     .cert-display {
         position: relative;
         top: 0;
         margin-top: 0rem;
     }

     .cert-list-item {
         padding: 0.5rem;
     }

     #education {
         padding: 20px;
     }

     .edu-logo {
         width: 60px;
         height: 57px;
     }

     .btn-link {
         width: 110px;
     }

     .skill-badge {
         padding: 5px 10px;
     }

     section {
         padding: 20px 0;
     }

     .card-body {
         padding: 0.5rem !important;
     }

     .card-body h5 {
         font-size: 1.3rem;
     }

     .contact-item {
         font-size: 1rem;
     }
 }

 /* Tablet Screens */
 /* Tablet View: Certifications horizontal & compact */
 @media (max-width: 991px) and (min-width: 768px) {

     /* Left list column */
     #certifications .col-lg-5 {
         flex: 0 0 40%;
         max-width: 40%;
     }

     /* Right preview column */
     #certifications .col-lg-7 {
         flex: 0 0 60%;
         max-width: 60%;
     }

     /* Shrink certificate list items */
     .cert-list-item {
         padding: 1rem;
         margin-bottom: 0.75rem;
     }

     .cert-list-item h5 {
         font-size: 0.95rem;
     }

     .cert-list-item i {
         font-size: 1rem;
     }

     /* Shrink preview container */
     .cert-display {
         min-height: 360px;
         padding: 0.75rem;
     }

     .cert-image-container {
         height: 320px;
     }

     .cert-image {
         max-height: 100%;
         max-width: 100%;
     }
 }