/* ==========================================
   Mouad.Dev Portfolio
   Main Style
========================================== */

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

img{
    max-width:100%;
    height:auto;
}

html, body{
    max-width:100%;
    overflow-x:hidden;
}

:root {
    --bg-primary: #0a192f;
    --bg-secondary: #112240;
    --bg-card: #112240;
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --accent-hover: #00b8a9;
    --border: #1d3557;
    --shadow: rgba(0, 0, 0, 0.4);

    --bg: var(--bg-primary);
    --card: var(--bg-card);
    --text: var(--text-primary);
    --primary: var(--accent);
    --secondary: var(--accent-hover);
    --purple: #7C3AED;
}

[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0a192f;
    --text-secondary: #495670;
    --accent: #00b8a9;
    --accent-hover: #008f82;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.08);

    --bg: var(--bg-primary);
    --card: var(--bg-card);
    --text: var(--text-primary);
    --primary: var(--accent);
    --secondary: var(--accent-hover);
    --purple: #7C3AED;
}

[data-theme="light"] body::before,
[data-theme="light"] body::after {
    opacity: 0.35;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==========================================
   Theme & Language Switchers
========================================== */
.theme-toggle,
.lang-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    padding: 0;
    transition: transform 0.2s, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.theme-toggle:hover,
.lang-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent);
}

.theme-toggle i {
    font-size: 16px;
    pointer-events: none;
}

.lang-toggle span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* ==========================================
   RTL Support (Arabic)
========================================== */
[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero {
    direction: rtl;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .timeline-item.left {
    text-align: right;
}

[dir="rtl"] .timeline-item.right {
    text-align: right;
}

[dir="rtl"] .contact-card {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] #contact-form {
    text-align: right;
}

/* ==========================================
   Loading Screen
========================================== */
#loader {
    position: fixed;
    inset: 0;
    background: #0a192f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}
#loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-logo {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.loader-logo span {
    color: #64ffda;
}
.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(100, 255, 218, 0.15);
    border-radius: 3px;
    overflow: hidden;
}
.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #64ffda, #00b8a9);
    animation: loadFill 1.2s ease forwards;
}
@keyframes loadFill {
    to { width: 100%; }
}

[data-theme="light"] #loader {
    background: #f8f9fa;
}
[data-theme="light"] .loader-logo {
    color: #0a192f;
}

/* Scrollbar */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{
    background:var(--bg-primary);
}

::-webkit-scrollbar-thumb{

    background:linear-gradient(var(--primary),var(--secondary));
    border-radius:50px;

}

/* Background */

#particles-js{

    position:fixed;

    width:100%;
    height:100%;

    top:0;
    left:0;

    z-index:-2;

}

/* Gradient */

body::before{

    content:"";

    position:fixed;

    width:700px;
    height:700px;
    max-width:100vw;
    max-height:100vh;
    pointer-events:none;

    background:radial-gradient(circle,
    rgba(0,212,255,.20),
    transparent 70%);

    top:-250px;
    left:-250px;

    filter:blur(100px);

    z-index:-1;

}

body::after{

    content:"";

    position:fixed;

    width:700px;
    height:700px;
    max-width:100vw;
    max-height:100vh;
    pointer-events:none;

    background:radial-gradient(circle,
    rgba(124,58,237,.18),
    transparent 70%);

    right:-250px;
    bottom:-250px;

    filter:blur(120px);

    z-index:-1;

}

/* Navbar */

header{

    position:fixed;

    width:100%;

    top:0;

    z-index:999;

}

.navbar{

    width:90%;

    margin:auto;

    height:85px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    backdrop-filter:blur(20px);

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:18px;

    margin-top:20px;

    padding:0 30px;

}

.logo{
    color:var(--text-primary);

    font-size:30px;

    font-weight:700;

    text-decoration:none;

}

.logo span{

    color:var(--primary);

}

.nav-links{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-links a{

    text-decoration:none;

    color:var(--text-primary);

    transition:.35s;

}

.nav-links a:hover{

    color:var(--primary);

}

.menu-btn{

    display:none;

    font-size:26px;

    cursor:pointer;

}

/* Hero */

#home{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:40px 8% 60px;
}

.hero-content{

    max-width:900px;

}

.hero-content h1{

    margin-top:40px;

    font-size:65px;

    font-weight:700;

}

.hero-content h1 span{

    color:var(--primary);

}

.hero-content h2{

    margin-top:15px;

    color:var(--secondary);

    font-size:28px;

    font-weight:500;

}

.hero-content p{

    margin-top:25px;

    color:var(--text-secondary);

    line-height:1.8;

    font-size:18px;

}

.hero-buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    padding:16px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.4s;

}

.btn-primary{
    background:var(--primary);
    color:#0a192f;
}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 0 25px var(--primary);

}

.btn-outline{

    border:2px solid var(--primary);

    color:var(--text-primary);

}

.btn-outline:hover{

    background:var(--primary);

    color:black;

}

/* Section */

section{

    padding:120px 8%;

}

/* Animation */

@keyframes pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.05);

    }

    100%{

        transform:scale(1);

    }

}
#particles-js{
    position: fixed;
    inset: 0;
    z-index: -2;
}

/* body background controlled by variables */
/*==========================
      NAVBAR V2
===========================*/

header{

    position:fixed;

    top:20px;

    left:0;

    width:100%;

    display:flex;

    justify-content:center;

    z-index:9999;

}

.navbar{

    width:min(1200px,92%);

    height:75px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 35px;

    border-radius:18px;

    background:var(--bg-card);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    transition:.4s;

}

.navbar:hover{

    border-color:var(--accent);

    box-shadow:0 0 30px rgba(0,212,255,.15);

}

.logo{

    text-decoration:none;

    font-size:28px;

    font-weight:700;

}

.logo-text{

    color:var(--text-primary);

}

.logo-dot{

    color:var(--accent);

}

.logo-dev{

    color:var(--accent-hover);

}

.nav-links{

    display:flex;

    gap:35px;

    list-style:none;

}

.nav-links a{
    color:var(--text-primary);

    text-decoration:none;

    font-size:15px;

    position:relative;

    transition:.3s;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--accent);

    transition:.3s;

}

.nav-links a:hover{

    color:var(--accent);

}

.nav-links a:hover::after{

    width:100%;

}

.active{

    color:var(--accent) !important;

}

.active::after{

    width:100% !important;

}

.nav-actions{

    display:flex;

    align-items:center;

    gap:18px;

}

.hire-btn{

    padding:12px 24px;

    border-radius:50px;

    text-decoration:none;

    background:linear-gradient(135deg,var(--accent),var(--accent-hover));

    color:#0a192f;

    font-weight:600;

    transition:.35s;

}

.hire-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 0 25px var(--accent);

}

.menu-btn{

    display:none;

    color:var(--text-primary);

    font-size:24px;

    cursor:pointer;

}
/*==========================
        HERO
===========================*/

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:80px;

    padding-top:120px;

}

.hero-left{

    flex:1;

}

.hero-right{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-top{

    color:var(--accent-hover);

    margin-bottom:20px;

    letter-spacing:2px;

}

.hero h1{

    font-size:68px;

    line-height:1.2;

    margin-bottom:15px;

}

.hero h1 span{

    color:var(--accent);

}

.hero h2{

    color:var(--text-primary);

    font-size:34px;

    height:50px;

}

.hero-description{

    margin-top:25px;

    max-width:620px;

    color:var(--text-secondary);

    line-height:1.9;

}

.hero-right{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

}

@keyframes rotateCircle{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}
/*==========================
        ABOUT
===========================*/

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--accent-hover);

    letter-spacing:3px;

    font-size:14px;

}

.section-title h2{

    margin-top:15px;

    font-size:48px;

}

.about-container{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:40px;

}

.about-card{

    background:var(--bg-card);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    border-radius:20px;

    padding:40px;

}

.about-card h3{

    font-size:30px;

    margin-bottom:20px;

    color:var(--accent);

}

.about-card p{

    color:var(--text-secondary);

    line-height:2;

}

.about-stats{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.stat-box{

    background:var(--bg-card);

    backdrop-filter:blur(20px);

    border-radius:18px;

    border:1px solid var(--border);

    text-align:center;

    padding:35px;

    transition:.4s;

}

.stat-box:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

    box-shadow:0 0 25px rgba(0,212,255,.3);

}

.stat-box h2{

    color:var(--accent);

    font-size:42px;

}

.stat-box p{

    margin-top:12px;

    color:var(--text-secondary);

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

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    background:var(--bg-card);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    border-radius:20px;

    padding:40px 30px;

    text-align:center;

    transition:.4s;

}

.service-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent);

    box-shadow:0 0 35px rgba(0,212,255,.30);

}

.service-card i{

    font-size:48px;

    color:var(--accent);

    margin-bottom:25px;

}

.service-card h3{

    margin-bottom:18px;

    font-size:24px;

}

.service-card p{

    color:var(--text-secondary);

    line-height:1.8;

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

.skills-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.skill-card{

    background:var(--bg-card);

    backdrop-filter:blur(20px);

    border:1px solid var(--border);

    border-radius:20px;

    padding:35px;

    text-align:center;

    transition:.4s;

    cursor:pointer;

}

.skill-card:hover{

    transform:perspective(1000px) rotateX(8deg) rotateY(-8deg) scale(1.05);

    border-color:var(--accent);

    box-shadow:
        0 0 20px rgba(0,212,255,.25),
        0 0 40px rgba(0,212,255,.15);

}

.skill-card i{

    font-size:55px;

    color:var(--accent);

    margin-bottom:20px;

}

.skill-card h3{

    font-size:24px;

    margin-bottom:12px;

}

.skill-card p{

    color:#FFD700;

    font-size:20px;

    letter-spacing:2px;

}
/*==========================
        PROJECTS
===========================*/

.projects-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:35px;

}

.project-card{

    overflow:hidden;

    border-radius:22px;

    background:var(--bg-card);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    transition:.4s;

}

.project-card:hover{

    transform:translateY(-12px);

    border-color:var(--accent);

    box-shadow:0 0 30px rgba(0,212,255,.30);

}

.project-image{

    height:230px;

    overflow:hidden;

}

.project-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.1);

}

.project-content{

    padding:25px;

}

.project-content h3{

    font-size:26px;

    margin-bottom:15px;

}

.project-content p{

    color:var(--text-secondary);

    line-height:1.8;

}

.project-tech{

    margin:20px 0;

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.project-tech span{

    padding:8px 15px;

    border-radius:50px;

    background:var(--accent)20;

    color:var(--accent);

    font-size:13px;

}

.project-buttons{

    display:flex;

    gap:15px;

}
/*==========================
        TIMELINE
===========================*/

.timeline{

    position:relative;

    max-width:1000px;

    margin:auto;

    padding:50px 0;

}

.timeline::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    width:4px;

    height:100%;

    background:linear-gradient(var(--accent),var(--accent-hover));

    transform:translateX(-50%);

}

.timeline-item{

    width:50%;

    position:relative;

    padding:25px 40px;

}

.timeline-item.left{

    left:0;

}

.timeline-item.right{

    left:50%;

}

.timeline-content{

    background:var(--bg-card);

    border:1px solid var(--border);

    backdrop-filter:blur(18px);

    border-radius:18px;

    padding:30px;

    transition:.4s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

    box-shadow:0 0 30px rgba(0,212,255,.25);

}

.timeline-content span{

    color:var(--accent-hover);

    font-weight:600;

}

.timeline-content h3{

    margin:15px 0;

}

.timeline-item::after{

    content:"";

    position:absolute;

    top:45px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:var(--accent);

    box-shadow:0 0 20px var(--accent);

}

.timeline-item.left::after{

    right:-9px;

}

.timeline-item.right::after{

    left:-9px;

}
/*==========================
      TESTIMONIALS
===========================*/

.testimonials-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;

}

.testimonial-card{

    background:var(--bg-card);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    border-radius:20px;

    text-align:center;

    padding:35px;

    transition:.4s;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent);

    box-shadow:0 0 30px rgba(0,212,255,.25);

}

.testimonial-card img{

    width:90px;
    height:90px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid var(--accent);

    margin-bottom:20px;

}

.testimonial-card h3{

    margin-bottom:10px;

}

.stars{

    color:#FFD700;

    margin-bottom:15px;

    font-size:20px;

}

.testimonial-card p{

    color:var(--text-secondary);

    line-height:1.8;

}
/*==========================
        CONTACT
===========================*/

.contact-container{

display:grid;

grid-template-columns:350px 1fr;

gap:40px;

align-items:start;

}

.contact-info{

display:flex;

flex-direction:column;

gap:20px;

}

.contact-card{

display:flex;

gap:20px;

align-items:center;

padding:25px;

background:var(--bg-card);

border:1px solid var(--border);

border-radius:18px;

backdrop-filter:blur(18px);

transition:.35s;

}

.contact-card:hover{

border-color:var(--accent);

transform:translateY(-5px);

box-shadow:0 0 25px rgba(0,212,255,.25);

}

.contact-card i{

font-size:30px;

color:var(--accent);

}

#contact-form{

display:flex;

flex-direction:column;

gap:18px;

background:var(--bg-card);

padding:35px;

border-radius:20px;

border:1px solid var(--border);

backdrop-filter:blur(18px);

}

#contact-form input,
#contact-form textarea{

background:var(--bg-card);

border:1px solid var(--border);

padding:16px;

border-radius:12px;

color:var(--text-primary);

font-size:16px;

outline:none;

}

#contact-form textarea{

resize:none;

}

#contact-form input:focus,
#contact-form textarea:focus{

border-color:var(--accent);

}

#status{

margin-top:10px;

font-weight:600;

}
button:disabled{

opacity:.7;

cursor:not-allowed;

}
.social-links{

display:flex;

gap:18px;

margin-top:35px;

flex-wrap:wrap;

}

.social-links a{

width:58px;

height:58px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:24px;

transition:.35s;

background:var(--bg-card);

border:1px solid var(--border);

backdrop-filter:blur(15px);

}

.social-links a:hover{

transform:translateY(-8px) scale(1.12);

}

/* Colors */

.github i{color:var(--text-primary);}

.instagram i{color:#E1306C;}

.youtube i{color:#FF0000;}

.tiktok i{color:#00F2EA;}

.telegram i{color:#229ED9;}

.whatsapp i{color:#25D366;}

.email i{color:var(--accent);}
.hero-right{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}

.js i{

    color:#F7DF1E;

    font-size:26px;

}.css i{

    color:#1572B6;

    font-size:28px;

}.html i{

    color:#E34F26;

    font-size:28px;

}
.flutter img{

    width:24px;

}.firebase img{

    width:24px;

}
.hero-circle{
    position:relative;
    width:min(420px, 90vw);
    height:min(420px, 90vw);
    max-width:100%;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* Remove any pseudo-element overlay covering the logo */
.hero-circle::before{
    display:none !important;
}

.hero-ring{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border-radius:50%;
    border:2.5px solid var(--accent);
    box-shadow:
        0 0 20px rgba(0,212,255,.5),
        0 0 50px rgba(0,212,255,.25),
        inset 0 0 20px rgba(0,212,255,.3);
    z-index:1;
    pointer-events:none;
}

.hero-logo{
    position:relative;
    width:75%;
    height:75%;
    z-index:10;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:visible;
    border-radius:0;
    box-shadow:none;
    background:transparent;
}

.hero-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    filter:drop-shadow(0 0 20px rgba(0,212,255,.6)) drop-shadow(0 4px 12px rgba(0,0,0,.8));
}

/* 5 Badges evenly distributed in 72° circular orbit layout */
.tech{
    position:absolute;
    padding:10px 18px;
    border-radius:50px;
    background:var(--bg-secondary);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border:1px solid rgba(0,212,255,.3);
    font-size:14px;
    font-weight:600;
    color:var(--text-primary);
    display:inline-flex;
    align-items:center;
    gap:8px;
    box-shadow:0 8px 24px rgba(0,0,0,.4), 0 0 12px rgba(0,212,255,.2);
    z-index:5;
    white-space:nowrap;
    transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.tech:hover{
    transform:scale(1.08);
    border-color:var(--accent);
    box-shadow:0 10px 30px rgba(0,212,255,.4);
}

/* 1. HTML5 (Top - 0°) */
.tech.html{
    top:-22px;
    left:50%;
    transform:translateX(-50%);
}
.tech.html:hover{
    transform:translateX(-50%) scale(1.08);
}

/* 2. CSS3 (Top-Right - 72°) */
.tech.css{
    top:18%;
    right:-25px;
}

/* 3. JavaScript (Bottom-Right - 144°) - well clear of M logo and text */
.tech.js{
    bottom:12%;
    right:-20px;
}

/* 4. Flutter (Bottom-Left - 216°) */
.tech.flutter{
    bottom:12%;
    left:-20px;
}

/* 5. Firebase (Top-Left - 288°) */
.tech.firebase{
    top:18%;
    left:-25px;
}
/*======================================
            PROJECTS
======================================*/

.projects{

    padding:100px 8%;

    background:transparent;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--primary);

    font-size:18px;

    font-weight:600;

    letter-spacing:2px;

}

.section-title h2{
    color:var(--text-primary);

    font-size:48px;

    margin:15px 0;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:var(--text-secondary);

    line-height:1.8;

}

/* Grid */

.projects-grid{

    display:grid;

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

    gap:35px;

}

/* Card */

.project-card{

    background:var(--bg-card);

    border:1px solid var(--border);

    backdrop-filter:blur(20px);

    border-radius:22px;

    overflow:hidden;

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.project-card:hover{

    transform:translateY(-12px);

    border-color:var(--accent);

    box-shadow:
    0 0 25px rgba(0,212,255,.35),
    0 25px 50px rgba(0,0,0,.4);

}

/* Image */

.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

/* Content */

.project-card h3{
    color:var(--text-primary);

    font-size:24px;

    margin:25px 25px 10px;

}

.project-card p{

    color:var(--text-secondary);

    line-height:1.8;

    margin:0 25px 20px;

}

/* Tech */

.project-tech{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin:0 25px 25px;

}

.project-tech span{

    padding:8px 16px;

    border-radius:30px;

    background:var(--bg-secondary);

    color:var(--accent);

    border:1px solid rgba(0,212,255,.3);

    font-size:14px;

}

/* Buttons */

.project-links{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    padding:0 25px 30px;

}

.project-links a{

    flex:1;

    text-align:center;

    text-decoration:none;

    padding:14px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.project-links a:first-child{

    background:var(--accent);

    color:#0a192f;

}

.project-links a:last-child{

    background:transparent;

    border:2px solid var(--accent);

    color:var(--accent);

}

.project-links a:only-child{

    background:var(--accent);

    color:#0a192f;

    border:none;

}

.project-links a:hover{

    transform:translateY(-3px);

}

/* App Cards & Play Store Button */
.project-card.app .project-image{
    height:220px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:radial-gradient(circle at center, rgba(0,212,255,.15) 0%, rgba(8,17,31,.95) 75%);
    padding:20px;
    overflow:hidden;
}

.project-card.app .project-image img.app-icon{
    width:130px;
    height:130px;
    max-width:130px;
    max-height:130px;
    object-fit:cover;
    border-radius:26px;
    box-shadow:0 10px 25px rgba(0,0,0,.5), 0 0 25px rgba(0,212,255,.3);
    border:1px solid rgba(255,255,255,.12);
    transition:transform .4s ease, box-shadow .4s ease;
}

.project-card.app:hover .project-image img.app-icon{
    transform:scale(1.08);
    box-shadow:0 15px 35px rgba(0,0,0,.6), 0 0 35px rgba(0,212,255,.5);
}

.project-links a.playstore-btn,
.project-links .playstore-btn{
    background:linear-gradient(135deg, var(--accent) 0%, #0099ff 100%) !important;
    color:#0a192f !important;
    font-weight:700 !important;
    display:inline-flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:8px !important;
    box-shadow:0 4px 15px rgba(0,212,255,.3) !important;
    border:none !important;
}

.project-links a.playstore-btn:hover,
.project-links .playstore-btn:hover{
    background:linear-gradient(135deg, #38e1ff 0%, #00b4ff 100%) !important;
    box-shadow:0 6px 25px rgba(0,212,255,.55) !important;
    transform:translateY(-2px) !important;
    color:#0a192f !important;
}

/* View All */

.all-projects-btn{

    margin-top:70px;

    text-align:center;

}

.all-projects-btn a{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 40px;

    background:linear-gradient(135deg,var(--accent),#7C3AED);

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.4s;

    box-shadow:0 10px 30px rgba(0,212,255,.3);

}

.all-projects-btn a:hover{

    transform:translateY(-6px);

    box-shadow:
    0 0 25px var(--accent),
    0 0 50px rgba(124,58,237,.5);

}













/* ===========================
      MOBILE RESPONSIVE
=========================== */

@media (max-width:768px){

/* Navbar handled in responsive.css */

/* Hero */

.hero{
    flex-direction:column;
    text-align:center;
    gap:50px;
}

.hero-left,
.hero-right{
    width:100%;
}

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

.hero h2{
    font-size:24px;
}

.hero-description{
    max-width:100%;
}

.hero-buttons{
    justify-content:center;
    flex-wrap:wrap;
}

.social-links{
    justify-content:center;
}

/* Hero Mobile */
.hero-circle::before{
    display:none !important;
}

.hero-circle{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:10px;
    position:relative;
    width:100%;
    max-width:360px;
    height:auto;
    border-radius:0;
    margin:0 auto;
    padding-top:250px;
    overflow:visible;
}

.hero-ring{
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:220px;
    height:220px;
    border-radius:50%;
    border:2.5px solid var(--accent);
    box-shadow:0 0 20px rgba(0,212,255,.4), inset 0 0 15px rgba(0,212,255,.2);
    z-index:1;
    pointer-events:none;
}

.hero-logo{
    position:absolute;
    top:10px;
    left:50%;
    transform:translateX(-50%);
    width:200px;
    height:200px;
    border-radius:0;
    overflow:visible;
    box-shadow:none;
    background:transparent;
    z-index:10;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    filter:drop-shadow(0 0 18px rgba(0,212,255,.5)) drop-shadow(0 4px 10px rgba(0,0,0,.8));
}

.tech{
    position:static !important;
    transform:none !important;
    font-size:12px;
    padding:8px 14px;
    border-radius:20px;
    background:var(--bg-secondary);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border:1px solid rgba(0,212,255,.25);
    color:var(--text-primary);
    display:inline-flex;
    align-items:center;
    gap:6px;
    z-index:2;
    margin:0;
    box-shadow:0 4px 12px rgba(0,0,0,.3);
}

.tech i, .tech img{
    font-size:15px;
    width:15px;
    height:15px;
}

.tech.html,
.tech.css,
.tech.js,
.tech.firebase,
.tech.flutter{
    top:auto;
    bottom:auto;
    left:auto;
    right:auto;
    transform:none;
}

/* About */

.about-container{
    grid-template-columns:1fr;
}

.about-stats{
    grid-template-columns:1fr 1fr;
}

/* Services */

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

/* Skills */

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

/* Projects */

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

/* Timeline */

.timeline::before{
    left:25px;
}

.timeline-item{
    width:100%;
    left:0 !important;
    padding-left:60px;
    padding-right:10px;
}

.timeline-item::after{
    left:17px !important;
}

/* Contact */

.contact-container{
    grid-template-columns:1fr;
}

/* Footer */

.footer-social{
    flex-wrap:wrap;
    justify-content:center;
}

img{
    max-width:100%;
    height:auto;
}

}