/* ================= ROOT ================= */
:root {
    --primary: #081f62;
    --accent: #051747;
    --bg-light: #f4f6fb;
    --bg-dark: #0e0e1a;
    --text-light: #222;
    --text-dark: #eaeaf0;
    --glass: rgba(255, 255, 255, .25);
    --radius: 18px;
    --bg-about: #ffffff;
    --bg-skills: #f4f6fb;
    --bg-projects: #eef1ff;
    --bg-services: #e7e9f0;
    --bg-contact: #f5f6fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Segoe UI, Arial
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg-light);
    color: var(--text-light);
    overflow-x: hidden;
    transition: .4s;
}

/* ================= PAGE LOADER ================= */
#pageLoader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loader-circle {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}


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

.nav_container {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    padding: 14px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: 0.3s;
}

/* ================= LOGO ================= */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.logo .title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

/* ================= DESKTOP MENU ================= */
nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    position: relative;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

nav a.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary);
    left: 0;
    bottom: -6px;
    border-radius: 10px;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
     z-index: 3000;
    touch-action: manipulation;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hamburger animation */
.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================= MOBILE MENU ================= */
@media (max-width: 768px) {

    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 180px;
        height: auto;
        flex-direction: column;
        background: var(--glass);
        color: white;
        text-shadow: 0.2px .5px 2px black;
        backdrop-filter: blur(15px);
        padding: 20px 15px;
        border-radius: 20px;
        gap: 20px;
        transition: 0.4s ease;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    /* MENU OPEN */
    nav ul.active {
        right: 15px;
    }

    /* MENU ITEM ANIMATION */
    nav ul li a {
        opacity: 0;
        transform: translateY(15px);
        transition: 0.3s ease;
    }

    nav ul li a.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* SHOW HAMBURGER */
    .hamburger {
        display: flex;
    }
}

/* ================= GLOBAL ================= */
section {
    overflow: hidden;
    padding: 100px 20px
}

.section_title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 45px;
}

#about {
    background: var(--bg-about);
}

.skills_section {
    background: var(--bg-skills);
}

.projects_section {
    background: var(--bg-projects);
}

.services_section {
    background: var(--bg-services);
}

.contact {
    background: var(--bg-contact);
}

/* ================= HERO ================= */
.home_page {
    padding-top: 120px;
}

.home_container {
    min-height: calc((var(--vh) * 100) - 120px);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-around;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 40px;
}

.stylish {
    max-width: 550px
}

.stylish h1 {
    font-size: 3.2rem;
    font-weight: 900
}

.highlight {
    background: linear-gradient(90deg, var(--primary), #1e40ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subline {
    font-size: 1.2rem;
    margin: 25px 0 35px
}

.say_hello_btn {
    padding: 14px 34px;
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.say_hello_btn:hover {
    transform: translateY(-4px)
}

.img_div {
    width: 420px;
    height: 520px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .3);
    animation: floatImg 4s ease-in-out infinite 2s;
}

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

/* Floating image */
@keyframes floatImg {

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

    50% {
        transform: translateY(10px);
    }
}

/* ================================================= */
/* LARGE DESKTOP (Above 1200px) */
/* ================================================= */
@media (min-width: 1200px) {
    .home_container {
        max-width: 1200px;
        margin: auto;
    }
}

/* ================================================= */
/* DESKTOP → TABLET (≤ 1135px) */
/* IMAGE TOP | CONTENT BOTTOM */
/* ================================================= */
@media (max-width: 1135px) {
    .home_container {
        flex-direction: column-reverse;
        /* 🔥 IMAGE TOP */
        text-align: center;
        min-height: auto;
        padding: 40px 35px;
        gap: 35px;
    }

    .stylish {
        max-width: 100%;
    }

    .stylish h1 {
        font-size: 2.6rem;
        line-height: 1.2;
    }

    .subline {
        font-size: 1.1rem;
        margin: 22px 0 30px;
    }

    .img_div {
        width: 360px;
        height: 460px;
    }
}

/* ================================================= */
/* TABLET (≤ 768px) */
/* ================================================= */
@media (max-width: 768px) {
    .home_page {
        padding-top: 100px;
    }

    .home_container {
        padding: 30px 25px;
        border-radius: 22px;
        gap: 30px;
    }

    .stylish h1 {
        font-size: 2.3rem;
    }

    .subline {
        font-size: 1.05rem;
        margin: 20px 0 28px;
    }

    .say_hello_btn {
        padding: 13px 30px;
        font-size: 0.95rem;
    }

    .img_div {
        width: 300px;
        height: 380px;
        animation: none;
        /* mobile performance */
    }
}

/* ================================================= */
/* MOBILE (≤ 480px) */
/* ================================================= */
@media (max-width: 480px) {
    .home_page {
        padding-top: 90px;
    }

    .home_container {
        padding: 22px 18px;
        gap: 22px;
    }

    .stylish h1 {
        font-size: 2rem;
    }

    .subline {
        font-size: 0.95rem;
        margin: 18px 0 24px;
    }

    .say_hello_btn {
        padding: 12px 26px;
        border-radius: 12px;
    }

    .img_div {
        width: 240px;
        height: 320px;
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, .25);
    }
}

/* ================================================= */
/* SMALL MOBILE (≤ 360px) */
/* ================================================= */
@media (max-width: 360px) {
    .stylish h1 {
        font-size: 1.8rem;
    }

    .subline {
        font-size: 0.9rem;
    }

    .img_div {
        width: 210px;
        height: 290px;
    }
}


/* ================= About ================= */

/* =========================
   ABOUT SECTION – BASE
========================= */

#about {
    background-color: rgba(231, 241, 248, 0.608);
    color: #333;
    padding: 60px 10%;
}

#about a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   INTRO SECTION
========================= */

#about .intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* ✅ IMAGE CENTER */
    gap: 30px;
    margin-bottom: 50px;
}

#about .intro img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    /* ✅ IMAGE CENTER */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 4px solid #051747;
}

#about .intro_text {
    flex: 1;
    min-width: 280px;
}

/* =========================
   SKILLS
========================= */

#about .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#about .skill {
    flex: 1 1 200px;
}

#about .skill_name {
    font-weight: 600;
    margin-bottom: 8px;
}

#about .skill_bar {
    height: 10px;
    width: 100%;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

#about .skill_bar_fill {
    height: 100%;
    width: 0;
    background: #051747;
    border-radius: 10px;
    transition: width 1.2s ease;
}

/* =========================
   EDUCATION
========================= */

#about .education_item {
    margin-bottom: 20px;
}

#about .education_item h3 {
    color: #081f62;
    margin-bottom: 5px;
}

#about .education_item p {
    color: #535f80;
}

/* =========================
   ACHIEVEMENTS
========================= */

#about .achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#about .achievement {
    flex: 1 1 200px;
    background: rgba(5, 23, 71, 0.1);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    color: #051747;
    font-weight: 600;
}

/* =========================
   HOBBIES
========================= */

#about .hobbies {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#about .hobby {
    background: rgba(5, 23, 71, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    color: #081f62;
    font-weight: 500;
}

/* =========================
   CTA
========================= */

#about .cta {
    text-align: center;
    margin-top: 30px;
}

#about .cta a {
    display: inline-block;
    padding: 14px 32px;
    background: #051747;
    color: #fff;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

#about .cta a:hover {
    background: #081f62;
    transform: translateY(-3px);
}

/* =========================
   TABLET ≤ 1024px
========================= */

@media (max-width: 1024px) {
    #about .intro_text {
        text-align: center;
        min-width: 100%;
    }
}

/* ===== MOBILE SKILLS SPACE FIX ===== */
@media (max-width: 768px) {

    #about .skills {
        gap: 12px;
        /* 🔹 reduce gap */
        margin-top: 15px;
    }

    #about .skill {
        margin-bottom: 10px;
        /* 🔹 control vertical space */
    }

    #about .skill_name {
        margin-bottom: 6px;
        /* 🔹 text & bar gap reduce */
    }

    #about .skill_bar {
        height: 8px;
        /* 🔹 slim bar looks better */
    }
}


/* ------------skill style------------- */

.skills_section {
    background: #f4f6fb;
    padding: 100px 30px;
    position: relative;
}

.section_title {
    font-size: 34px;
    font-weight: 800;
    color: #081f62;
    margin-bottom: 50px;
}

.center_line {
    position: absolute;
    width: 2px;
    height: 70%;
    background: linear-gradient(to bottom, #333, transparent);
    top: 150px;
}

.skills_content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.skill_item.reverse {
    flex-direction: row-reverse;
    text-align: right;
}

.skill_item_img {
    width: 20%;
    display: flex;
}

.skill_item_img img {
    width: 70px;
    height: 70px;
}

.skill_item_img.right {
    justify-content: flex-end;
}

.skill_item_img.left {
    justify-content: flex-start;
}

.skill_info {
    width: 75%;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.skill_info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

    

/* INITIAL STATE (hidden) */

.fadeUp {
    opacity: 0;
    transform: translateX(220px);
    transition:
        opacity 0.75s ease-out,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reverse.fadeUp {
    transform: translateX(-220px);
}

.fadeUp.show,
.reverse.fadeUp.show {
    opacity: 1;
    transform: translateX(0);
}


/* Mobile */
@media (max-width: 768px) {

    .skill_item,
    .skill_item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .skill_item_img,
    .skill_info {
        width: 100%;
        justify-content: center;
    }

    .center_line {
        display: none;
    }

    .skill_item_img.right {
        justify-content: center;
    }

    .skill_item_img.left {
        justify-content: center;
    }

}

/* ------------Project style-------------  */
.projects_section {
    padding: 100px 6% 60px;
    background: #e1e6f3b0;
}

.section_title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: #081f62;
    margin-bottom: 50px;
}

.projects_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project_card {
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.4s ease;
}

.project_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.project_img {
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 15px;
}

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

.project_card:hover img {
    transform: scale(1.08);
}

.project_card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: #111;
}

.project_card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    background: #081f62;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.btn:hover {
    background: #051747;
}

/* --------------services style---------------  */
.services_section {
    padding: 100px 10% 80px;
    background: #e7e9f0;
}

.section_title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: #051747;
    margin-bottom: 50px;
}

.services_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service_card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
}

/* Hover */
.service_card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.service_card h3 {
    font-size: 1.35rem;
    color: #081f62;
    margin-bottom: 12px;
}

.service_card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .services_section {
        padding: 80px 6% 60px;
    }
}

/* ------------------contect style---------------  */
.contact {
    padding: 100px 8% 80px;
    background: #f5f6fa;
}

.contact_container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact_info_box {
    background: #081f62;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.contact_info_box h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact_info_box p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e0e3ff;
}

.contact_details {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.contact_details li {
    font-size: 15px;
    margin-bottom: 10px;
}

.contact_form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact_form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #081f62;
}

.input_group {
    margin-bottom: 18px;
}

.input_group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #444;
}

.input_group input,
.input_group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #d6d6d6;
    font-size: 15px;
    background: #fafafa;
    transition: 0.3s;
}

.input_group input:focus,
.input_group textarea:focus {
    border-color: #081f62;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 31, 98, 0.15);
}

textarea {
    resize: none;
    height: 140px;
}

button {
    width: 100%;
    padding: 14px;
    background: #081f62;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #051747;
}

/* WhatsApp */
.whatsapp_btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp_btn:hover {
    background: #1da851;
}

/* Mobile */
@media (max-width: 768px) {
    .contact_container {
        grid-template-columns: 1fr;
    }

    .contact_info_box,
    .contact_form {
        padding: 30px;
    }
}

/* ---------------footer style---------------  */
.adv_footer {
    background: linear-gradient(135deg, #0b0b2b, #1a1a44);
    padding: 40px 0 15px;
    margin-top: 60px;
}

.footer_container {
    max-width: 1150px;
    margin: auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer_left h3 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
}

.footer_tagline {
    display: block;
    width: 45px;
    height: 3px;
    background: #8ab4ff;
    margin: 8px 0;
    border-radius: 4px;
}

.footer_left p {
    font-size: 14px;
    color: #b8c0d9;
}

/* Links */
.footer_links a {
    margin: 0 14px;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.footer_links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: #8ab4ff;
    transition: 0.3s;
}

.footer_links a:hover::after {
    width: 100%;
}

/* Icons */
.footer_icons a {
    font-size: 22px;
    color: #ffffff;
    margin: 0 10px;
    transition: 0.3s;
    display: inline-block;
}

.footer_icons a:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}

.footer_icons a.whatsapp {
    color: #25D366;
}

/* Bottom */
.footer_bottom {
    text-align: center;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.footer_bottom p {
    font-size: 14px;
    color: #b8c0d9;
}

/* Responsive */
@media (max-width: 768px) {
    .footer_container {
        flex-direction: column;
        text-align: center;
    }

    .footer_links {
        margin-top: 10px;
    }

    .footer_links a {
        margin: 6px 12px;
    }

    .footer_tagline {
        margin: 8px auto;
    }
}

@media (max-width: 480px) {
    .footer_left h3 {
        font-size: 20px;
    }

    .footer_left p {
        font-size: 12px;
    }

    .footer_icons a {
        font-size: 20px;
        margin: 6px 8px;
    }
}


.card,
.service_card,
.project_card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    margin-bottom: 25px;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: .9s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: none;
}


/* ================= THEME TOGGLE ================= */
.theme-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
}


/* ========================= DARK MODE ========================= */

/* Body & Global */
body.dark {
    background: var(--bg-dark);
    color: var(--text-dark);
}

/* Navbar */
body.dark .nav_container {
    background: #12122a;
}

body.dark nav a {
    color: #ddd;
}

body.dark nav a.active {
    color: var(--primary);
}

body.dark .hamburger div {
    background: #ddd;
}

/* Hero Section */
body.dark .home_container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

body.dark .stylish h1,
body.dark .subline {
    color: var(--text-dark);
}

body.dark .say_hello_btn {
    background: var(--primary);
}

/* About Section */
body.dark #about {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-dark);
}

body.dark #about .intro img {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

body.dark #about .skill_bar {
    background: rgba(255, 255, 255, 0.15);
}

body.dark #about .skill_bar_fill {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

body.dark #about .achievement,
body.dark #about .hobby {
    background: rgba(79, 108, 255, 0.18);
    color: var(--text-dark);
}

body.dark #about .cta a {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Skills Section */
body.dark .skills_section {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
}

body.dark .section_title {
    color: var(--text-dark);
}

body.dark .center_line {
    background: linear-gradient(to bottom, var(--text-dark), transparent);
}

body.dark .skill_info {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark .skill_info h3 {
    color: var(--text-dark);
}

body.dark .skill_item_img img {
    filter: brightness(1.2);
    transition: filter 0.3s ease;
}

body.dark .skill_item_img img:hover {
    filter: brightness(1.5);
}

/* Projects Section */
body.dark .projects_section {
    background: rgba(255, 255, 255, 0.068);
}

body.dark .project_card {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dark);
}

body.dark .project_card h3 {
    color: var(--text-dark);
}

body.dark .project_card p {
    color: #ccc;
}

body.dark .btn {
    background: var(--primary);
}

/* Services Section */
body.dark .services_section {
    background: rgba(183, 183, 183, 0.05);
}

body.dark .service_card {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dark);
}

body.dark .service_card h3 {
    color: var(--text-dark);
}

body.dark .service_card p {
    color: #ccc;
}

/* Contact Section */
body.dark .contact {
    background: rgba(68, 68, 68, 0.047);
}

body.dark .contact_info_box {
    background: rgba(8, 31, 98, 0.8);
    color: #fff;
}

body.dark .contact_form {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dark);
}

body.dark .input_group label {
    color: #ccc;
}

body.dark .input_group input,
body.dark .input_group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
}

body.dark .input_group input:focus,
body.dark .input_group textarea:focus {
    border-color: var(--primary);
}

/* Footer */
body.dark .adv_footer {
    background: linear-gradient(135deg, #0b0b2b, #1a1a44);
}

body.dark .footer_left h3,
body.dark .footer_links a,
body.dark .footer_bottom p,
body.dark .footer_left p {
    color: #ddd;
}

body.dark .footer_icons a {
    color: #ddd;
}

body.dark .footer_icons a.whatsapp {
    color: #25D366;
}

/* Cards & Glass Elements */
body.dark .card,
body.dark .service_card,
body.dark .project_card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--text-dark);
}

/* Scroll reveal elements */
body.dark .scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: .9s ease;
}

body.dark .scroll-reveal.active {
    opacity: 1;
    transform: none;
}