
:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    scroll-behavior: smooth;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.6;
}

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

.name-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.title-spacing {
    letter-spacing: 5px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-badge {
    display: inline-block;
    background-color: #E0E7FF;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

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

.project-body {
    padding: 20px;
    background: white;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-link:hover {
    color: var(--primary-color);
}

.capability-card {
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: 2px solid white;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

@media (max-width: 768px) {
    .name-title {
        font-size: 2.5rem;
    }
    
    .title-spacing {
        letter-spacing: 3px;
    }
    
    .capability-card {
        padding: 20px;
    }
}



.swiper-container {
position: relative; /* Needed for positioning arrows within the container */
}
.swiper-container {
max-width: 100%;
overflow: hidden;
}

/* Position the navigation arrows nicely */
.swiper-button-next,
.swiper-button-prev {
background-color: #ffffff;
color: #0d6efd; /* Bootstrap primary blue */
padding: 12px;
border-radius: 50%;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
}

/* On hover - increase shadow and scale slightly */
.swiper-button-next:hover,
.swiper-button-prev:hover {
background-color: #0d6efd;
color: #fff;
transform: translateY(-50%) scale(1.1);
box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* Hide default icon background */
.swiper-button-next::after,
.swiper-button-prev::after {
font-size: 18px;
font-weight: bold;
}
/* Container positioning */
.swiper-pagination {
position: relative;
margin-top: 30px;
text-align: center;
}

/* Pagination bullets */
.swiper-pagination-bullet {
width: 12px;
height: 12px;
background: #ccc;
border-radius: 50%;
display: inline-block;
margin: 0 6px;
opacity: 0.7;
transition: all 0.3s ease;
}

/* Active bullet */
.swiper-pagination-bullet-active {
background: #0d6efd; /* Bootstrap primary blue */
width: 16px;
height: 16px;
opacity: 1;
transform: scale(1.1);
box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
}
@media (max-width: 768px) {
.swiper-button-next,
.swiper-button-prev {
display: none; /* Or reduce size */
}
}
/* Ensure the image is responsive */
.hero-section .hero-content {
    position: relative;
    z-index: 10; /* Ensures content is above image */
}

/* Set the image to fit its container */
.hero-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover; /* Ensures the image doesn't stretch */
}

/* For smaller screens, stack the columns */
@media (max-width: 768px) {
    .hero-section .row {
        flex-direction: column;
       
    }

    .hero-section .col-lg-6 {
        margin-bottom: 20px; /* Space between content and image */
    }

    .hero-section img {
        margin-top: 20px; /* Add space between image and content */
    }
}

/* Additional mobile-specific adjustments */

@media (max-width: 480px) {
    .hero-section .btn {
        width: 100%; /* Full width for better mobile UX */
        margin: 10px 0;
        font-size: 14px; /* Smaller font size for phone buttons */
        padding: 10px 16px; /* Optional: reduce padding for smaller screens */
    }

    .hero-section h1.name-title {
        font-size: 28px;
    }

    .hero-section h2 {
        font-size: 20px;
    }

    .hero-section h6,
    .hero-section p.lead {
        font-size: 14px;
    }
}