/**
* Template Name: MyResume - v4.7.0
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/


.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
    font-family: "Open Sans", sans-serif;
    color: #000000;
    background-color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #9b34eb;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: black;
    line-height: 0;
}

.back-to-top:hover {
    background: #9b34eb;
    color: black;
}

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


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    color: #9b34eb;
    background: white;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #000000;
    border-top-color: black;
    border-bottom-color: black;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/

@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9997;
    transition: all 0.5s;
    padding: 15px;
    overflow-y: auto;
}

@media (max-width: 992px) {
    #header {
        width: 300px;
        background: white;
        border-right: 1px solid #000000;
        left: -300px;
    }
}

@media (min-width: 992px) {
    #main {
        margin-left: 100px;
    }
}

@media (max-width: 991px) {
    #main {
        margin-left: 0;
        padding-top: 60px;
    }
}


/*--------------------------------------------------------------
# Navigation Menu - Horizontal Fixed Top
--------------------------------------------------------------*/

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-menu ul li {
    position: relative;
    white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b34eb;
    background: white;
    padding: 14px 20px;
    font-size: 15px;
    text-decoration: none;
    border-radius: 0;
    height: auto;
    transition: background 0.3s, color 0.3s;
}

.nav-menu a i {
    margin-right: 6px;
    font-size: 18px;
}

.nav-menu a span {
    padding-left: 4px;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu li:hover>a {
    color: white;
    background: #9b34eb;
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu li:hover>a span {
    color: white;
}

@media (max-width: 991px) {
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;

    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background: #9c34ebda;
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        border-radius: 10px;
        /* Adds rounded corners */
        box-sizing: border-box;
        /* Ensures padding doesn't overflow */
        margin-bottom: 10px;
        /* Adds spacing between boxes */
        color: white;
        /* Optional: ensures text is visible on the purple bg */
        text-decoration: none;
        /* Removes underline from links */
    }

    .nav-menu a i {
        font-size: 20px;
        padding-right: 15px;
        color: #9b34eb;
    }

    .nav-menu a:hover,
    .nav-menu .active,
    .nav-menu li:hover>a {
        background: #9b34eb;
        color: white;
    }

    .nav-menu a:hover i,
    .nav-menu .active i,
    .nav-menu li:hover>a i {
        color: white;
    }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
/* Mobile Navigation */
.mobile-nav-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 9998;
    border: 0;
    background: #9b34eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggle i {
    color: #fff;
    font-size: 28px;
}

.mobile-nav-toggle:hover {
    background: #7e22cc;
}

@media (min-width: 992px) {
    .mobile-nav-toggle {
        display: none;
    }
}

body.mobile-nav-active #navbar {
    display: flex !important;
}

#navbar {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

@media (max-width: 991px) {
    #navbar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        z-index: 9997;
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        overflow-y: auto;
    }

    #navbar.active {
        display: flex;
    }

    #navbar li {
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }

    #navbar li a {
        font-size: 20px;
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-image: url(assets/img/whitebg.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    #hero {
        padding-left: 160px;
    }
}

@media (max-width: 991px) {
    #hero {
        padding: 80px 20px 60px;
        background-attachment: scroll;
    }
}

#hero:before {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero h1 {
    margin: 0;
    font-size: 64px;
    font-weight: 700;
    line-height: 56px;
    color: #9b34eb;
}

#hero p {
    color: #9b34eb;
    margin: 15px 0 0 0;
    font-size: 26px;
    font-family: "Poppins", sans-serif;
}

#hero p span {
    color: #000000;
    letter-spacing: 1px;
}

#hero .social-links {
    margin-top: 30px;
}

#hero .social-links a {
    font-size: 24px;
    display: inline-block;
    color: black;
    line-height: 1;
    margin-right: 20px;
    transition: 0.3s;
}

#hero .social-links a:hover {
    color: #9b34eb;
}

@media (max-width: 992px) {
    #hero {
        text-align: center;
        padding-top: 100px;
    }

    #hero h1 {
        font-size: 32px;
        line-height: 36px;
    }

    #hero p {
        margin-top: 10px;
        font-size: 20px;
        line-height: 24px;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 32px;
    }

    #hero p {
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 576px) {
    #hero {
        padding: 80px 15px 40px;
    }
    
    #hero h1 {
        font-size: 24px;
        line-height: 28px;
    }

    #hero p {
        font-size: 16px;
        line-height: 20px;
    }
}

/* Typewriter Effect */
.typewriter {
    border-right: 3px solid #9b34eb;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    font-size: 2.5rem;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { 
        border-color: transparent;
    }
    50% { 
        border-color: #9b34eb;
    }
}

@media (max-width: 768px) {
    .typewriter {
        font-size: 1.8rem;
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .typewriter {
        font-size: 1.5rem;
        min-width: 200px;
        border-right-width: 2px;
    }
}

@media (max-width: 400px) {
    .typewriter {
        font-size: 1.3rem;
    }
}

.resume-btn {
    background-color: #9b34eb;
    color: black;
    border: none;
    transition: 0.3s;
}

.resume-btn:hover {
    background-color: #7a26bd;
    color: white;
}



/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

section {
    padding: 60px 0;
    overflow: hidden;
    background-image: url(assets/img/whitebg.png);
    width: 100%;
}

@media (max-width: 768px) {
    section {
        padding: 40px 15px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 30px 10px;
    }
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #9b34eb;
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: black;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #000000;
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    background-image: url(assets/img/whitebg.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 60px 15px;
}

.about .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #9b34eb;
    position: relative;
}

@media (max-width: 768px) {
    .about {
        padding: 40px 15px;
    }
    
    .about .section-title h2 {
        font-size: 28px;
    }
    
    .about .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 30px 10px;
    }
    
    .about .section-title h2 {
        font-size: 24px;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #9b34eb, #6a00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about .card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.about .lead {
    font-size: 1.1rem;
    color: #333;
}

.about ul.list-group li {
    font-size: 16px;
    color: #444;
    border: none;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .about .section-title h2 {
        font-size: 28px;
    }
}

/*--------------------------------------------------------------
#clients
-------------------------------------------------------------*/
/* Clients Section */
.clients {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #fdfdff;
}

/* Client card */
.client-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ececec;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(155, 52, 235, 0.2);
    border-color: #9b34eb;
}

/* Logo Image Styling */
.client-img {
    height: 150px;
    object-fit: contain;
}

/* Caption */
.client-logo figcaption {
    font-size: 1rem;
    color: #444;
    margin-top: 0.5rem;
}

/* Responsive Tweaks */
@media (max-width: 576px) {
    .clients {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .client-logo {
        margin-bottom: 1rem;
    }

    .client-img {
        height: 120px;
    }

}


/* Styles for client logos */
.client-logo img {
    width: 100%;
    /* Make the image take the full width of its container */
    height: 150px;
    /* Set a fixed height for all images */
    object-fit: contain;
    /* This ensures the image maintains its aspect ratio */
}

/* Responsive adjustments for small screens */
@media (max-width: 576px) {
    .clients {
        padding-top: 2rem;
        /* Adjust top padding for small screens */
        padding-bottom: 2rem;
        /* Adjust bottom padding for small screens */
    }

    .client-logo {
        margin: 1rem 0;
        /* Add margin between logos for small screens */
    }
}




/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills {
    background-color: #f8f9fa;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #9b34eb, #6f42c1);
    bottom: -10px;
    left: 20%;
}

.section-title .tagline {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
}

.skills-content {
    padding: 2rem 0;
}

.skill-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
}

.skill-item:hover {
    transform: translateY(-5px);
    background-color: rgba(155, 52, 235, 0.05);
}

.skill-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.skill-item:hover .skill-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.skill-name {
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    display: block;
}

/* Animation for the logos */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

.skill-item:hover {
    animation: float 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skill-logo {
        width: 50px;
        height: 50px;
    }
    .skill-name {
        font-size: 0.8rem;
    }
}
/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume {
    background: #f9f9ff;
    padding: 80px 0;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2:after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: #9b34eb;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.intro-text {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.section-heading {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eaeaea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resume-item {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.resume-item:hover {
    border-left: 3px solid #9b34eb;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.year-badge {
    background: #9b34eb;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.institution {
    color: #7f8c8d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.resume-content {
    color: #555;
    line-height: 1.7;
}

.resume-content p {
    margin-bottom: 10px;
}

.resume-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    left: -8px;
    top: 30px;
    background: white;
    border: 3px solid #9b34eb;
    z-index: 1;
}

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

.education-section::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background: #eaeaea;
    left: 0;
    top: 40px;
}

@media (max-width: 768px) {
    .resume-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .resume-item::before {
        left: -7px;
    }
}

/*--------------------------------------------------------------
# Certificates Section
--------------------------------------------------------------*/
.portfolio {
    padding: 80px 0;
    background: #f9f9ff;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c4964;
    position: relative;
    margin-bottom: 15px;
}

.section-title p {
    color: #6a6a6a;
    margin-bottom: 30px;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: 0 auto 30px auto;
    list-style: none;
    text-align: center;
    background: #fff;
    border-radius: 50px;
    padding: 2px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #9b34eb;
    display: inline-block;
}

.portfolio #portfolio-flters li {
    color: #2c4964;
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin: 5px;
    border-radius: 50px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    color: #fff;
    background: #9b34eb;
}

.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.portfolio .portfolio-wrap::before {
    content: "";
    background: rgba(155, 52, 235, 0.7);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
    border-radius: 10px;
}

.portfolio .portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio .portfolio-wrap .portfolio-info p {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.portfolio .portfolio-wrap .portfolio-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.portfolio .portfolio-wrap .portfolio-links a i {
    margin-right: 8px;
    font-size: 18px;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.portfolio .portfolio-wrap:hover::before {
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.portfolio .portfolio-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 250px;
    transition: all 0.3s;
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .portfolio .portfolio-wrap .portfolio-info h4 {
        font-size: 16px;
    }

    .portfolio .portfolio-wrap .portfolio-info p {
        font-size: 12px;
    }

    .portfolio .portfolio-wrap .portfolio-links a {
        padding: 6px 16px;
        font-size: 12px;
    }

    .portfolio .portfolio-wrap .portfolio-links a i {
        font-size: 16px;
        margin-right: 6px;
    }

    .portfolio .portfolio-wrap img {
        max-height: 200px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .portfolio .portfolio-wrap img {
        max-height: 180px;
    }

    .portfolio .portfolio-wrap .portfolio-info h4 {
        font-size: 14px;
    }

    .portfolio .portfolio-wrap .portfolio-info p {
        font-size: 11px;
    }
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.contact .section-title h2 {
    color: #2c3e50;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
}

.contact .section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: #9b34eb;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.contact .section-title p {
    color: #728394;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact .info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact .info .email,
.contact .info .phone {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact .info .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(155, 52, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.contact .info i {
    font-size: 20px;
    color: #9b34eb;
    transition: all 0.3s;
}

.contact .info .info-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact .info .info-content p {
    font-size: 14px;
    color: #728394;
    margin-bottom: 0;
}

.contact .info .info-content p span {
    display: block;
    margin-bottom: 5px;
}

.contact .info .email:hover .icon-box,
.contact .info .phone:hover .icon-box {
    background: #9b34eb;
}

.contact .info .email:hover i,
.contact .info .phone:hover i {
    color: white;
}

.contact .php-email-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact .php-email-form .form-group {
    padding-bottom: 15px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    border: 1px solid #e1e5ee;
    transition: all 0.3s;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #9b34eb;
    box-shadow: 0 0 0 3px rgba(155, 52, 235, 0.2);
    outline: none;
}

.contact .php-email-form input.invalid,
.contact .php-email-form textarea.invalid {
    border-color: #ff4d4d;
}

.contact .php-email-form input:disabled,
.contact .php-email-form textarea:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.contact .php-email-form input {
    height: 48px;
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form .error-message {
    display: none;
    color: white;
    background: #ff4d4d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 15px;
    animation: slideDown 0.3s ease-out;
}

.contact .php-email-form .sent-message {
    display: none;
    color: white;
    background: #4CAF50;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 15px;
    animation: slideDown 0.3s ease-out;
}

.contact .php-email-form .loading {
    display: none;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #9b34eb;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.submit-btn {
    background: #9b34eb;
    border: none;
    padding: 12px 35px;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(155, 52, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn i {
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s;
}

.submit-btn:hover {
    background: #7e22cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 52, 235, 0.4);
}

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

.submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.submit-btn:disabled:hover {
    background: #cccccc;
    transform: none;
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Character counter styling */
.char-counter {
    text-align: right;
    font-size: 12px;
    color: #728394;
    margin-top: 5px;
    font-weight: 500;
    transition: color 0.3s;
}

/* Form validation states */
.contact .php-email-form input.valid,
.contact .php-email-form textarea.valid {
    border-color: #4CAF50;
}

.contact .php-email-form input.invalid,
.contact .php-email-form textarea.invalid {
    border-color: #ff4d4d;
}

/* Loading animation enhancement */
.contact .php-email-form .loading {
    font-weight: 500;
    color: #9b34eb;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
    background: white;
    color: #9b34eb;
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
}

#footer h3 {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0 0 15px 0;
}

#footer p {
    font-size: 15;
    font-style: italic;
    padding: 0;
    margin: 0 0 40px 0;
}

#footer .social-links {
    margin: 0 0 40px 0;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #000000;
    color: white;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .social-links a:hover {
    background: white;
    color: #9b34eb;
    text-decoration: none;
}

#footer .copyright {
    margin: 0 0 5px 0;
}

#footer .cwhiteits {
    font-size: 13px;
}

.error-message .d-block {
    background-color: green;
}

h5 {
    color: white;
}

.bi-arrow-up-short {
    color: white;
}

/*--------------------------------------------------------------
# Additional Responsive Fixes
--------------------------------------------------------------*/

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix container overflow on mobile */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

@media (max-width: 768px) {
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col, [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Contact form responsive */
@media (max-width: 768px) {
    .contact .info {
        margin-bottom: 20px;
    }
    
    .contact .php-email-form {
        padding: 20px 15px;
    }
}

/* Skills section responsive */
@media (max-width: 576px) {
    .skill-item {
        margin-bottom: 1.5rem;
    }
}

/* Resume section responsive */
@media (max-width: 768px) {
    .resume {
        padding: 40px 0;
    }
    
    .education-section {
        padding-left: 20px;
    }
}

/* Portfolio/Certificates responsive */
@media (max-width: 768px) {
    .portfolio {
        padding: 40px 0;
    }
    
    #portfolio-flters {
        padding: 5px 10px;
    }
    
    #portfolio-flters li {
        font-size: 12px;
        padding: 8px 15px;
    }
}

/* Client logos responsive */
@media (max-width: 576px) {
    .clients .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    #footer h3 {
        font-size: 28px;
    }
    
    #footer .social-links a {
        margin-right: 8px;
        margin-bottom: 10px;
    }
}

/* Ensure no horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Fix for very small screens */
@media (max-width: 320px) {
    #hero h1 {
        font-size: 20px;
    }
    
    #hero p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
}