body {
    background-color: #0A1930;
    font-family: 'Lato', sans-serif;
}

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

a {
    color: #64FFDA;
    text-decoration: none;
}

a:hover {
    color: #64FFDA;
    text-decoration: none;
}

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

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

.back-to-top:hover {
    background: #fa4eab;
    border: none;
}

.back-to-top i:hover {
    color: #fff;
}

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

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

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

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

.navbar.hidden {
    top: -70px;
    transition: top 0.3s;
}

.navbar {
    transition: top 0.3s;
    background-color: #0A1930;
}

.navbar-brand {
    color: #64FFDA;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 5px;
}

.nav-link.active,
.nav-link:focus {
    color: #fa4eab !important;
}

.nav-link:hover {
    color: #64FFDA;
}

.navbar-brand:hover {
    color: #fa4eab;
}

.mobile-nav-toggle {
    color: #64FFDA !important;
    border: none !important;
    outline: none !important;
    background: none;
    font-size: 2rem;
}

.mobile-nav-toggle:hover {
    color: #fa4eab !important;
}

.mobile-nav-active .mobile-nav-toggle {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar .close {
    display: none !important;
}

@media (max-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .nav-item {
        margin: 10px 0;
    }
    .nav-link {
        text-align: center;
    }
}


#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 90px 10px 90px 10px;
}

.intro-text {
    flex: 1;
    white-space: nowrap;
    overflow: visible;
    margin-left: -40px;
}

.intro_stack {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    margin-left: 20px;
}

#hero h1 {
    margin: 0px;
    font-weight: 700;
    line-height: 56px;
    white-space: nowrap;
    overflow: visible;
}

#hero p {
    color: #fa4eab;
    margin: 15px 0 25px 0;
    font-size: 19px;
}

.tagcloud-content span {
    font-size: 20px;
    font-weight: 400;
    color: #64FFDA;
    padding: 5px;
    margin-right: 5px;
    transition: color 1s ease-in-out;
    margin-left: 15%;
}

.typed-mobile {
    display: none;
    font-size: 1.2rem;
    color: #fa4eab;
}

.icons-hero {
    font-size: 35px;
    color: #64FFDA;
    margin-right: 15px;
    transition: color 0.3s, transform 0.3s;
}

.icons-hero:hover {
    color: #fff;
    transform: scale(1.2) rotate(5deg);
}


@media (max-width: 768px) {
    #hero .container {
        padding: 0px;
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        margin-left: 0px;
    }

    .intro_stack {
        display: none;
    }

    #hero h1,
    #hero p {
        text-align: center;
    }

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

    .typed {
        display: none;
    }
    .typed-mobile {
        display: inline;
        font-size: 25px;
    }

    .typed-cursor {
        display: none !important;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 24px !important;
    }
    h3 {
        font-size: 18px !important;
    }
    h4 {
        font-size: 16px !important;
    }
}

.heading {
    color: #64FFDA;
}

.heading:hover {
    color: #fa4eab;
}

@media (max-width: 768px) {
    .heading {
        font-size: 27px;
        padding: 0px;
        margin: 0px;
    }
}

.section-title {
    background-color: #fff;
    padding: 5rem;
}

.section-title .heading {
    padding: 5rem 0;
    margin: 5rem 0;
}

.about .container {
    padding: 5rem;
}

.about .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .about .row {
        flex-direction: column;
        align-items: center;
    }

    .about .img-fluid {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .about .content {
        text-align: justify;
        text-justify: inter-word;
        padding: 0 0.5rem;
    }

    .section-title {
        padding: 1rem !important;
        margin-bottom: 0 !important;
    }

    .section-title .heading {
        padding: 0.5rem 0 !important;
        margin: 0 !important;
    }
}

.about .img-fluid {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 50%;
    margin-right: 3rem;
}

.about .content {
    color: #fff;
    text-align: justify;
    text-justify: inter-word;
    flex: 1;
}

.about .content p {
    padding: 1rem 1rem;
    margin: 0;
}

.btn-custom {
    margin: 5px;
    display: inline-block;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #64FFDA;
    color: #0B1930;
    font-size: 16px;
    width: 180px;
    height: 70px;
    transition: color 0.3s, background-color 0.3s;
}

.btn-custom svg {
    margin-right: 5px;
    transition: fill 0.3s;
}

.btn-custom:hover svg {
    fill: #fff;
}

.btn-custom:hover {
    color: #fff;
    background-color: #fa4eab;
}

.button-row {
    text-align: center;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .skills-flex .btn-custom {
        width: 48px;
        height: 48px;
        padding: 0px;
        margin: 0px;
    }

    .skills-flex .btn-custom span {
        display: none;
    }

    .skills-flex .btn-custom svg {
        width: 30px;
        height: 30px;
        margin-right: 0px;
    }
}

@media (max-width: 375px) {
    .skills-flex .btn-custom {
        width: 35px;
        height: 35px;
        padding: 0px;
        margin: 0px;
    }

    .skills-flex .btn-custom svg {
        width: 25px;
        height: 25px;
        margin-right: 0px;
    }
}

.equal-height {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn.stack {
    background-color: #64FFDA;
    color: #0B1930;
    max-width: 100%;
}

.stack-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

h4 {
    color: #64FFDA;
}

@media (max-width: 768px) {
    h4 {
        font-size: 28px !important;
    }

    .btn.stack {
        max-width: 80px;
    }
}

.description {
    color: #fff;
    text-align: justify;
}

.links {
    background-color: #fa4eab;
    margin-right: 10px;
}

.links:hover {
    background-color: #64FFDA;
}

.contact .php-email-form {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

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

.contact .php-email-form .error-message {
    display: none;
    color: #0A1930;
    background: #fa4eab;
    text-align: left;
    padding: 15px;
    font-weight: 600;
    border-radius: 15px;
}

.contact .php-email-form .error-message br+br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #0A1930;
    background: #64FFDA;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.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 #64FFDA;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border: 0.7px solid #fa4eab;
    border-radius: 5px;
    font-size: 15px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email] {
    height: 44px;
}

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

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
    color: grey;
}

.contact .php-email-form button[type=submit] {
    background: #64FFDA;
    border: 0;
    padding: 10px 35px;
    color: #0A1930;
    transition: 0.4s;
    border-radius: 50px;
    margin-top: 20px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #fa4eab;
    color: #fff;
}

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

@media (max-width: 768px) {
    .svgcolor-light {
        margin-top: 0px;
    }
}

#footer {
    color: #fff;
    font-size: 15px;
    text-align: center;
    padding: 30px 0;
}

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

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

#footer .social-links a:hover {
    background: #fa4eab;
    color: #fff;
    text-decoration: none;
}

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

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

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 25, 48, 0.9); 
    padding: 30px;
    border: none;
    box-shadow: none;
}

.modal-content {
    background-color: #0A1930;
    margin: 5% auto;
    padding: 20px;
    width: 60%;
  	max-width: 90%;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%; 
        padding: 10px; 
    }

    .modal-content img {
        width: 100%; 
        height: auto;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
    }
  
  .close {
        top: 10px;
        right: 15px;
        font-size: 25px; 
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        margin: 5px;
        padding: 5px;
        border: 1px solid #64FFDA; 
    }
}

.modal-content img {
    width: 800px; 
    height: 600px; 
    object-fit: cover; 
    border-radius: 8px; 
}

.close {
    color: #64FFDA;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #fa4eab;
    text-decoration: none;
    cursor: pointer;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    color: #64FFDA;
    margin: 10px;
    background-color: rgba(10, 25, 48, 0.8); 
    padding: 10px;
    border-radius: 50%; 
    border: 2px solid #64FFDA; 
    transition: background-color 0.3s, transform 0.3s; 
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #fa4eab; 
    transform: scale(1.1); 
    border-color: #fa4eab; 
}

.carousel-control-prev,
.carousel-control-next {
    width: auto; 
}
