﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI',sans-serif;
    background: #020617;
    color: white;
    overflow-x: hidden;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #06b6d4;
    border-radius: 10px;
}

/* NAVBAR */

.custom-navbar {
    background: rgba(2,6,23,0.9);
    backdrop-filter: blur(15px);
    padding: 18px 0;
    transition: 0.4s;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.navbar-brand img {
    border-radius: 50%;
}

.navbar-nav .nav-link {
    color: white !important;
    margin-left: 20px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: 0.4s;
}

    .navbar-nav .nav-link:hover {
        color: #06b6d4 !important;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0%;
        height: 2px;
        background: #06b6d4;
        transition: 0.4s;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

.dropdown-menu {
    background: #0f172a;
    border: none;
    border-radius: 15px;
    padding: 10px;
}

.dropdown-item {
    color: white;
    border-radius: 10px;
    padding: 12px;
    transition: 0.3s;
}

    .dropdown-item:hover {
        background: #06b6d4;
        color: white;
    }

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

/* HERO SECTION */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right,#020617,#071330);
    overflow: hidden;
    padding-top: 120px;
}

    .hero-section::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: #06b6d4;
        border-radius: 50%;
        filter: blur(180px);
        opacity: 0.15;
        top: -150px;
        right: -150px;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: #06b6d4;
    font-size: 15px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

    .hero-title span {
        color: #06b6d4;
    }

.hero-text {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.9;
    max-width: 650px;
}

.hero-buttons {
    margin-top: 40px;
}

.hero-img {
    max-width: 100%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* BUTTON */

.btn-custom {
    background: #06b6d4;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(6,182,212,0.3);
}

    .btn-custom:hover {
        background: white;
        color: #020617;
        transform: translateY(-5px);
    }

.btn-outline-light {
    padding: 14px 35px;
    border-radius: 50px;
    transition: 0.4s;
}

    .btn-outline-light:hover {
        transform: translateY(-5px);
    }

/* HERO STATS */

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-box h3 {
    font-size: 42px;
    font-weight: 800;
    color: #06b6d4;
}

.stat-box p {
    color: #cbd5e1;
    margin-top: 5px;
}

/* SECTION TITLE */

.section-subtitle {
    color: #06b6d4;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-text {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.9;
    max-width: 700px;
    margin: auto;
}

/* SERVICES */

.services-section {
    background: #071330;
}

.service-card {
    background: #0f172a;
    padding: 40px 30px;
    border-radius: 25px;
    height: 100%;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

    .service-card::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 0%;
        left: 0;
        bottom: 0;
        background: #06b6d4;
        opacity: 0.08;
        transition: 0.5s;
    }

    .service-card:hover::before {
        height: 100%;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(6,182,212,0.2);
    }

.icon-box {
    width: 90px;
    height: 90px;
    background: rgba(6,182,212,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: 0.5s;
}

    .icon-box i {
        font-size: 35px;
        color: #06b6d4;
    }

.service-card:hover .icon-box {
    transform: rotate(360deg);
    background: #06b6d4;
}

    .service-card:hover .icon-box i {
        color: white;
    }

.service-card h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    color: #cbd5e1;
    line-height: 1.8;
}

/* ABOUT */

.about-home {
    background: #020617;
}

.about-home-img {
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* PORTFOLIO */

.portfolio-home {
    background: #020617;
}

.portfolio-card {
    background: #0f172a;
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s;
    height: 100%;
}

    .portfolio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(6,182,212,0.2);
    }

    .portfolio-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: 0.5s;
    }

    .portfolio-card:hover img {
        transform: scale(1.1);
    }

.portfolio-content {
    padding: 25px;
}

    .portfolio-content h4 {
        margin-bottom: 15px;
        font-size: 24px;
    }

    .portfolio-content p {
        color: #cbd5e1;
    }

/* BLOG */

.blog-section {
    background: #071330;
}

.blog-card {
    background: #0f172a;
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s;
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(6,182,212,0.2);
    }

.blog-img {
    overflow: hidden;
}

    .blog-img img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: 0.5s;
    }

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: #94a3b8;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-content h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-content p {
    color: #cbd5e1;
    line-height: 1.8;
}

.blog-btn {
    text-decoration: none;
    color: #06b6d4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-weight: 600;
}

    .blog-btn:hover {
        color: white;
    }

/* CTA */

.cta-section {
    background: linear-gradient(to right,#071330,#0f172a);
}

.cta-title {
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    color: #cbd5e1;
    font-size: 18px;
}

/* FOOTER */

.footer-section {
    background: #0f172a;
    padding: 80px 0 30px;
}

.footer-title {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 15px;
    }

    .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        transition: 0.3s;
    }

        .footer-links a:hover {
            color: #06b6d4;
        }

.footer-section p {
    color: #cbd5e1;
    line-height: 1.9;
}

.footer-line {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 25px;
}

/* RESPONSIVE */

@media(max-width:991px) {

    .navbar-collapse {
        background: #0f172a;
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        margin: 10px 0;
    }

    .hero-section {
        text-align: center;
        padding-top: 150px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 38px;
    }

    .cta-title {
        font-size: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-img {
        margin-top: 50px;
    }
}

@media(max-width:576px) {

    .hero-title {
        font-size: 38px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-stats {
        gap: 25px;
    }

    .btn-custom,
    .btn-outline-light {
        width: 100%;
        margin-top: 15px;
    }
}
