@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

body {
    background-color: #030027;
    color: #ffffff;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 0 10%;
    overflow: hidden;
    padding-top: 50px;
}

.hero-content {
    position: relative;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.hero-content h1 span {
    color: #69a0b8;
}

.hero-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #69a0b8;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 40px;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 0.6s; 
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 350px;
    height: 50px;
}

.btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 0.9s; 
    z-index: 3;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 150px;
    border: 2px solid #69a0b8;
    background: #69a0b8;
    border-radius: 8px;
    font-size: 19px;
    color: #030027;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: 0.5s;
}

.btn-box a:hover {
    color: #69a0b8;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #69a0b8;
}

.btn-box a:nth-child(2):hover {
    color: #030027;
}

.btn-box a:nth-child(2)::before {
    background: #69a0b8;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #030027;
    z-index: -1;
    transition: 0.5s;
}

.btn-box a:hover::before {
    width: 100%;
}

.hero-image {
    width: 450px;
    height: 450px;
    position: relative;
    border-radius: 50%; /* Creates a circular container */
    overflow: hidden;
    background: linear-gradient(to bottom right, #69a0b8, #030027); /* Gradient background */
    box-shadow: 0 10px 25px rgba(105, 160, 184, 0.5); /* Adds a soft blue glow */
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(105, 160, 184, 0.3) 0%, rgba(3, 0, 39, 0.7) 70%);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;   /* Moves image down vertically */
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(105, 160, 184, 0.3), 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.4s;
    position: relative;
    z-index: 2;
    animation: floatImage 4s ease-in-out infinite;
    background: #fff;          /* fallback background */
}

.hero-image img:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 16px 48px rgba(105, 160, 184, 0.4), 0 4px 16px rgba(0,0,0,0.18);
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translatex(-4px);
    }
    100% {
        transform: translateY(0);
    }
}
/* Section Common Styles */
section {
    min-height: 40vh;
    padding: 100px 10% 70px;
}

.section-heading {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 50px;
    position: relative;
}

.section-heading span {
    color: #69a0b8;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-top: -30px;
    margin-bottom: 50px;
    color: #cccccc;
}


/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-box {
    background: rgba(105, 160, 184, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: 0.5s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.skill-box:hover {
    transform: translateY(-10px);
    border-color: #69a0b8;
}

.skill-box i {
    font-size: 50px;
    color: #69a0b8;
    margin-bottom: 20px;
}

.skill-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Services Section */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(105, 160, 184, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: 0.5s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #69a0b8;
}

.service-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: #69a0b8;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: 0.5s;
}

.service-icon i {
    font-size: 30px;
    color: #030027;
    transition: 0.5s;
}

.service-card:hover .service-icon {
    background: #030027;
    outline: 2px solid #69a0b8;
}

.service-card:hover .service-icon i {
    color: #69a0b8;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
}

.services-cta {
    margin-top: 50px;
}

Projects Section
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(105, 160, 184, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #69a0b8;
    box-shadow: 0 10px 20px rgba(105, 160, 184, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-description {
    margin-bottom: 15px;
    font-size: 1rem;
}

.project-tech {
    color: #69a0b8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-button {
    display: inline-block;
    padding: 10px 20px;
    background: #69a0b8;
    color: #030027;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
    border: 2px solid #69a0b8;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.project-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #030027;
    z-index: -1;
    transition: 0.3s;
}

.project-button:hover {
    color: #69a0b8;
}

.project-button:hover::before {
    width: 100%;
}

.projects-cta {
    margin-top: 50px;
}

/* Buttons Css */

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #69a0b8;
    color: #030027;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid #69a0b8;
        transform: translate(500px, 0px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #030027;
    z-index: -1;
    transition: 0.5s;
}

.btn:hover {
    color: #69a0b8;
}

.btn:hover::before {
    width: 100%;
}

/* Call to Action */
.cta {
    padding: 0px 5%;
    text-align: center;
    position: relative;
}

.ctaContent {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.ctaContent::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 2s; 
    z-index: 1;
}

.ctaContent h3 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.ctaContent p {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.ctaButton {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 2;
}

.ctaButton a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 150px;
    border: 2px solid #69a0b8;
    background: #69a0b8;
    border-radius: 8px;
    font-size: 19px;
    color: #030027;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.ctaButton a:hover {
    color: #69a0b8;
}

.ctaButton a:nth-child(2) {
    background: transparent;
    color: #69a0b8;
}

.ctaButton a:nth-child(2):hover {
    color: #030027;
}

.ctaButton a:nth-child(2)::before {
    background: #69a0b8;
}

.ctaButton a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #030027;
    z-index: -1;
    transition: .5s;
}

.ctaButton a:hover::before {
    width: 100%;
}


/* Animation */
@keyframes Animation {
    100% {
        width: 0;
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    html {
        font-size: 95%;
    }
    
    .hero {
        padding: 0 5%;
    }
    
    section {
        padding: 90px 5% 60px;
    }
    
    .hero-image {
        width: 400px;
        height: 400px;
    }
    

}

@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 150px;
        padding-bottom: 50px;
        height: auto;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .ctaButton {
        margin: 0 auto;
    }
    
    .hero-image {
        width: 350px;
        height: 350px;
    }
    
    
    .projects-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .btn{
        transform: translate(50px, 50px);
    }
}

@media (max-width: 800px){
    .btn{
        transform: translate(50px, 50px);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
    
    .section-heading {
        font-size: 3rem;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process-number {
        margin-bottom: 15px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
     .btn{
        transform: translate(180px, -50px);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 85%;
    }
    
    .hero-content h1 {
        padding-top: 30px;
        font-size: 36px;
    }
    
    .hero-content h3 {
        font-size: 22px;
    }
    
    .ctaButton {
        width: 300px;
    }
    
    .ctaButton a {
        width: 140px;
        font-size: 16px;
    }
    
    .btn{
        transform: translate(120px, -40px);
    }

    .hero-image {
        width: 280px;
        height: 280px;
    }
    
    .section-heading {
        font-size: 2.5rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
        .btn {
        transform: translate(80px, -20px);
    }
    .ctaButton {
        width: 100%;
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .ctaButton a {
        width: 100%;
        height: 45px;
    }
}