
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #07111f;
    color: #e8f1ff;
    line-height: 1.6;
}

/* ================================
   NAVBAR
================================ */

nav {
    height: 75px;
    width: 100%;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(5, 15, 29, 0.95);
    border-bottom: 1px solid rgba(0, 200, 255, 0.15);

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* Logo section */

.img1 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.img1 img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;

    border: 2px solid #00c6ff;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
}

.img1 h2 {
    color: #ffffff;
    letter-spacing: 1.5px;
}

/* Navbar links */

nav > div:last-child {
    display: flex;
    gap: 35px;
}

nav a {
    color: #d8e8ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;

    position: relative;
    transition: 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #00c6ff;
    transition: 0.3s ease;
}

nav a:hover {
    color: #00c6ff;
}

nav a:hover::after {
    width: 100%;
}


/* ================================
   HERO SECTION
================================ */

.hero {
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 80px 20px;

    background:
        linear-gradient(
            rgba(4, 15, 30, 0.82),
            rgba(4, 15, 30, 0.95)
        ),
        url("../images/it work.jpg");

    background-size: cover;
    background-position: center;

    position: relative;
}

/* Tech grid effect */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(0, 198, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 198, 255, 0.05) 1px, transparent 1px);

    background-size: 45px 45px;
}

.hero > div {
    position: relative;
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.1;
    margin-bottom: 25px;

    color: #ffffff;

    text-shadow:
        0 0 10px rgba(0, 198, 255, 0.3);
}

.hero p {
    font-size: 20px;
    color: #b7c9df;
    margin-bottom: 35px;
}

/* Hero button */

.btn {
    display: inline-block;

    padding: 13px 32px;

    background: linear-gradient(
        135deg,
        #00c6ff,
        #0072ff
    );

    color: white;
    text-decoration: none;

    border-radius: 6px;

    font-weight: 600;
    letter-spacing: 0.5px;

    box-shadow:
        0 0 20px rgba(0, 198, 255, 0.3);

    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 30px rgba(0, 198, 255, 0.6);
}


/* ================================
   GENERAL SECTIONS
================================ */

section {
    padding: 80px 7%;
}

section h2 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
}

section h2::after {
    content: "";
    display: block;

    width: 50px;
    height: 3px;

    margin: 10px auto;

    background: #00c6ff;
    box-shadow: 0 0 10px #00c6ff;
}


/* ================================
   SERVICES
================================ */

#services {
    background: #081525;
}

.services {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 25px;

    margin-top: 30px;
}

.card {
    background: #0d1c2e;

    border: 1px solid rgba(0, 198, 255, 0.15);

    border-radius: 12px;

    overflow: hidden;

    text-align: center;

    transition: 0.35s ease;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2);
}

.card p {
    padding: 18px 10px 12px;

    font-size: 18px;

    font-weight: 600;

    text-transform: capitalize;

    color: #ffffff;
}

.card img {
    width: 100%;
    height: 180px;

    object-fit: cover;

    display: block;

    opacity: 0.85;

    transition: 0.4s ease;
}

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

    border-color: #00c6ff;

    box-shadow:
        0 10px 35px rgba(0, 198, 255, 0.2);
}

.card:hover img {
    transform: scale(1.05);
    opacity: 1;
}


/* ================================
   PORTFOLIO / OUR WORK
================================ */

.portfolio {
    max-width: 1000px;

    margin: 30px auto 0;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

.portfolio > div {
    background: #0d1c2e;

    padding: 25px;

    border-radius: 12px;

    border: 1px solid rgba(0, 198, 255, 0.15);

    transition: 0.3s ease;

    text-align: center;
}

.portfolio > div:hover {
    transform: translateY(-6px);

    border-color: #00c6ff;

    box-shadow:
        0 10px 35px rgba(0, 198, 255, 0.15);
}

.portfolio p:first-child {
    font-size: 22px;

    font-weight: 600;

    color: #00c6ff;

    margin-bottom: 15px;
}

.portfolio img {
    width: 100%;
    height: 180px !important;

    object-fit: cover;

    border-radius: 8px;

    margin-bottom: 15px;
}

.portfolio p:last-child {
    color: #aebfd4;

    font-size: 15px;
}


/* ================================
   WHY CHOOSE US
================================ */

.cho {
    text-align: center;

    background:
        linear-gradient(
            135deg,
            #07111f,
            #0a1b30
        );
}

.why {
    max-width: 1000px;

    margin: 35px auto 0;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));

    gap: 20px;
}

.why div {
    padding: 25px 15px;

    background: #0d1c2e;

    border-radius: 10px;

    border: 1px solid rgba(0, 198, 255, 0.15);

    color: #ffffff;

    font-size: 17px;

    font-weight: 600;

    transition: 0.3s ease;
}

.why div::before {
    content: "✓";

    display: block;

    margin-bottom: 8px;

    color: #00c6ff;

    font-size: 25px;

    text-shadow: 0 0 10px #00c6ff;
}

.why div:hover {
    transform: translateY(-5px);

    border-color: #00c6ff;

    box-shadow:
        0 0 25px rgba(0, 198, 255, 0.15);
}


/* ================================
   CONTACT SECTION
================================ */

#contact {
    background: #081525;
}

.cont {
    max-width: 1100px;
    margin: auto;
}

.cont > h2 {
    text-align: center;
}

.cont2 {
    margin-top: 40px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;
}

/* Contact information */

.address,
.form {
    background: #0d1c2e;

    padding: 30px;

    border-radius: 12px;

    border: 1px solid rgba(0, 198, 255, 0.15);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2);
}

.address h4,
.form h4 {
    font-size: 22px;

    color: #00c6ff;

    margin-bottom: 25px;
}

.mat {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mat p {
    color: #c3d2e4;

    padding: 12px 15px;

    background: #091626;

    border-radius: 6px;

    border-left: 3px solid #00c6ff;
}


/* ================================
   CONTACT FORM
================================ */

.form form {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.form input,
.form textarea {
    width: 100%;

    padding: 14px 15px;

    background: #091626;

    color: white;

    border: 1px solid #1c3955;

    border-radius: 6px;

    outline: none;

    font-family: inherit;

    font-size: 15px;

    transition: 0.3s ease;
}

.form input::placeholder,
.form textarea::placeholder {
    color: #71849b;
}

.form input:focus,
.form textarea:focus {
    border-color: #00c6ff;

    box-shadow:
        0 0 10px rgba(0, 198, 255, 0.15);
}

.form textarea {
    min-height: 130px;

    resize: vertical;
}

.form button {
    padding: 13px;

    border: none;

    border-radius: 6px;

    background: linear-gradient(
        135deg,
        #00c6ff,
        #0072ff
    );

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.form button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 20px rgba(0, 198, 255, 0.4);
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 25px;

    text-align: center;

    background: #050d18;

    border-top: 1px solid rgba(0, 198, 255, 0.1);
}

footer p {
    color: #7f93aa;

    font-size: 14px;
}


/* ================================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 768px) {

    nav {
        height: auto;

        padding: 15px 5%;

        flex-direction: column;

        gap: 15px;
    }

    nav > div:last-child {
        gap: 20px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 60px 5%;
    }

    .cont2 {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 480px) {

    .img1 h2 {
        font-size: 14px !important;
    }

    nav > div:last-child {
        gap: 12px;
    }

    nav a {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 15px;
    }

    .btn {
        padding: 12px 25px;
    }

    section h2 {
        font-size: 28px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .portfolio {
        grid-template-columns: 1fr;
    }

    .why {
        grid-template-columns: 1fr 1fr;
    }

    .address,
    .form {
        padding: 20px;
    }
}
