/*******************************/
/********* General CSS *********/
/*******************************/
:root {
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(116, 70, 255, 0.18), transparent 60%),
        radial-gradient(circle at 80% 0%, rgba(255, 90, 123, 0.18), transparent 55%),
        linear-gradient(135deg, #0d1117 0%, #111827 45%, #1e1b4b 100%);
    --primary: #7c3aed;
    --secondary: #f472b6;
    --accent: #22d3ee;
    --surface: rgba(15, 23, 42, 0.6);
    --surface-strong: rgba(30, 41, 59, 0.85);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5f5;
    --text-muted: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.35);
    --shadow-xl: 0 40px 80px -30px rgba(15, 23, 42, 0.8);
    --shadow-lg: 0 25px 60px -20px rgba(15, 23, 42, 0.65);
    --blur-bg: blur(24px);
}

body {
    color: var(--text-secondary);
    background: #050816;
    background-image: var(--bg-gradient);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(120deg, rgba(124, 58, 237, 0.12), rgba(34, 211, 238, 0.08));
    opacity: 0.75;
    z-index: -2;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    transition: 0.3s ease;
}

a:hover,
a:active,
a:focus {
    color: var(--secondary);
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1320px;
}

.btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    border: 0;
    border-radius: 999px;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.btn.btn-outline {
    background: transparent;
    color: var(--text-primary);
    box-shadow: inset 0 0 0 2px rgba(124, 58, 237, 0.8);
}

.btn.btn-outline::after {
    display: none;
}

.btn.btn-outline:hover {
    color: #ffffff;
    background: rgba(124, 58, 237, 0.2);
    box-shadow: inset 0 0 0 2px rgba(124, 58, 237, 0.9), 0 18px 40px rgba(124, 58, 237, 0.35);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--accent), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 45px rgba(124, 58, 237, 0.45);
}

.btn:hover::after {
    opacity: 0.4;
}

#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease-out, visibility 0s linear .3s;
    -o-transition: opacity .3s ease-out, visibility 0s linear .3s;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 999;
}

#loader.show {
    -webkit-transition: opacity .6s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .6s ease-out, visibility 0s linear 0s;
    transition: opacity .6s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#loader .loader {
    position: relative;
    width: 45px;
    height: 45px;
    border: 5px solid #dddddd;
    border-top: 5px solid var(--secondary);
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.back-to-top {
    position: fixed;
    display: none;
    width: 52px;
    height: 52px;
    right: 20px;
    bottom: 20px;
    z-index: 9;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-size: 22px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.5);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.back-to-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.55);
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
html {
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 22px 32px;
    transition: 0.5s ease;
    z-index: 999;
    background: transparent;
}

.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--surface);
    backdrop-filter: var(--blur-bg);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    opacity: 0;
    transform: translateY(-16px);
    transition: 0.5s ease;
    z-index: -1;
}

.navbar.nav-sticky::before,
.navbar.nav-sticky {
    opacity: 1;
    transform: translateY(0);
}

.navbar .navbar-brand {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: none;
    position: relative;
}

.navbar-light .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon::before,
.navbar-light .navbar-toggler-icon::after {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    content: "";
    margin: 6px 0;
    transition: 0.3s ease;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:focus {
    padding: 12px 18px;
    color: var(--text-secondary);
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--text-primary);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 18px 20px;
        background: rgba(15, 23, 42, 0.95);
    }

    .navbar::before {
        display: none;
    }

    .navbar-collapse {
        margin-top: 16px;
        background: rgba(15, 23, 42, 0.95);
        border-radius: 18px;
        padding: 18px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        color: var(--text-primary);
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 30px 60px;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        padding: 12px 22px;
        font-size: 16px;
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.hero {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    padding: 180px 0 140px 0;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.9), transparent 70%);
    top: -120px;
    left: -120px;
}

.hero::after {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.85), transparent 65%);
    bottom: -180px;
    right: -160px;
}

.hero .container-fluid {
    padding: 0 40px;
}

.hero .row {
    position: relative;
    z-index: 2;
}

.hero .hero-content {
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
}

.hero .hero-text p {
    color: var(--accent);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero .hero-text h1 {
    color: var(--text-primary);
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-shadow: 0 15px 35px rgba(15, 23, 42, 0.5);
}

.hero .hero-text h2 {
    display: inline-block;
    margin: 0;
    min-height: 36px;
    color: var(--secondary);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    letter-spacing: 1px;
}

.hero .hero-text .typed-text {
    display: inline-block;
    color: var(--text-primary);
    opacity: 0.85;
}

.hero .hero-text .typed-cursor {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    color: var(--secondary);
}

.hero .hero-btn {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 25px;
}

.hero .hero-btn .btn {
    margin-top: 0;
}

.hero .hero-image {
    position: relative;
    text-align: right;
    padding-right: 50px;
    display: flex;
    justify-content: flex-end;
}

.hero .hero-image::before {
    content: "";
    position: absolute;
    inset: 10% 5% 5% 25%;
    background: radial-gradient(circle at top, rgba(124, 58, 237, 0.35), transparent 70%);
    border-radius: 40% 60% 60% 40% / 55% 45% 55% 45%;
    filter: blur(12px);
    transform: rotate(-8deg);
    z-index: 0;
}

.hero .hero-image img {
    max-width: 85%;
    border-radius: 32px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 140px 0 90px 0;
    }

    .hero .hero-content {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .hero .hero-image {
        margin-top: 40px;
        padding-right: 0;
        justify-content: center;
    }

    .hero .hero-image img {
        max-width: 75%;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 120px 0 80px 0;
    }

    .hero .hero-text p {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .hero .hero-btn {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero .hero-text h1 {
        font-size: 34px;
    }

    .hero .hero-text h2 {
        font-size: 22px;
    }

    .hero .hero-image img {
        max-width: 85%;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    margin-bottom: 60px;
    text-align: center;
}

.section-header p {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    margin-bottom: 14px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(124, 58, 237, 0.12);
    border-radius: 999px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.section-header p::before,
.section-header p::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    margin: 30px 0 90px 0;
}

.about::before {
    content: "";
    position: absolute;
    inset: 40px 0 0;
    background: linear-gradient(140deg, rgba(124, 58, 237, 0.08), rgba(34, 211, 238, 0.08));
    border-radius: 40px;
    filter: blur(20px);
    z-index: -1;
}

.about .about-img {
    position: relative;
    padding: 30px;
}

.about .about-img::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(124, 58, 237, 0.15));
    z-index: 0;
    transform: rotate(2deg);
}

.about .about-img img {
    position: relative;
    width: 100%;
    border-radius: 28px;
    z-index: 1;
    box-shadow: var(--shadow-xl);
}

.about .about-content {
    padding: 30px 60px;
    background: var(--surface-strong);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: var(--blur-bg);
}

.about .about-text p {
    font-size: 17px;
    color: var(--text-secondary);
}

.about .skills {
    margin-bottom: 30px;
}

.about .skill-name {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    color: var(--text-primary);
}

.about .progress {
    height: 12px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.about .progress .progress-bar {
    width: 0px;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
    transition: width 2s ease;
}

.about .about-text a.btn {
    margin-top: 20px;
}

@media (max-width: 991.98px) {
    .about .about-content {
        margin-top: 30px;
        padding: 30px;
    }
}


/*******************************/
/******* Experience CSS ********/
/*******************************/
.experience {
    position: relative;
    padding: 90px 0 60px 0;
}

.experience::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.18), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.12), transparent 60%);
    opacity: 0.7;
    z-index: -1;
}

.experience .timeline {
    position: relative;
    width: 100%;
    padding-top: 30px;
}

.experience .timeline::after {
    content: "";
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.6), rgba(124, 58, 237, 0));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.experience .timeline .timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 50px;
    padding: 0 40px;
}

.experience .timeline .timeline-item.left {
    float: left;
    text-align: right;
}

.experience .timeline .timeline-item.right {
    float: right;
    text-align: left;
}

.experience .timeline .timeline-item::before {
    content: "";
    position: absolute;
    top: 42px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0f172a;
    border: 3px solid var(--accent);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
    z-index: 2;
}

.experience .timeline .timeline-item.left::before {
    right: -9px;
}

.experience .timeline .timeline-item.right::before {
    left: -9px;
}

.experience .timeline .timeline-date {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.experience .timeline .timeline-text {
    padding: 32px;
    background: var(--surface-strong);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.experience .timeline .timeline-text h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: var(--text-primary);
}

.experience .timeline .timeline-text h4 {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    color: var(--text-muted);
}

.experience .timeline .timeline-text p {
    margin: 0;
    font-size: 16px;
    color: var(--text-secondary);
}

@media (max-width: 991.98px) {
    .experience .timeline::after {
        left: 20px;
    }

    .experience .timeline .timeline-item,
    .experience .timeline .timeline-item.left,
    .experience .timeline .timeline-item.right {
        width: 100%;
        float: none;
        text-align: left;
        padding: 0 0 0 60px;
    }

    .experience .timeline .timeline-item::before {
        left: 18px;
        right: auto;
    }
}


/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 80px 0 30px 0;
}

.service .service-item {
    position: relative;
    margin-bottom: 35px;
    padding: 40px 32px;
    background: var(--surface-strong);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service .service-item::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 120%;
    background: linear-gradient(130deg, rgba(124, 58, 237, 0.4), rgba(34, 211, 238, 0));
    opacity: 0;
    transform: translateY(60px) rotate(12deg);
    transition: 0.6s ease;
    z-index: 0;
}

.service .service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 80px -30px rgba(15, 23, 42, 0.8);
}

.service .service-item:hover::before {
    opacity: 1;
    transform: translateY(0) rotate(12deg);
}

.service .service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.12);
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 34px;
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35);
    position: relative;
    z-index: 1;
    transition: 0.4s ease;
}

.service .service-item:hover .service-icon {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #ffffff;
    transform: translateY(-4px);
}

.service .service-text {
    position: relative;
    z-index: 1;
}

.service .service-text h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.service .service-text p {
    margin: 0;
    font-size: 16px;
    color: var(--text-muted);
}

@media (max-width: 575.98px) {
    .service .service-item {
        padding: 30px 24px;
    }

    .service .service-text h3 {
        font-size: 20px;
    }
}


/*******************************/
/********* Clinic CSS *********/
/*******************************/
.clinic {
    position: relative;
    padding: 110px 0;
}

.clinic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.25), transparent 55%),
        radial-gradient(circle at 5% 90%, rgba(124, 58, 237, 0.3), transparent 60%);
    z-index: -1;
}

.clinic .clinic-intro {
    background: var(--surface-strong);
    border-radius: 32px;
    padding: 48px 42px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(148, 163, 184, 0.25);
    height: 100%;
}

.clinic .clinic-intro h3 {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.clinic .clinic-intro h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 24px;
}

.clinic .clinic-intro p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.clinic .clinic-intro ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: grid;
    gap: 14px;
}

.clinic .clinic-intro ul li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 15px;
}

.clinic .clinic-intro ul li i {
    color: var(--accent);
    font-size: 18px;
    width: 28px;
}

.clinic .clinic-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 24px;
}

.clinic .clinic-card {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 26px;
    padding: 34px 28px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-lg);
    transition: transform 0.35s ease, border-color 0.35s ease;
    height: 100%;
}

.clinic .clinic-card h4 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.clinic .clinic-card p {
    color: var(--text-muted);
    margin: 0;
}

.clinic .clinic-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.4);
}

@media (max-width: 991.98px) {
    .clinic {
        padding: 80px 0;
    }

    .clinic .clinic-cards {
        grid-template-columns: 1fr;
    }

    .clinic .clinic-intro {
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .clinic .clinic-intro {
        padding: 36px 28px;
    }
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 90px 0 60px 0;
}

.portfolio::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 50%, rgba(124, 58, 237, 0.2), transparent 55%);
    z-index: -1;
}

.portfolio #portfolio-filter {
    padding: 0;
    margin: 0 0 45px 0;
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--shadow-lg);
}

.portfolio #portfolio-filter li {
    cursor: pointer;
    padding: 10px 22px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 999px;
    transition: 0.35s ease;
    background: transparent;
}

.portfolio #portfolio-filter li:hover,
.portfolio #portfolio-filter li.filter-active {
    color: #ffffff;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.portfolio .portfolio-item {
    position: relative;
    margin-bottom: 30px;
}

.portfolio .portfolio-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.7);
}

.portfolio .portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-img img {
    position: relative;
    width: 100%;
    transition: 0.6s ease;
}

.portfolio .portfolio-item:hover .portfolio-img img {
    transform: scale(1.08) rotate(1deg);
}

.portfolio .portfolio-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 80%);
    opacity: 0;
    transition: 0.4s ease;
    text-align: center;
    padding: 20px;
}

.portfolio .portfolio-item:hover .portfolio-text {
    opacity: 1;
}

.portfolio .portfolio-text h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.portfolio .portfolio-text a.btn {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 500;
}


/*******************************/
/********* Banner CSS **********/
/*******************************/
.banner {
    position: relative;
    width: 100%;
    margin: 120px 0;
    padding: 110px 0;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.45), rgba(124, 58, 237, 0.1)),
        radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.45), rgba(34, 211, 238, 0.1));
    filter: blur(10px);
    opacity: 0.8;
}

.banner .container {
    max-width: 820px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 50px 60px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--shadow-xl);
}

.banner .section-header p {
    background: rgba(34, 211, 238, 0.12);
    color: var(--accent);
}

.banner .section-header h2 span {
    color: var(--secondary);
}

.banner .banner-text p {
    font-size: 18px;
    color: var(--text-secondary);
}

.banner .banner-text .btn {
    margin-top: 25px;
}


/*******************************/
/********* Pricing CSS *********/
/*******************************/
.price {
    position: relative;
    width: 100%;
    padding: 90px 0 60px 0;
}

.price::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.2), transparent 60%);
    z-index: -1;
}

.price .price-item {
    position: relative;
    margin-bottom: 35px;
    padding: 40px 36px 50px 36px;
    text-align: center;
    background: var(--surface-strong);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 163, 184, 0.25);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.price .price-item::before {
    content: "";
    position: absolute;
    inset: -10% -20% auto -20%;
    height: 55%;
    background: linear-gradient(130deg, rgba(124, 58, 237, 0.25), rgba(34, 211, 238, 0.15));
    opacity: 0;
    transition: 0.45s ease;
}

.price .price-item:hover {
    transform: translateY(-14px);
    box-shadow: 0 40px 80px -35px rgba(15, 23, 42, 0.8);
}

.price .price-item:hover::before,
.price .price-item.featured-item::before {
    opacity: 1;
}

.price .price-title h2 {
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.price .price-prices {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin: 18px 0 26px 0;
}

.price .price-prices h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
}

.price .price-prices h2 small,
.price .price-prices h2 span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.price .price-description ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.price .price-description ul li {
    padding: 10px 0;
    color: var(--text-secondary);
}

.price .price-item .price-action .btn {
    width: 100%;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 90px 0 60px 0;
}

.team .team-item {
    position: relative;
    background: var(--surface-strong);
    margin-bottom: 35px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team .team-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px -30px rgba(15, 23, 42, 0.8);
}

.team .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-img img {
    width: 100%;
    transition: 0.6s ease;
}

.team .team-item:hover .team-img img {
    transform: scale(1.08);
}

.team .team-text {
    padding: 30px;
}

.team .team-text h2 {
    color: var(--accent);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.team .team-text h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.team .team-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.team .team-social {
    display: flex;
    gap: 10px;
}

.team .team-social a.btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

@media (max-width: 575.98px) {
    .team .team-text {
        padding: 22px;
    }
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    margin: 110px 0;
    padding: 110px 0;
}

.testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.3), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.25), transparent 60%);
    z-index: -1;
}

.testimonial .container {
    max-width: 860px;
}

.testimonial .testimonial-icon {
    margin-bottom: 35px;
    text-align: center;
}

.testimonial .testimonial-icon i {
    font-size: 52px;
    color: var(--secondary);
    text-shadow: 0 10px 30px rgba(244, 114, 182, 0.4);
}

.testimonial .testimonial-item {
    position: relative;
    margin: 0 15px;
    text-align: center;
    background: var(--surface-strong);
    border-radius: 32px;
    padding: 60px 40px 45px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.testimonial .testimonial-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(124, 58, 237, 0.4);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.65);
}

.testimonial .testimonial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial .testimonial-text {
    text-align: center;
}

.testimonial .testimonial-item p {
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 26px;
}

.testimonial .testimonial-text h3 {
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.testimonial .testimonial-text h4 {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 0;
}

.testimonial .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.3);
    transition: 0.3s ease;
}

.testimonial .owl-dot.active {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.7);
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    margin: 120px 0 0 0;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.3), transparent 65%);
    z-index: -1;
}

.contact .container-fluid {
    background: none;
}

.contact .contact-info {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 32px;
    padding: 48px 42px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.contact .contact-info h3 {
    font-size: 26px;
    margin-bottom: 18px;
}

.contact .contact-info p {
    color: var(--text-muted);
}

.contact .contact-info .info-block {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.contact .contact-info .info-block:last-child {
    border-bottom: none;
}

.contact .contact-info .info-block i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.18);
    color: var(--accent);
    font-size: 18px;
}

.contact .contact-info .info-block h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: var(--text-primary);
}

.contact .contact-form {
    background: var(--surface-strong);
    border-radius: 32px;
    padding: 48px 42px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(148, 163, 184, 0.25);
    height: 100%;
}

.contact .contact-form h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.contact .contact-form p {
    color: var(--text-muted);
}

.contact .contact-form .form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact .contact-form .control-group {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
}

.contact .contact-form input,
.contact .contact-form textarea {
    color: var(--text-primary);
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    margin-top: 12px;
}

.contact .contact-form textarea {
    resize: vertical;
}

.contact .contact-form .btn {
    margin-top: 18px;
    width: auto;
}

.contact .contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact .form-feedback {
    margin-top: 12px;
    font-size: 14px;
    color: var(--accent);
}

@media (max-width: 991.98px) {
    .contact .contact-info,
    .contact .contact-form {
        padding: 40px 32px;
    }
}

@media (max-width: 575.98px) {
    .contact .contact-info,
    .contact .contact-form {
        padding: 32px 24px;
    }

    .contact .contact-form .form-row {
        flex-direction: column;
    }
}


/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 90px 0 60px 0;
}

.blog::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, rgba(124, 58, 237, 0.15), transparent 55%);
    z-index: -1;
}

.blog .blog-item {
    position: relative;
    margin-bottom: 35px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--surface-strong);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog .blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px -30px rgba(15, 23, 42, 0.8);
}

.blog .blog-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 260px;
}

.blog .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.blog .blog-item:hover img {
    transform: scale(1.08);
}

.blog .blog-text {
    padding: 32px;
}

.blog .blog-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.blog .blog-meta i {
    color: var(--accent);
    margin-right: 6px;
}

.blog .blog-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.blog .blog-text p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 90px;
    background: rgba(15, 23, 42, 0.92);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(124, 58, 237, 0.25), transparent 70%);
    z-index: -1;
}

.footer .container-fluid {
    padding: 70px 0 0 0;
}

.footer .footer-info {
    text-align: center;
}

.footer .footer-info h2 {
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer .footer-info h3 {
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.footer .footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.footer .footer-menu p {
    color: var(--text-secondary);
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.footer .footer-social {
    margin-top: 10px;
}

.footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 0 6px;
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-secondary);
    transition: 0.35s ease;
}

.footer .footer-social a:hover {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #ffffff;
    transform: translateY(-4px);
}

.footer .copyright {
    text-align: center;
    margin-top: 45px;
    padding: 26px 0 32px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.footer .copyright p {
    margin: 0;
    color: var(--text-muted);
}

.footer .copyright p a {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .footer .footer-info h2 {
        font-size: 24px;
    }
}
