/* ====================================
   CSS VARIABLES & ROOT STYLES
   ==================================== */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-card: #252b48;
    --text-primary: #e4e6eb;
    --text-secondary: #a8aebf;
    --accent-blue: #4f9cf9;
    --accent-purple: #9b59b6;
    --accent-purple-light: #c39bd3;
    --accent-teal: #1abc9c;
    --gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --gradient-move: linear-gradient(270deg, var(--accent-blue), var(--accent-purple), var(--accent-teal));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* ====================================
   NAVBAR STYLES
   ==================================== */
.navbar {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(15px);
    padding: 0.8rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    left: 0;
    right: 0;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    padding: 0.6rem 2rem;
    border-color: var(--accent-blue);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: var(--bg-primary);
}

#snow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-move);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

   /* Desktop / Normal Screens */
.hero .subtitle {
    font-size: 2.2rem;
    color: var(--accent-blue);
    font-weight: 700;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0ch; /* start hidden */
    animation: typing 3s steps(27, end) forwards;
}



.passion-line {
    animation: fadeInUp 1.4s ease-out;
}

.profile-image-container {
    width: 320px;
    height: 320px;
    margin-left: auto;
    position: relative;
    animation: fadeInScale 1.2s ease, float 6s ease-in-out infinite;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-card);
    box-shadow: 0 0 30px rgba(79, 156, 249, 0.4);
    position: relative;
    z-index: 2;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--gradient);
    z-index: 1;
    animation: rotate 10s linear infinite, pulseGlow 3s ease-in-out infinite;
}

.btn-gradient {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-right: 15px;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 10px 20px rgba(79, 156, 249, 0.3);
}

.btn-transparent {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 10px 33px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-transparent:hover {
    background: rgba(79, 156, 249, 0.1);
    color: var(--accent-purple-light);
    border-color: var(--accent-purple-light);
    transform: translateY(-3px);
}

.hero-socials {
    display: inline-flex;
    gap: 8px;
    vertical-align: middle;
    margin-left: 10px;
}

.hero-social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0 !important;
}

.hero-social-icon:hover {
    transform: translateY(-5px);
    background: var(--accent-blue);
    color: white !important;
    border-color: var(--accent-blue);
    box-shadow: 0 5px 15px rgba(79, 156, 249, 0.3);
}

/* ====================================
   ABOUT SECTION
   ==================================== */
#about {
    background: var(--bg-secondary);
}

/* Enhanced About Me Heading */
.about-text-content h3 {
    font-size: clamp(2rem, 4vw, 3rem); /* Larger, responsive font size */
    font-weight: 600;
    margin-bottom: 1.5rem !important;
    color: var(--text-primary);
}

.about-highlight {
    background: var(--gradient-move);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: inline-block;
    animation: gradientShift 5s ease infinite; 
    position: relative;
}

.about-text-content p {
    color: #ffffff; 
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8; 
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 1.5rem;
    opacity:0.7;
}

.about-text-content p strong {
    color: var(--accent-blue);
    font-weight: 400;
}

.about-slideshow-panel {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 90%;
    margin: 0 auto;
}

.about-slideshow-panel:hover {
    transform: translateY(-10px);
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}


/* ====================================
   INTERESTS CARD STYLES
   ==================================== */

.interests-card {
    background: linear-gradient(135deg, rgba(45, 30, 85, 0.9), rgba(25, 20, 50, 0.95)) !important;
    padding: 1.5rem; /* Reduced padding inside the card for a sleeker look */
    border-radius: 15px;
    border: 1px solid rgba(160, 100, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interests-card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid #a064ff;
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.3);
}

.interests-card h4 {
   
    background: linear-gradient(to right, #00f2fe, #338bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.interest-item {
    background: rgba(79, 156, 249, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.3rem;
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.interest-item:hover {
    background: rgba(79, 156, 249, 0.2);
    color: var(--accent-blue);
}

/* .interests-card h4 i.fa-heart {
    color: #ff4d4d !important; /* Vibrant Red */
    /* -webkit-text-fill-color: #ff4d4d !important; /* Overrides gradient if applied */
    /* text-shadow: 0 0 15px rgba(255, 77, 77, 0.6); /* Red glow effect */
    /* filter: drop-shadow(0 0 5px rgba(255, 77, 77, 0.4));
    animation: heartBeat 1.5s ease-in-out infinite; /* Optional: adds a subtle pulse */
/* } */ 



/* ====================================
   EDUCATION SECTION
   ==================================== */
#education {
    background: var(--bg-primary);
}

.education-card {
    background: linear-gradient(145deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.05));
    backdrop-filter: blur(10px);
    padding: 1.4rem;
    border-radius: 20px;
    border: 1px solid rgba(155, 89, 182, 0.2);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(155, 89, 182, 0.3);
    border-color: var(--accent-purple-light);
}

.education-card h4 {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    background: linear-gradient(to right, #bf94ff, #00f2fe);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.education-card h4 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-right: 15px;
    font-size: 1.3rem;
    color: #7d7dfa;
    border-radius: 20%;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, #bf94ff, #00f2fe) border-box;
    border: 3px solid transparent;
    box-shadow: 0 0 10px rgba(125, 125, 250, 0.35);
    -webkit-text-fill-color: initial;
    transition: all 0.3s ease;
}

.education-card:hover h4 i {
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.6);
    transform: scale(1.08);
}

.edu-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 2rem;
    border-left: 4px solid transparent;
}

.edu-item.aqua-bar {
    border-left-color: #00f2fe;
}

.edu-item.purple-bar {
    border-left-color: #bf94ff;
}

.edu-item h5 strong {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.edu-item .d-flex {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

.edu-item p.text-secondary.small {
    margin-top: 0;
    white-space: nowrap;
}

.edu-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

.edu-gpa {
    color: var(--accent-teal);
    font-weight: 700;
    background: rgba(26, 188, 156, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

.cert-link {
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: inline-block;
}

.cert-link:hover {
    color: #7d7dfa;
    transform: translateX(5px);
}

.cert-link i {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ====================================
   SKILLS SECTION
   ==================================== */
#skills {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

#skills-tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.tech-scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, 
                transparent, 
                rgba(160, 100, 255, 0.15), 
                rgba(79, 156, 249, 0.25), 
                rgba(160, 100, 255, 0.15), 
                transparent);
    transform: skewX(-25deg);
    animation: scan 6s infinite linear;
    z-index: 1;
}

#skills .container {
    position: relative;
    z-index: 2;
}

.skill-category {
    background: linear-gradient(135deg, rgba(45, 30, 85, 0.9), rgba(25, 20, 50, 0.95)) !important;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(160, 100, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.skill-category:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid #a064ff;
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.3);
}

.skill-category h4 {
    background: linear-gradient(to right, #00f2fe, #338bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.skill-item {
    background: rgba(79, 156, 249, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.3rem;
    display: inline-block;
    font-size: 0.9rem;
}

/* ====================================
   PROJECTS SECTION
   ==================================== */
.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(155, 89, 182, 0.3);
    border-color: var(--accent-purple-light);
}

.project-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(155, 89, 182, 0.15);
    border-bottom: 1px solid rgba(155, 89, 182, 0.3);
}

.project-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.project-title-wrapper {
    display: flex;
    flex-direction: column;
}

.project-header h4 {
    margin: 0;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.project-main-title {
    font-weight: 800 !important;
    margin-bottom: 0 !important;
    font-size: 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #4f9cf9, #1abc9c);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.project-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: -2px;
}

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

.project-description,
.project-text-fixed,
.project-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
}

.project-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    margin-bottom: 1.2rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: rgba(79, 156, 249, 0.1);
    color: var(--accent-teal);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(26, 188, 156, 0.2);
}

.project-links {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

.project-link {
    text-decoration: none;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.project-link:hover {
    color: var(--accent-purple-light);
    transform: translateX(3px);
}

.project-link i {
    margin-right: 8px;
}

.blog-btn {
    background: rgba(79, 156, 249, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem !important;
    border: 1px solid rgba(79, 156, 249, 0.3);
    color: var(--accent-blue) !important;
    transition: 0.3s;
}

.blog-btn:hover {
    background: var(--accent-blue);
    color: white !important;
    transform: translateY(-2px);
}

/* ====================================
   CONTACT SECTION
   ==================================== */
#contact {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: var(--bg-primary);
}

#contact-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.custom-input {
    background: var(--bg-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    margin-bottom: 5px;
}

.custom-input:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 10px rgba(79, 156, 249, 0.2) !important;
    outline: none;
}

.custom-input::placeholder,
.custom-input::-webkit-input-placeholder,
.custom-input::-moz-placeholder,
.custom-input:-ms-input-placeholder {
    color: var(--text-secondary) !important;
    opacity: 1 !important;
}

#contact .social-link {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin: 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#contact .mt-4 {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 1.5rem !important;
}

#contact .social-link:hover {
    transform: translateY(-5px);
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 5px 15px rgba(79, 156, 249, 0.3);
}

.footer-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* ====================================
   GENERAL SECTIONS
   ==================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes scan {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

@keyframes typing {
    from { width: 0ch; }
    to { width: 27ch; }
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s all ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 992px) {
    .navbar {
        width: 95%;
        padding: 0.5rem 1rem;
    }

    .navbar-collapse {
        background: rgba(10, 14, 39, 0.96);
        backdrop-filter: blur(12px);
        padding: 10px 12px;
        margin-top: 10px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-nav .nav-link {
        padding: 12px;
        margin: 5px 0;
        text-align: center;
        border-radius: 0;
        transition: 0.3s ease-in-out;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        background: rgba(79, 156, 249, 0.1);
        color: var(--accent-blue) !important;
        border-bottom-color: var(--accent-blue);
    }

    .navbar-toggler {
        border: none;
        outline: none;
    }

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

    .hero {
        text-align: center;
        padding-top: 120px;
    }

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


     @media (max-width: 992px) {
    .hero .subtitle {
        animation: none !important;  
        width: auto !important;       
        white-space: normal !important; 
        display: block;               
        text-align: center;
        font-size: 1.8rem;            
        line-height: 1.2;
    }
    .hero .subtitle span {
        display: block; 
        width: 100%;
    }
 }

 

    .profile-image-container {
        margin: 1.5rem auto;
        width: 250px;
        height: 250px;
    }

    .btn-gradient {
        margin-bottom: 15px;
        margin-right: 0;
        display: inline-block;
    }

    .hero-socials {
        margin-top: 20px;
        margin-left: 0;
        display: flex;
        justify-content: center;
    }

    .about-text-content {
        padding-right: 0;
        text-align: left;
        margin-top: 1rem;
    }

    .about-text-content p {
        text-align: left !important;
        text-align-last: left;
        hyphens: none;
        margin-bottom: 1.5rem;
    }

    #about .section-title {
        text-align: center;
    }

    .about-slideshow-panel {
        margin-top: 3rem;
        max-width: 100%;
    }

       
@media (max-width: 768px) {
    .carousel-item {
        height: 330px; 
    }

    .carousel-item img {
        height: 330px; 
        object-fit: cover; 
    }
}

    .education-card {
        padding: 1.5rem;
    }

    .education-card h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .education-card h4 i {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-right: 10px;
    }

    .edu-item h5 strong {
        font-size: 1rem;
    }

    .contact-form-wrapper,
    .contact-info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .project-text-fixed,
    .project-body p {
        text-align: justify !important;
        text-align-last: left !important;
    }

    
    .blog-btn {
        padding: 5px 10px;
        font-size: 0.75rem !important;
    }
}

