/* Navbar Styles */
#main-navbar {
    padding: 15px 0;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#main-navbar.scrolled {
    padding: 10px 0;
    background: rgba(18, 18, 18, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
    transition: all 0.3s ease;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo-text {
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav-link {
    position: relative;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.3rem;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-text {
    transform: translateY(-3px);
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link.active .nav-text {
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    transform: translateY(-3px);
    text-shadow: 0 0 15px rgba(255, 77, 77, 0.3);
}

/* Hamburger Menu */
.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler {
    border: none;
    padding: 0;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    #main-navbar {
        padding: 10px 0;
        background: rgba(18, 18, 18, 0.98);
    }

    .hamburger {
        display: flex;
    }

    .navbar-collapse {
        background: rgba(18, 18, 18, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .nav-link {
        padding: 12px 0 !important;
        margin: 5px 0;
        text-align: center;
    }

    .nav-indicator {
        display: none;
    }
}

/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 55px;
}

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

::-webkit-scrollbar-track {
    background: #2d2d2d;
}

::-webkit-scrollbar-thumb {
    background: #c72c2c;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a81f1f;
}

/* Custom Utilities */
.hover-scale-105:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Navbar */
.navbar-custom {
    background-color: #1c1c1c !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-custom .navbar-brand img {
    height: 45px;
}

.navbar-custom .nav-link {
    color: #e0e0e0;
    font-weight: 500;
    margin: 0 0.75rem;
    transition: color 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #ffffff;
}

.navbar-custom .nav-icon {
    fill: #e0e0e0;
    transition: fill 0.3s;
    width: 20px;
    height: 20px;
}

.navbar-custom .nav-icon:hover {
    fill: #c72c2c;
}

/* === HERO SECTION === */
/* Hero Section - Background only here */
.hero-section {
    background: url('/maskam-manoj-kumar/images/homepage-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

/* Ensure content after hero has solid background */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;

}

/* Responsive adjustments for hero section */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 80vh;
        padding: 4rem 0;
    }

    .hero-text-area h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .carousel-container {
        width: 95%;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero-text-area h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .carousel-container {
        width: 100%;
        aspect-ratio: 4/5;
        margin-top: 2rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Main background for both hero and skills sections */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/maskam-manoj-kumar/images/homepage-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -1;
}

.carousel-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
    width: 100%;
    margin: 0;
    position: relative;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Styling for Slider Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 2rem;
}

.hero-profile-img {
    max-width: 100%;
    height: auto;
}

.red-shape-overlay,
.quote-text-overlay {
    position: absolute;
    bottom: 23px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
    max-height: 120px;
    height: auto;
    pointer-events: none;
    object-fit: contain;
}

.hero-text-area {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2rem 56px;
}

.hero-text-area .decorative-arrow {
    width: 40px;
    margin-bottom: 1rem;
}

.hero-text-area .decorative-c-shape {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    opacity: 0.5;
}

.hero-text-area h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-text-area h2.stroked-font {
    font-family: 'Times New Roman', Times, serif;
    font-size: 4rem;
    font-weight: 700;
    color: #c72c2c;
    -webkit-text-stroke: 1px #c72c2c;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-text-area ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.hero-text-area ul li {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.hero-text-area ul li::before {
    content: '↗';
    color: #e7a23a;
    margin-right: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-btn {
    background: #c72c2c;
    color: #fff;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
}

/* === SKILLS SECTION === */
.skills-section {
    padding: 80px 0;
    background: #121212;
    position: relative;
    z-index: 1;
    margin-top: -50px;
    /* Pull up slightly to overlap with hero gradient */
}

/* Remove the separate background for skills section */
.skills-section {
    padding: 13rem 1.5rem;
    position: relative;
    background-color: transparent;
    z-index: 1;
    /* Ensure content stays above the background */
}

.skills-heading-container {
    position: relative;
    display: inline-block;
    margin-bottom: 4rem;
}

.rotating-text-circle img {
    width: 300px;
    /* Adjust size as needed */
    height: 300px;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.skills-heading-container h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    line-height: 1.2;
}

.skill-pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    background-color: #2a2a2a;
    border: 1px solid #444;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-pill:hover {
    background-color: #c72c2c;
    border-color: #c72c2c;
    color: #fff;
    transform: translateY(-3px);
}

.skill-pill img {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    object-fit: contain;
}

/* Works & Certifications Section */
.content-section {
    padding: 80px 0;
    background-color: #121212;
}

.content-section .card {
    background-color: #1c1c1c;
    border: 1px solid #2d2d2d;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-section .card-img-top {
    width: 100%;
    height: 200px;
    /* Fixed height for images */
    object-fit: cover;
    /* Ensures images cover the area without distortion */
    border-radius: 0.5rem 0.5rem 0 0;
}

.content-section .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-section .card-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .content-section .card-img-top {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .content-section .card-img-top {
        height: 220px;
    }
}

/* Certificates Section Styles */
/* Futuristic Certificates Section Styling */
.certificates-section {
    padding: 190px 0;
    position: relative;
    z-index: 1;
    background: #0a0a1a;
    overflow: hidden;
    --neon-pink: #ff2a6d;
    --neon-blue: #05d9e8;
    --neon-purple: #d300c5;
    --neon-cyan: #00f2fe;
}

.certificates-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 42, 109, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(5, 217, 232, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(211, 0, 197, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a1a 0%, #0f0f2d 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(10, 10, 26, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 26, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 217, 232, 0.1), transparent 70%);
    opacity: 0.3;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px 2px var(--neon-cyan);
    opacity: 0;
    animation: float 15s infinite linear;
}

.header-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    border-radius: 3px;
    margin: 1.5rem auto 0;
    position: relative;
    overflow: hidden;
}

.header-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    animation: slide 3s infinite alternate;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    border-radius: 2px;
}

.certificate-card {
    background: rgba(15, 15, 35, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 42, 109, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(5, 217, 232, 0.1);
    transform: translateY(0) perspective(1000px) rotateX(0) rotateY(0);
    transform-style: preserve-3d;
    z-index: 1;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-purple), var(--neon-cyan));
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: 0.5s;
    animation: gradientBG 15s ease infinite;
    border-radius: 12px;
}

.certificate-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(5, 217, 232, 0.2);
    border-color: var(--neon-cyan);
    background: rgba(20, 20, 50, 0.8);
}

.certificate-card:hover::before {
    opacity: 0.7;
    filter: blur(10px);
}

.certificate-header {
    background: linear-gradient(90deg, rgba(255, 42, 109, 0.1) 0%, rgba(5, 217, 232, 0.1) 100%);
    padding: 1.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.certificate-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: 0.5s;
}

.certificate-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover .certificate-header::after {
    opacity: 1;
}

.certificate-header h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #fff, var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.certificate-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.certificate-issuer {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.issuer-logo {
    flex: 0 0 86px;
    height: 75px;
    border-radius: 11px;
    overflow: hidden;
    background-color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0px;
}

.issuer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover .issuer-logo {
    background: rgba(79, 172, 254, 0.15);
    transform: rotate(0deg);
}

.certificate-card:hover .issuer-logo::before {
    opacity: 1;
}

.issuer-logo i {
    color: #4facfe;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.certificate-card:hover .issuer-logo i {
    color: #00f2fe;
    transform: scale(1.1);
}

.issuer-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.issuer-info p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
}

.certificate-details p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.certificate-card:hover .certificate-details p {
    color: #ffffff;
}

.certificate-footer {
    margin-top: auto;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.certificate-card:hover .certificate-footer {
    background: rgba(0, 0, 0, 0.2);
}

.certificate-date {
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.certificate-date i {
    margin-right: 6px;
    color: #4facfe;
}

.certificate-card:hover .certificate-date {
    color: #fff;
}

.certificate-link {
    color: #4facfe;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

.certificate-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 30px 8px 15px;
    background: rgba(5, 217, 232, 0.1);
    border-radius: 4px;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(5, 217, 232, 0.2);
}

.certificate-link::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: var(--neon-cyan);
    font-size: 1.2rem;
}

.certificate-link:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(5, 217, 232, 0.2);
    box-shadow: 0 0 20px rgba(5, 217, 232, 0.4);
    transform: translateY(-2px);
}

.certificate-link:hover::after {
    transform: translate(8px, -50%);
    color: #fff;
}

.certificate-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.certificate-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    .certificates-section {
        padding: 6rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Footer */
.footer-main {
    background-color: #0d0d0d;
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
    background-image: url('/maskam-manoj-kumar/images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-banner-wrapper {
    position: absolute;
    top: -100px;
    /* Increased from -75px to -100px for more space */
    left: 50%;
    transform: translateX(-50%);
    width: calc(92% - 39px);
    max-width: 950px;
    z-index: 10;
    padding: 2px 1px;
}

.footer-banner {
    background: url('/maskam-manoj-kumar/images/cta-3-bg-img-1.png') center center/cover no-repeat;
    padding: 2rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.footer-banner h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.btn-contact {
    background: #c72c2c;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 44, 44, 0.3);
}

.btn-contact:hover {
    background: #e63939;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(199, 44, 44, 0.4);
    color: #fff;
}

.btn-contact:active {
    transform: translateY(-1px);
}

.footer-banner .btn-contact {
    width: 100%;
    max-width: 200px;
    text-align: center;
}

/* Tablet View */
@media (min-width: 576px) {
    .footer-banner {
        padding: 2.5rem;
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .footer-banner h2 {
        margin: 0 2rem 0 0;
        font-size: 2.2rem;
    }

    .footer-banner .btn-contact {
        width: auto;
    }
}

/* Desktop View */
@media (min-width: 992px) {
    .footer-banner h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding-top: 8rem;
    }

    .footer-banner-wrapper {
        top: -41px;
    }
}

.footer-content {
    padding: 16rem 1rem 2rem 1rem;
    border-bottom: 1px solid #333;
}

.footer-content h5 {
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.footer-content p,
.footer-content ul li {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content ul li {
    margin-bottom: 0.8rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border: none;
    /* Ensure no border is applied */
}

.footer-socials a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-socials svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom img {
    height: 50px;
}

.footer-bottom .email {
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

/* === Offcanvas Contact Form === */
.offcanvas {
    background-color: #1c1c1c;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .carousel-container {
        width: 95%;
        max-width: 100%;
        aspect-ratio: 16/14;
    }

    .hero-text-area h1 {
        font-size: 3.5rem;
    }

    .hero-text-area h2.stroked-font {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .carousel-container {
        aspect-ratio: 16/16;
    }

    .hero-text-area h1 {
        font-size: 3rem;
    }

    .hero-text-area h2.stroked-font {
        font-size: 2.5rem;
    }

    .hero-text-area ul li {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
        min-height: auto;
    }

    .carousel-container {
        width: 100%;
        height: auto;
        aspect-ratio: 0/0.5;
        box-shadow: none;
        margin: 0;
    }

    .hero-text-area {
        padding: 1rem 0;
        align-items: center;
        text-align: center;
    }

    .hero-text-area h1 {
        font-size: 2.5rem;
        margin-top: 1rem;
    }

    .hero-text-area h2.stroked-font {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-text-area ul {
        margin: 1.5rem 0;
        text-align: left;
        display: inline-block;
    }

    .hero-text-area .decorative-arrow {
        display: none;
    }

    .hero-text-area .decorative-c-shape {
        display: none;
    }

    .hero-btn {
        align-self: center;
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .footer-banner {
        flex-direction: column;
        text-align: center;
    }

    .footer-banner h2 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-text-area h1 {
        font-size: 2.2rem;
    }

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

    .hero-text-area ul li {
        font-size: 1rem;
    }

    .hero-profile-img {
        max-width: 87%;
    }

    .quote-text-overlay {
        left: 51% !important;
        transform: translateX(-50%);
        width: 80% !important;
        bottom: 28px !important;
        max-height: 79px;
    }
}

/* Modern Education Section Styles */
.education-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.education-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/test-bg.jpeg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.edu-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 30px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    transition: all 0.5s ease;
}

.edu-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.edu-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 172, 254, 0.3);
}

.edu-card:hover::before {
    height: 6px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.edu-card:hover::after {
    opacity: 1;
}

.edu-logo {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    object-fit: cover;
    border: 0px solid rgba(79, 172, 254, 0.3);
    margin: 0 auto 20px;
    display: block;
    background: rgba(255, 255, 255, 0.9);
    padding: 1px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.edu-card:hover .edu-logo {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 242, 254, 0.5);
}

.edu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.edu-content {
    text-align: left;
    position: relative;
    z-index: 2;
}

.edu-content h4 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #fff, #b3e5fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.institution {
    color: #b3e5fc;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: center;
    display: block;
}

.duration-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.1);
    color: #4facfe;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 auto 20px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
}

.edu-card:hover .duration-badge {
    background: rgba(0, 242, 254, 0.2);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coursework,
.key-subjects,
.achievements {
    margin-top: 20px;
}

.coursework h6,
.key-subjects h6,
.achievements h6 {
    color: #00f2fe;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.coursework h6::after,
.key-subjects h6::after,
.achievements h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border-radius: 2px;
}

.coursework ul,
.key-subjects ul,
.achievements ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.coursework li,
.key-subjects li,
.achievements li {
    color: #e0f7fa;
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.coursework li::before,
.key-subjects li::before,
.achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4facfe;
    font-weight: bold;
    transition: all 0.3s ease;
}

.edu-card:hover .coursework li::before,
.edu-card:hover .key-subjects li::before,
.edu-card:hover .achievements li::before {
    color: #00f2fe;
    transform: translateX(3px);
}

.edu-card:hover .coursework li,
.edu-card:hover .key-subjects li,
.edu-card:hover .achievements li {
    transform: translateX(5px);
}

@media (max-width: 767.98px) {
    .edu-logo {
        width: 70px;
        height: 70px;
    }
}

/* Footer Social Icons Styling */
.footer-social {
    padding: 20px 0;
    margin: 0;
    /* Remove margin to prevent double spacing */
    border-top: 1px solid #333;
    /* Match the existing border color */
    border-bottom: none;
    /* Remove bottom border */
}

.footer-social-content ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social-content ul li {
    margin: 5px 0;
}

.footer-social-content ul li a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-content ul li a i {
    margin-right: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-social-content ul li a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-content ul li a:hover i {
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-social-content ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-social-content ul li {
        width: 80%;
        text-align: center;
    }

    .footer-social-content ul li a {
        justify-content: center;
        padding: 12px 20px;
    }
}

/* Update social icon styles */
.social-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
    vertical-align: middle;
}

/* Update existing styles to work with SVG icons */
.footer-social-content ul li a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-content ul li a svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.footer-social-content ul li a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-content ul li a:hover svg {
    transform: scale(1.2);
}

/* Latest Works Section */
.work-section {
    padding: 100px 0;
    position: relative;
    background-color: #121212;
    overflow: hidden;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #8a2be2, #00bfff);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.project-image {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: none;
}

.project-overlay {
    display: none !important;
}

.project-links {
    display: flex;
    gap: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-links {
    transform: translateY(0);
}

.project-link {
    color: white;
    font-size: 1.2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid rgba(138, 43, 226, 0.5);
    backdrop-filter: blur(5px);
}

.project-link:hover {
    background: white;
    color: #8a2be2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.project-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.project-date {
    background: rgba(138, 43, 226, 0.2);
    color: #b57aff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    white-space: nowrap;
}

.project-description {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-footer {
    margin-top: auto;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tags span {
    background: rgba(138, 43, 226, 0.15);
    color: #b57aff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: rgba(0, 191, 255, 0.2);
    color: #00bfff;
    transform: translateY(-2px);
}

.btn-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    backdrop-filter: blur(5px);
}

.btn-github i {
    margin-right: 8px;
    font-size: 1rem;
}

.btn-github:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: #8a2be2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .project-card {
        max-width: 100%;
    }
}

.github-link a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.github-link a:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.github-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.work-content {
    padding: 1.5rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(28, 28, 28, 0.9);
}

.work-content h5 {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .work-img-container {
        height: 200px;
    }
}

@media (max-width: 991.98px) {
    .work-img-container {
        height: 220px;
    }

    .work-content h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .work-img-container {
        height: 250px;
    }

    .work-content {
        padding: 1.25rem;
    }

    .work-content h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .work-img-container {
        height: 200px;
    }

    .work-content h5 {
        font-size: 1.1rem;
    }
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(25, 25, 55, 0.8);
    border: 1px solid rgba(199, 44, 44, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(199, 44, 44, 0.2), rgba(255, 255, 255, 0.05)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.contact-item:hover {
    transform: translateY(-3px);
    background: rgba(30, 30, 60, 0.9);
    border-color: rgba(199, 44, 44, 0.6);
    box-shadow: 0 8px 25px rgba(199, 44, 44, 0.25);
}

.contact-item:hover::before {
    background: linear-gradient(135deg, rgba(199, 44, 44, 0.4), rgba(255, 255, 255, 0.1)) border-box;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    color: #c72c2c;
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(199, 44, 44, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item:hover .contact-icon {
    background: rgba(199, 44, 44, 0.2);
    transform: scale(1.1);
}

@media (max-width: 576px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }
}

.contact-item:hover::before {
    background: linear-gradient(135deg, rgba(199, 44, 44, 0.6), rgba(255, 255, 255, 0.15)) border-box;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translate(calc(100vw * var(--random-x, 1) - 100%), calc(100vh * var(--random-y, 1) - 100%)) rotate(360deg);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    --random-x: 0.5;
    --random-y: 0.5;
}

.particle:nth-child(1) {
    --random-x: 0.1;
    --random-y: 0.8;
}

.particle:nth-child(2) {
    --random-x: 0.9;
    --random-y: 0.2;
}

.particle:nth-child(3) {
    --random-x: 0.3;
    --random-y: 0.1;
}

.particle:nth-child(4) {
    --random-x: 0.7;
    --random-y: 0.9;
}

.particle:nth-child(5) {
    --random-x: 0.4;
    --random-y: 0.7;
}
