* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #101010;
    --text-color: white;
    --main-color: #f0b71b;
}

html {
    font-size: 60%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1.5rem 8%; 
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

#menu-icon {
    font-size: 3.5rem;
    color: var(--main-color);
    display: none;
}

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

span {
    background: linear-gradient(270deg, #ff1d15 10%, #f0b71b 100%);
    background-clip: text;
    color: transparent;
}

.navbar {
    display: flex;
    gap: 2rem; 
}

.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

.gradient-btn {
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(270deg, #ff1d15 10%, #f0b71b 100%);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: white;
    border: none;
    white-space: nowrap;
}

.gradient-btn:hover {
    transform: scale(1.05);
}

section {
    min-height: 100vh;
    padding: 10rem 15%;
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.home-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.home-content h1 {
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-content h3 {
    margin: 1rem 0;
    font-size: 4rem;
}

.devops-text {
    white-space: nowrap; 
}

.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
}

.home-img img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.04s ease-in-out;
}

.home-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover {
    color: var(--text-color);
    background-color: var(--main-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
}

.btn-group a:nth-of-type(2) {
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: var(--second-bg-color);
}

.about-img img{
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
}

.about-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}

.about-content h2{
    font-size: 7rem;
    text-align: left;
}

.about-content p{
    font-size: 1.8rem;
}

.about-content .btn{
    margin: 3rem 0;
}

::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}

::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}

.heading {
    text-align: center;
    font-size: clamp(3rem, 6vw, 7rem);
    margin: 3rem 0;
}

.services {
    background-color: var(--bg-color);
    color: black;
    padding: 5rem 2rem;
}

.services h2 {
    color: var(--text-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 1.5rem; 
    max-width: 1100px; 
    margin: auto;
}

.service-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    height: 450px; 
    width: 100%; 
    max-width: 325px; 
    border-radius: 3rem;
    cursor: pointer;
    border: 4px solid transparent;
    transition: background-color 0.4s ease-in-out, transform 0.3s ease-in-out, border 0.3s ease-in-out;
    margin: auto; 
}

.service-box:hover {
    background: var(--second-bg-color);
    color: var(--main-color);
    border: 3px solid var(--main-color);
    transform: scale(1.05);
}

.service-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
}

.service-info h4 {
    font-size: 2.5rem;
    margin: 1rem 0;
    font-weight: 800;
}

.service-info p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

.service-info i {
    font-size: 6rem;
}

.projects {
    background-color: var(--second-bg-color);
    padding: 5rem 2rem;
    text-align: center;
}

.projects-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
    margin-top: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    padding: 3rem 2rem;
    gap: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 5px var(--main-color);
    transition: 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
    transform: scale(1.02);
}

.project-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 2rem;
    object-fit: cover;
}

.project-card h3 {
    font-size: 2.5rem;
    color: var(--main-color);
}

.project-card p {
    font-size: 1.6rem;
    margin: 1rem 0;
    color: var(--text-color);
}

.btn {
    background-color: var(--main-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: var(--hover-color);
    box-shadow: 0 0 10px var(--main-color);
}

.contact{
    background-color: var(--bg-color);
}

.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    gap: 3rem;
    margin: 5rem 0;
    text-align: center;
}

.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
}

.footer{
    background-color: var(--second-bg-color);
    padding: 50px 0;
}

.footer .social-icons{
    text-align: center;
}

.footer ul{
    text-align: center;
    font-size: 1.8rem;
}

.footer ul li{
    display: inline-block;
    margin-left: 20px;
}

.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}

.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}

.footer .copyright{
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
}

/* Update Modal Styles */
.update-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-in-out;
}

.update-modal.show {
    display: flex;
}

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

.modal-content {
    background: linear-gradient(135deg, var(--second-bg-color) 0%, #1a1a1a 100%);
    border: 2px solid var(--main-color);
    border-radius: 2rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(240, 183, 27, 0.3);
    animation: slideUp 0.3s ease-in-out;
}

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

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2.5rem;
    color: var(--main-color);
    margin: 0;
}

.modal-body {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-body p {
    font-size: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    flex: 1;
    max-width: 220px;
}

.btn-primary {
    background: linear-gradient(270deg, #ff1d15 10%, #f0b71b 100%);
    color: white;
    box-shadow: 0 0 20px rgba(240, 183, 27, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(240, 183, 27, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}

.btn-secondary:hover {
    background-color: var(--main-color);
    color: black;
    transform: scale(1.05);
}

@media(max-width:768px) {
    .modal-content {
        padding: 2rem;
    }

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

    .modal-body p {
        font-size: 1.3rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-btn {
        max-width: 100%;
    }
}

@media(max-width:1285px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3rem;
        background: rgba(0, 0, 0, 0.8);
        border-top-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }
    .navbar.active{
        display: block;
    }
    .gradient-btn{
        display: none;
    }
    .home{
        flex-direction: column-reverse;
        margin: 5rem 0;
        gap: 5rem;
    }
    .home-content{
        align-items: center;
        text-align: center;
    }
    .home-img{
        width: 56vw;
    }
    .about{
        flex-direction: column-reverse;
        text-align: center;
    }
    .about h2{
        text-align: center;
        margin: 2rem 0;
    }
    .about-img{
        width: 50vw;
    }
    .contact{
        flex-direction: column;
    }
}

@media(max-width:1024px){
    section{
        padding: 8rem 12%;
    }
    .home{
        gap: 8rem;
    }
    .about{
        gap: 8rem;
    }
    .home-content h1{
        font-size: 6rem;
    }
    .home-content h3{
        font-size: 3.5rem;
    }
    .about-content h2{
        font-size: 6rem;
    }
}

@media(max-width:768px){
    html{
        font-size: 55%;
    }
    section{
        padding: 7rem 10%;
        min-height: auto;
    }
    .logo{
        font-size: 2.5rem;
    }
    .home{
        gap: 5rem;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-content h3{
        font-size: 3rem;
    }
    .home-content p{
        font-size: 1.4rem;
    }
    .home-img{
        width: 60vw;
    }
    .social-icons a{
        margin: 2rem 0.5rem;
        font-size: 1.8rem;
        padding: 0.8rem;
    }
    .about{
        gap: 5rem;
    }
    .about-content h2{
        font-size: 5rem;
    }
    .about-content p{
        font-size: 1.6rem;
    }
    .about-img img{
        width: 60vw;
    }
    .services-container{
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    .service-box{
        height: auto;
        min-height: 380px;
        padding: 2rem;
    }
    .service-info h4{
        font-size: 2.2rem;
    }
    .service-info i{
        font-size: 5rem;
    }
    .projects-box{
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        row-gap: 3rem;
    }
    .project-card h3{
        font-size: 2.2rem;
    }
    .project-card p{
        font-size: 1.5rem;
    }
    .contact form{
        gap: 2rem;
    }
    .contact form .input-box input,
    .contact form textarea{
        padding: 2rem;
        font-size: 1.6rem;
    }
    .footer ul{
        font-size: 1.6rem;
    }
    .footer ul li{
        margin-left: 15px;
    }
}

@media(max-width:480px){
    html{
        font-size: 50%;
    }
    section{
        padding: 5rem 5%;
    }
    .logo{
        font-size: 2rem;
    }
    #menu-icon{
        font-size: 3rem;
    }
    .home{
        gap: 3rem;
    }
    .home-content h1{
        font-size: 4rem;
    }
    .home-content h3{
        font-size: 2.5rem;
    }
    .home-content p{
        font-size: 1.3rem;
    }
    .home-img{
        width: 70vw;
    }
    .btn-group{
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .btn{
        width: 100%;
        text-align: center;
    }
    .social-icons a{
        margin: 1.5rem 0.3rem;
        font-size: 1.6rem;
        padding: 0.7rem;
    }
    .about{
        gap: 3rem;
    }
    .about-content h2{
        font-size: 4rem;
    }
    .about-content p{
        font-size: 1.5rem;
    }
    .about-img img{
        width: 70vw;
    }
    .services{
        padding: 4rem 1rem;
    }
    .services-container{
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-box{
        max-width: 100%;
        min-height: 350px;
    }
    .service-info{
        padding: 2rem;
    }
    .service-info h4{
        font-size: 2rem;
    }
    .service-info i{
        font-size: 4.5rem;
    }
    .projects{
        padding: 4rem 1rem;
    }
    .projects-box{
        grid-template-columns: 1fr;
        gap: 2rem;
        row-gap: 3rem;
    }
    .project-card{
        padding: 2rem 1.5rem;
    }
    .project-card h3{
        font-size: 2rem;
    }
    .project-card p{
        font-size: 1.4rem;
    }
    .contact form{
        flex-direction: column;
        gap: 1.5rem;
    }
    .contact form .input-box input,
    .contact form textarea{
        padding: 1.5rem;
        font-size: 1.5rem;
        margin: 1rem 0;
    }
    .footer{
        padding: 40px 0;
    }
    .footer ul{
        font-size: 1.4rem;
    }
    .footer ul li{
        margin-left: 10px;
        display: block;
        margin: 1rem 0;
    }
    .footer .copyright{
        font-size: 14px;
    }
}