/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "aileron", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

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

.ulnone {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #6b48ff;
    transform: translateY(-3px);
}

/* Main Sections */
main {
    overflow-x: hidden;
}

section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1px;
    animation: fadeIn 1s ease-in-out;
}

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

/* Start Section */
.start {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url("initial.png");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.title {
    color: #ffffff;
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0.5rem 0;
    transition: transform 0.4s ease;
}

.title:hover {
    transform: scale(1.03);
}

.sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin-top: 1.5rem;
}

/* Perfi Section */
.perfi {
    background: url("profie.png");
    background-size: cover;
    background-position: center;
    background-color: #e0f0ff; /* Fallback */
}

.perfi .title2 {
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    z-index: 3;
    position: relative;
}

.perfi .parag {
    color: #ffffff;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    max-width: 700px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 3;
    position: relative;
}

.perfi .parag:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Work Section */
.work {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url("initial.jpg");
    background-size: cover;
    background-position: center;
}

.jobs {
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 2.5rem;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.service-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.jl, .jr, .jns {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.jlb, .jrb, .jnsb {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
}

/* Customer Section */
.custo {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url("work.jpg");
    background-size: cover;
    background-position: center;
    
}

.tcus {
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 2.5rem;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.in{
    width: 70px;
    height: 70px;
    filter: invert(100%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.za{
    width: 100px;
    height: 100px;
    filter: invert(100%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.in:hover, .za:hover {
    transform: scale(1.15);
    filter: invert(80%) sepia(50%) hue-rotate(200deg); /* Modern hover effect */
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, black, black, black, white);
    color: #ffffff;
    padding: 3rem 2rem;
}

.contact-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    width: 100%;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: inherit;
    transition: background 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.4);
    outline: none;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    color: #6b48ff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .ulnone {
        gap: 1.5rem;
    }

    nav a {
        font-size: 1rem;
    }

    section {
        min-height: 80vh;
        padding: 1.5rem;
        margin-bottom: 1px;
    }

    .hero-overlay {
        padding: 1.5rem;
    }

    .title {
        font-size: clamp(3rem, 8vw, 4.5rem);
    }

    .sub {
        font-size: clamp(1.2rem, 3vw, 1.7rem);
    }

    .perfi .title2, .jobs, .tcus, .contact-title {
        font-size: clamp(2.5rem, 6vw, 3rem);
    }

    .perfi .parag {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
        padding: 1.5rem;
        max-width: 90%;
    }

    .jl, .jr, .jns {
        font-size: clamp(1.5rem, 3.5vw, 1.8rem);
    }

    .jlb, .jrb, .jnsb {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }

    .in, .za {
        width: 60px;
        height: 60px;
    }

    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.75rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .ulnone {
        gap: 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    section {
        min-height: 70vh;
        padding: 1rem;
        margin-bottom: 1px;
    }

    .hero-overlay {
        padding: 1rem;
    }

    .title {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
    }

    .sub {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }

    .perfi .title2, .jobs, .tcus, .contact-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .perfi .parag {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        padding: 1rem;
    }

    .jl, .jr, .jns {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .jlb, .jrb, .jnsb {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .in, .za {
        width: 50px;
        height: 50px;
    }

    .contact-form input, .contact-form textarea, .contact-form button {
        padding: 0.75rem;
    }
}
