/* import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

body {
    background: linear-gradient(135deg, #0a192f, #112240);
    color: #e6f1ff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Ubuntu', sans-serif;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(10, 25, 47, 0.7) 21px, transparent 1%) center,
        linear-gradient(rgba(10, 25, 47, 0.7) 21px, transparent 1%) center,
        rgba(255, 255, 255, 0.1);
    background-size: 22px 22px;
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}

.wrapper {
    display: inline-flex;
}

.wrapper .static-txt {
    color: #fff;
    font-size: 80px;
    font-weight: 400;
    margin-left: 150px;
}

.wrapper .dynamic-txts {
    margin-left: 150px;
    height: 110px;
    line-height: 110px;
    overflow: hidden;
    background: transparent;
}

.dynamic-txts li {
    list-style: none;
    color: #ff6b6b;
    font-size: 80px;
    font-weight: 600;
    position: relative;
    top: 0;
    animation: slide 18s steps(6) infinite;
}

@keyframes slide {
    100% {
        top: -660px;
    }
}

.dynamic-txts li span {
    position: relative;
    margin: 8px 0;
    line-height: 110px;
}

.dynamic-txts li span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #0a192f, #112240);
    border-left: 2px solid #64ffda;
    animation: typing 3s steps(10) infinite;
    opacity: 1;
}

@keyframes typing {
    40%, 60% {
        left: calc(100% + 30px);
    }
    100% {
        left: 0;
    }
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

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

/* all similar content styling codes */
section {
    padding: 100px 0;
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 40px;
    padding-bottom: 20px;
    font-family: 'Space Mono', monospace;
    color: #64ffda;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

section .title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    font-family: 'Space Mono', monospace;
    transition: all 0.3s ease;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
}

.navbar.sticky {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    color: #fbfbfb;
    font-size: 40px;
    font-weight: 600;
}

.navbar .logo a span {
    color: #ff4800;
    transition: all 0.3s ease;
}

.navbar.sticky .logo a span {
    color: #ff0157;
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    display: block;
    color: #ccd6f6;
    font-size: 25px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: #64ffda;
}

.navbar.sticky .menu li a {
    color: #000;
}

.navbar .menu-btn {
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: #ff0157;
    left: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99;
}

.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    filter: brightness(90%);
}

.home {
    display: flex;
    height: 100vh;
    width: 100%;
    background-size: cover;
}

.home .max-width {
    width: 100%;
    display: flex;
}

.home .home-content .text-1 {
    font-size: 80px;
    margin-left: 150px;
}

.home .home-content .text-2 {
    font-size: 110px;
    font-weight: 600;
    margin-left: 150px;
}

.home .home-content .text-3 {
    font-size: 60px;
    margin-left: 150px 0;
}

.home .home-content .text-3 span {
    color: #ff0157;
    font-weight: 500;
    margin-left: 150px;
}

.home .home-content a {
    display: inline-block;
    background: #ff0157;
    color: #fff;
    font-size: 18px;
    padding: 10px 30px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    transition: all 0.6s ease;
}

.home .home-content a:hover {
    filter: brightness(90%);
}

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

.about .column {
    width: calc(50% - 10px);
}

.about .text {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .left img {
    height: 700px; /* Adjusted height */
    width: auto; /* Automatically adjust width to maintain aspect ratio */
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-right: 0px; /* Added margin to keep it on the left */
    margin-bottom: 20px; /* Added margin for spacing */
}

.about .center img:hover {
    transform: scale(1.1);
}

.about .right {
    font-size: 25px;
    font-weight: 400;
}

.about .right a {
    display: inline-block;
    background: #ff0157;
    color: #fff;
    font-size: 18px;
    padding: 10px 30px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.about .right a:hover {
    filter: brightness(90%);
}

.card {
    width: 200px;
    height: 100px;
    background: #2c2929;
    display: inline-block;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(186, 30, 30, 0.1);
    transition: transform 0.3s;
}

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

.box {
    padding: 20px;
    text-align: center;
}

.box i {
    font-size: 30px;
    color: #fffdfd;
}

.box .text {
    font-size: 35px;
    color: #f3eeee;
    margin-top: 10px;
}

/* Projects Section Styling */
.teams {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 40px 0;
}

.teams .carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.teams .card {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    width: 350px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
    height: auto;
}

.teams .card:hover {
    border-color: #64ffda;
    box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.2);
}

.teams .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.teams .card .text {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.teams .card p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.teams .card .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.teams .card .tech-tag {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    color: #64ffda;
    font-family: 'Space Mono', monospace;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

.teams .card .project-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.teams .card .project-links a {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid #64ffda;
    color: #64ffda;
    font-family: 'Space Mono', monospace;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.teams .card .project-links a i {
    font-size: 18px;
    margin-right: 8px;
}

.teams .card .project-links a:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact .column {
    width: calc(50% - 10px);
}

.contact .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact .left p {
    text-align: justify;
}

.contact .icons {
    margin: 10px 10;
}

.contact .row {
    display: flex;
    height: 50px;
    align-items: center;
}

.contact .row .info {
    margin-left: 30px;
}

.contact .row i {
    font-size: 30px;
    color: #ff0157;
}

.contact .info .head {
    font-weight: 700;
}

.contact .info .sub-title {
    color: #000000;
}

.contact .right form .fields {
    display: flex;
    justify-content: space-between;
}

.contact form .field,
.contact form .fields .name,
.contact form .fields .email {
    height: 45px;
    width: 100%;
    margin-bottom: 150px;
}

.contact form .field input,
.contact form .fields .name input,
.contact form .fields .email input,
.contact form .message textarea {
    height: 100%;
    width: 100%;
    border: 1px solid rgb(160, 42, 42);
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact form .field input:focus,
.contact form .fields .name input:focus,
.contact form .fields .email input:focus,
.contact form .message textarea:focus {
    border-color: #b3b3b3;
}

.contact form .field input::placeholder,
.contact form .fields .name input::placeholder,
.contact form .fields .email input::placeholder,
.contact form .message textarea::placeholder {
    color: #999;
    transition: all 0.3s ease;
}

.contact form .field input:focus::placeholder,
.contact form .fields .name input:focus::placeholder,
.contact form .fields .email input:focus::placeholder,
.contact form .message textarea:focus::placeholder {
    color: #b3b3b3;
}

.contact form .message {
    height: auto; /* Adjusted height to auto */
    width: 100%; /* Full width */
    margin-bottom: 100px; /* Added margin bottom */
}

.contact form .message textarea {
    height: 150px; /* Adjusted height */
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 20px 15px;
    font-size: 25px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    resize: none;
}

.contact form .button {
    height: 45px;
    width: 100%;
    margin-bottom: 100px;
}

.contact form .button button {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    background: #ff0157;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact form .button button:hover {
    filter: brightness(90%);
}

footer {
    background: #111;
    padding: 10px 0;
    text-align: center;
}

footer span {
    color: #fff;
    font-size: 17px;
}

footer span a {
    color: #ff0157;
    text-decoration: none;
}

footer span a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 1104px) {
    .max-width {
        padding: 0 50px;
    }
}

@media (max-width: 991px) {
    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .menu li a {
        margin-left: -0px;
        font-size: 23px;
        margin: 10px 0;
    }

    .navbar .menu-btn {
        display: block;
    }

    .home .home-content .text-2 {
        font-size: 65px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .max-width {
        padding: 0 23px;
    }
}

@media (max-width: 527px) {
    .about .column {
        width: 100%;
    }

    .services .card {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact .column {
        width: 100%;
    }

    .contact .right {
        margin-top: 30px;
    }
}

@media (max-width: 400px) {
    .home .home-content .text-1 {
        font-size: 20px;
    }

    .home .home-content .text-2 {
        font-size: 55px;
    }

    .home .home-content .text-3 {
        font-size: 22px;
    }
}

/* Additional Media Queries for Centering .home-content */
@media (max-width: 1200px) {
    .home .home-content {
        text-align: center;
        flex-direction: column;
        margin: 0 auto;
    }

    .home .home-content .text-1,
    .home .home-content .text-2,
    .home .home-content .text-3,
    .home .home-content a {
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    .home .home-content {
        text-align: center;
        flex-direction: column;
        margin: 0 auto;
    }

    .home .home-content .text-1,
    .home .home-content .text-2,
    .home .home-content .text-3,
    .home .home-content a {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .home .home-content {
        text-align: center;
        flex-direction: column;
        margin: 0 auto;
    }

    .home .home-content .text-1,
    .home .home-content .text-2,
    .home .home-content .text-3,
    .home .home-content a {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .home .home-content {
        text-align: center;
        flex-direction: column;
        margin: 0 auto;
    }

    .home .home-content .text-1,
    .home .home-content .text-2,
    .home .home-content .text-3,
    .home .home-content a {
        margin-left: 0;
    }
}

/* Additional icon styles */
.fab.fa-cpp {
    color: #00599C;
}

.fab.fa-swift {
    color: #ffac45;
}

.services .card:hover {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.services .card {
    width: 250px;  /* Increased from 200px */
    height: 120px;  /* Increased from 100px */
    transition: all 0.3s ease;
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

.services .card .box {
    padding: 25px;  /* Increased from 20px */
}

.services .card .text {
    font-size: 20px;  /* Slightly reduced from 35px for better fit */
    line-height: 1.2;  /* Added for better text spacing */
    margin-top: 15px;  /* Increased from 10px */
}

.services .card .box i {
    font-size: 35px;  /* Increased from 30px */
    transition: all 0.3s ease;
    color: #64ffda;
}

.services .card:hover .box i {
    transform: translateY(-5px);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

/* Update text styles */
.text {
    color: #ccd6f6;
}

p {
    color: #8892b0;
}

.project-images {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
}

.project-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
}

.project-img:not(:first-child) {
    opacity: 0;
}

.image-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.img-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.img-dot.active {
    background: #64ffda;
    transform: scale(1.2);
}
