/* --- 🌈 PRO GLOBAL STYLES 🌈 --- */
:root {
    --bg-gradient: linear-gradient(135deg, #181f41 0%, #283e51 100%);
    --glass-bg: rgba(40, 54, 85, 0.68);
    --primary-color: #20233a;
    --secondary-color: #2e3756;
    --accent-color: #16e0bd;
    --accent-color-2: #7f53ac;
    --accent-color-3: #1fa2ff;
    --text-color: #f5f6fa;
    --text-secondary: #b3b8c3;
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.22);
    --border-glass: 1.5px solid rgba(127,83,172,0.15);
    --radius: 18px;
    --transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: none;
    min-height: 100vh;
}

/* --- 🌈 CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(40, 54, 85, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    border-radius: 10px;
    border: 2px solid rgba(40, 54, 85, 0.3);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color-2), var(--accent-color-3));
    box-shadow: 0 0 10px rgba(31, 224, 189, 0.5);
}

::-webkit-scrollbar-corner {
    background: rgba(40, 54, 85, 0.3);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(40, 54, 85, 0.3);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; border-bottom: none; position: relative; z-index: 1; }
.section-title { text-align: center; font-size: 4rem; margin-bottom: 50px; font-weight: 700; letter-spacing: 1px; background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2), var(--accent-color-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-title span { color: var(--accent-color-2); }

/* --- 🌈 GLASSMORPHISM PANELS --- */
.glass {
    background: var(--glass-bg);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --- 🌈 CUSTOM CURSOR STYLES --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    box-shadow: 0 0 8px var(--accent-color-2), 0 0 16px var(--accent-color);
    transition: all 0.1s ease-out;
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color-2);
    background: rgba(255,255,255,0.05);
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(2px);
}

/* --- 🌈 PARTICLE BACKGROUND --- */
#tsparticles { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; }

/* --- 🌈 FADE-IN ANIMATION --- */
.fade-in { opacity: 0; transform: translateY(30px) scale(0.96); transition: opacity 0.7s cubic-bezier(.25,.8,.25,1), transform 0.7s cubic-bezier(.25,.8,.25,1); }
.fade-in.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* --- 🌈 NAVIGATION --- */
nav { position: fixed; width: 100%; top: 0; left: 0; background: linear-gradient(90deg, #1e1e1e 70%, var(--accent-color-2) 100%); backdrop-filter: blur(12px); z-index: 1000; padding: 18px 0; box-shadow: 0 2px 16px rgba(0,0,0,0.08); border-bottom: 1.5px solid var(--accent-color-2); }
nav .container { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 60px; padding-left: 20px; }
nav .logo { font-size: 2.2rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: 2px; text-shadow: 0 2px 8px var(--accent-color-2); display: flex; align-items: center; margin-left: -20px; }
.site-logo {
    max-height: 110px;
    max-width: 110px;
    width: auto;
    margin-right: 16px;
    vertical-align: middle;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(31, 224, 189, 0.07);
    background: #fff0;
}
nav .logo .at-glow {
    color: #16e0bd;
    text-shadow: 0 0 8px #16e0bd, 0 0 18px #1fa2ff;
    animation: at-glow-pulse 1.6s infinite alternate;
    font-weight: 900;
    letter-spacing: 0.5px;
}
@keyframes at-glow-pulse {
    0% { text-shadow: 0 0 6px #16e0bd, 0 0 18px #1fa2ff; opacity: 0.7; }
    50% { text-shadow: 0 0 18px #16e0bd, 0 0 32px #1fa2ff; opacity: 1; }
    100% { text-shadow: 0 0 6px #16e0bd, 0 0 18px #1fa2ff; opacity: 0.7; }
}
.logo span { color: var(--accent-color-2); }
nav ul { list-style: none; display: flex; gap: 28px; transition: none; opacity: 1; pointer-events: auto; position: static; flex-direction: row; background: none; box-shadow: none; flex: 1; justify-content: center; margin-left: 40px; }
.icon {
  display: none;
}
.menu-toggle { display: none; }

@media (max-width: 700px) {
    nav .container {
        flex-wrap: wrap;
        padding: 0 1rem;
        justify-content: center;
        position: relative;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #232d47 0%, #1a2332 100%);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        border-radius: 0 0 15px 15px;
        z-index: 1001;
        gap: 0;
        padding: 0;
    }
    
    nav ul.show-menu {
        max-height: 600px;
        opacity: 1;
        padding: 1rem 0;
    }
    
    nav ul.show-menu::before {
        content: '';
        display: block;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul.show-menu::after {
        content: 'Muhammad Gaweesh';
        display: block;
        text-align: center;
        color: var(--accent-color-2);
        font-size: 1.2rem;
        font-weight: 600;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
      display: block;
        padding: 1rem 1.5rem;
        color: #fff;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s ease;
        border-radius: 0;
        text-align: center;
        width: 100%;
    }
    
    nav ul li a:hover,
    nav ul li a.active {
        background: linear-gradient(135deg, rgba(31,224,189,0.2), rgba(31,224,189,0.1));
        color: var(--accent-color-2);
        transform: translateX(5px);
        box-shadow: inset 0 0 20px rgba(31,224,189,0.1);
    }
    
    .menu-toggle {
      display: block;
      background: none;
      border: none;
        font-size: 2.1rem;
        color: #16e0bd;
      cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
      padding: 8px 12px;
      transition: background 0.2s;
        border-radius: 8px;
    }
    
    .menu-toggle:active, .menu-toggle:focus {
      background: rgba(31,224,189,0.08);
      outline: none;
    }
}

nav ul li a { color: #fff; text-decoration: none; font-weight: 500; transition: color 0.3s, font-weight 0.3s, letter-spacing 0.2s; padding: 7px 12px; border-radius: 8px; font-size: 1.3rem; }
nav ul li a:hover, nav ul li a.active { color: var(--accent-color-2); background: rgba(255,255,255,0.10); font-weight: 700; letter-spacing: 1.5px; box-shadow: 0 2px 10px var(--accent-color-2); }

/* --- 🌈 HERO SECTION --- */
#hero { min-height: 100vh; display: flex; align-items: center; text-align: center; justify-content: center; }
#hero .container { max-width: 900px; position:relative; overflow:hidden; }

.terminal-code {
    font-family: 'Fira Mono', 'Consolas', monospace;
    background: #111d2b;
    color: #16e0bd;
    padding: 22px 28px 18px 28px;
    font-size: 1.05rem;
    margin-bottom: 18px;
    box-shadow: 0 0 24px 0 #16e0bd44;
    border-left: 4px solid #1fa2ff;
    border-radius: 0;
    white-space: pre;
    line-height: 1.6;
    text-shadow: 0 0 6px #16e0bd, 0 0 2px #fff;
    position: relative;
    z-index: 1;
    overflow-x: auto;
}
.terminal-code .token-keyword, .terminal-code .token-function { color: #1fa2ff; }
.terminal-code .token-string { color: #7f53ac; }
.terminal-code .token-comment { color: #2e3756; font-style: italic; }

/* --- 🟩 BINARY MATRIX EFFECT --- */



/* --- Fix mobile navbar toggle --- */
@media (max-width: 700px) {
  #myLinks {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  #myLinks.show {
    max-height: 400px;
  }
}
@media (min-width: 701px) {
  #myLinks {
    max-height: none;
    overflow: visible;
  }
}

.binary-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    background: transparent;
    font-family: 'Fira Mono', 'Consolas', monospace;
    animation: binary-move 8s linear infinite;
}

@keyframes binary-move {
    0% { background-position-y: 0; }
    100% { background-position-y: 1000px; }
}

.binary-bg::before {
    content: '01000100011100100100000001000111011000010111011101100101011001010111001101101000';
    white-space: pre;
    color: #16e0bd;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    line-height: 1.2;
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    opacity: 0.85;
    animation: binary-scroll 5.8s linear infinite;
    user-select: none;
    filter: blur(0.2px);
}
@keyframes binary-scroll {
    0% { transform: translateY(0%); }
    100% { transform: translateY(100%); }
}

@keyframes binary-scroll {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(50%); }
}

.terminal-heading {
    font-size: 3.2rem;
    font-family: 'Fira Mono', 'Consolas', monospace;
    color: #16e0bd;
    text-shadow: 0 0 8px #16e0bd, 0 0 2px #fff, 0 0 18px #1fa2ff;
    background: none;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
}
.terminal-heading span { color: #7f53ac; text-shadow: 0 0 8px #7f53ac, 0 0 2px #fff; }
.terminal-sub {
    font-size: 1.25rem;
    font-family: 'Fira Mono', 'Consolas', monospace;
    background: linear-gradient(90deg, #1fa2ff 0%, #16e0bd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 12px #232d47cc;
    margin-bottom: 16px;
    font-weight: 400;
}
.terminal-desc {
    font-size: 1.05rem;
    font-family: 'Fira Mono', 'Consolas', monospace;
    color: #b3b8c3;
    background: none;
    margin-bottom: 30px;
    text-shadow: 0 0 2px #1fa2ff;
}
.terminal-cursor {
    display: inline-block;
    color: #16e0bd;
    background: transparent;
    animation: blink 1s steps(1) infinite;
    font-size: 1em;
    margin-left: 2px;
    vertical-align: middle;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

#hero h1 { font-size: 5rem; font-weight: 900; margin-bottom: 12px; letter-spacing: 1px; background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent; }
#hero h1 span { color: var(--accent-color-2); }
#hero h2 { font-size: 3rem; font-weight: 600; color: var(--accent-color-2); margin-bottom: 22px; }
#hero p { font-size: 1.8rem; color: var(--text-secondary); margin-bottom: 34px; }
.hero-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 34px; }
.btn { padding: 18px 40px; text-decoration: none; border-radius: 8px; transition: var(--transition); font-weight: 700; font-size: 1.4rem; box-shadow: 0 4px 24px 0 rgba(0,170,255,0.10); border: none; outline: none; cursor: pointer; position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2)); color: #fff; }
.btn-primary:hover { background: linear-gradient(90deg, var(--accent-color-2), var(--accent-color)); transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 32px 0 var(--accent-color-2); }
.social-links a { color: #fff; font-size: 2rem; margin: 0 12px; transition: color 0.3s, transform 0.2s; }
.social-links a:hover { color: var(--accent-color-2); transform: scale(1.18) rotate(-8deg); }

/* --- 🌈 ABOUT SECTION --- */
#about { position: relative; }
#about .container { display: flex; align-items: center; gap: 54px; flex-wrap: wrap; justify-content: center; }
.matrix-photo {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.matrix-photo .about-image {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 7px solid var(--accent-color-2);
  box-shadow: 0 6px 32px 0 var(--accent-color-2);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
  display: block;
  z-index: 1;
}
.matrix-overlay {
  pointer-events: none;
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 0;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
  opacity: 0.6;
  background: none;
}
.matrix-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 1.3rem;
  color: #00ff41;
  text-shadow: 0 0 8px #00ff41, 0 0 18px #00ff41cc;
  filter: blur(0.1px);
  opacity: 0.75;
  white-space: pre;
  animation: matrix-fall 6s linear infinite;
  animation-delay: calc(var(--i, 0) * 0.18s);
  height: 100%;
}
.matrix-column:nth-child(1) { --i: 0; }
.matrix-column:nth-child(2) { --i: 1; }
.matrix-column:nth-child(3) { --i: 2; }
.matrix-column:nth-child(4) { --i: 3; }
.matrix-column:nth-child(5) { --i: 4; }
.matrix-column:nth-child(6) { --i: 5; }
.matrix-column:nth-child(7) { --i: 6; }
.matrix-column:nth-child(8) { --i: 7; }
@keyframes matrix-fall {
  0% { transform: translateY(-120%); opacity: 0.2; }
  10% { opacity: 0.7; }
  80% { opacity: 0.9; }
  100% { transform: translateY(120%); opacity: 0.2; }
}

@media (max-width: 700px) {
  .matrix-photo, .matrix-photo .about-image {
    width: 200px;
    height: 200px;
  }
  .matrix-overlay {
    border-radius: 50%;
  }
}

#about .about-content { flex: 1; min-width: 320px; z-index: 3; position: relative; }
#about h3 { font-size: 2.2rem; margin-bottom: 12px; color: var(--accent-color-3); }
#about p { color: var(--text-secondary); line-height: 1.9; background: rgba(255,255,255,0.04); padding: 18px; border-radius: 12px; box-shadow: 0 2px 12px 0 var(--accent-color-2); font-size: 1.5rem; }

/* --- 🌈 SKILLS SECTION --- */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.skill-item { 
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--accent-color-2) 100%); 
    padding: 26px 12px; 
    border-radius: 14px; 
    transition: var(--transition); 
    box-shadow: 0 6px 24px 0 rgba(0,170,255,0.10); 
    border: 2px solid transparent; 
    position: relative; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skill-item:hover {
    transform: translateY(-7px) scale(1.05) rotate(-1deg);
    box-shadow: 0 10px 32px 0 var(--accent-color-2);
    border: 2px solid var(--accent-color-2);
    background: linear-gradient(135deg, var(--accent-color-2) 40%, var(--primary-color) 100%);
}
.skill-item i { font-size: 3.3rem; color: var(--accent-color); margin-bottom: 12px; text-shadow: 0 2px 12px var(--accent-color-2); }
.skill-item p { font-weight: 700; color: #fff; letter-spacing: 1px; margin-bottom: 15px; font-size: 1.3rem; }

/* --- 🌈 SKILL PROGRESS BARS --- */
.skill-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    border-radius: 10px;
    width: 0%;
    transition: width 2s ease-in-out;
    position: relative;
    box-shadow: 0 0 10px rgba(31, 224, 189, 0.5);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-item:hover .progress-bar {
    box-shadow: 0 0 15px rgba(31, 224, 189, 0.8);
}


/* --- 🌈 SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.service-card {
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.service-card.featured {
    border: 2px solid var(--accent-color-2);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(31,224,189,0.3);
}
.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--accent-color-2), var(--accent-color));
    color: #fff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(31,224,189,0.3);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(31,224,189,0.3);
    transition: all 0.3s ease;
}
.service-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--accent-color-3);
}
.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 1.3rem;
}
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}
.service-features span {
    background: linear-gradient(135deg, rgba(31,224,189,0.15), rgba(31,224,189,0.25));
    color: var(--accent-color);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid rgba(31,224,189,0.4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31,224,189,0.2);
    position: relative;
    overflow: hidden;
}
.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color-2);
}
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px 0 rgba(31,224,189,0.2);
    border-color: var(--accent-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(31,224,189,0.5);
}

.service-features span:hover {
    background: linear-gradient(135deg, rgba(31,224,189,0.3), rgba(31,224,189,0.4));
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(31,224,189,0.4);
    transform: translateY(-2px) scale(1.05);
    color: #fff;
}

/* --- 🌈 TESTIMONIALS SECTION --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.testimonial-card {
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 32px 24px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px 0 rgba(31,224,189,0.15);
    border-color: var(--accent-color-2);
}
.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    justify-content: center;
}
.stars i {
    color: #ffd700;
    font-size: 1.1rem;
}
.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
    font-size: 1.3rem;
}
.testimonial-author {
    text-align: center;
}
.author-info h4 {
    color: var(--accent-color-3);
    margin-bottom: 4px;
    font-size: 1.4rem;
}
.author-info span {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* --- 🌈 ENHANCED CONTACT SECTION --- */
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h3 {
    font-size: 3rem;
    color: var(--accent-color-3);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-intro p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(31,224,189,0.1);
    border-radius: 15px;
    border: 1px solid rgba(31,224,189,0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(31,224,189,0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-section {
    padding: 40px;
}

.contact-form-section h4 {
    font-size: 1.4rem;
    color: var(--accent-color-3);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-section h4 i {
    color: var(--accent-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(31,224,189,0.2);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1.3rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(31,224,189,0.2);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
    pointer-events: none;
    background: var(--primary-color);
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.85rem;
    color: var(--accent-color);
}

.contact-submit {
    width: 100%;
    padding: 20px 30px;
    font-size: 1.4rem;
    margin-top: 20px;
}

/* Style for dropdown options */
.form-group select option {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 10px;
    border: none;
}

.form-group select option:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info {
    padding: 30px;
}

.contact-info h4 {
    font-size: 1.3rem;
    color: var(--accent-color-3);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h4 i {
    color: var(--accent-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(31,224,189,0.1);
    transition: var(--transition);
}

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

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-value {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 600;
}

.social-contact {
    padding: 30px;
}

.social-contact h4 {
    font-size: 1.3rem;
    color: var(--accent-color-3);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-contact h4 i {
    color: var(--accent-color);
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid rgba(31,224,189,0.1);
}

.social-link:hover {
    background: rgba(31,224,189,0.1);
    transform: translateX(5px);
    border-color: var(--accent-color);
}

.social-link i {
    font-size: 1.3rem;
    color: var(--accent-color);
    width: 20px;
}

.social-link span {
    font-weight: 500;
}

@media (max-width: 768px) {
    /* Navigation */
    nav .container {
        padding: 0 1rem;
        gap: 1rem;
        justify-content: center;
        position: relative;
    }
    
    nav .logo {
        font-size: 1.4rem;
        margin: 0 auto;
    }
    
    .menu-toggle {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    
    .menu-toggle {
        font-size: 1.6rem;
        padding: 0.6rem 0.8rem;
    }
    
    /* Hero Section */
    #hero h1 {
        font-size: 2.8rem;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    #hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    /* About Section */
    #about h3 {
        font-size: 1.6rem;
    }
    
    #about p {
        font-size: 1rem;
        padding: 1rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .skill-item {
        padding: 1rem 0.5rem;
    }
    
    .skill-item p {
        font-size: 0.9rem;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .service-features {
        gap: 0.5rem;
    }
    
    .service-features span {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Testimonials Section */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .author-info span {
        font-size: 0.9rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .contact-form-section,
    .contact-info,
    .social-contact {
        padding: 1.2rem;
    }
    
    .contact-intro h3 {
        font-size: 1.6rem;
    }
    
    .contact-intro p {
        font-size: 0.95rem;
    }
    
    .contact-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .contact-submit {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* --- 🌈 CUSTOM MESSAGE NOTIFICATIONS --- */
.custom-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideInRight 0.5s ease-out;
}

.success-message {
    background: linear-gradient(135deg, rgba(31,224,189,0.95), rgba(31,224,189,0.8));
    border: 2px solid var(--accent-color);
}

.error-message {
    background: linear-gradient(135deg, rgba(255,107,107,0.95), rgba(255,107,107,0.8));
    border: 2px solid #ff6b6b;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    position: relative;
}

.message-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-message .message-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.error-message .message-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.message-icon i {
    font-size: 1.5rem;
}

.message-text {
    flex: 1;
    color: #fff;
}

.message-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.message-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.message-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.message-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    nav .container {
        padding: 0 0.5rem;
        gap: 0.5rem;
        justify-content: center;
        position: relative;
    }
    
    nav .logo {
        font-size: 1.2rem;
        margin: 0 auto;
    }
    
    .menu-toggle {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    nav ul li a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .menu-toggle {
        font-size: 1.4rem;
        padding: 0.5rem 0.7rem;
    }
    
    nav ul li a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    /* Hero Section */
    #hero h1 {
        font-size: 2.2rem;
    }
    
    #hero h2 {
        font-size: 1.4rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* About Section */
    #about h3 {
        font-size: 1.4rem;
    }
    
    #about p {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }
    
    .skill-item {
        padding: 0.8rem 0.4rem;
    }
    
    .skill-item p {
        font-size: 0.8rem;
    }
    
    /* Services Section */
    .service-card {
        padding: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-features span {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    /* Testimonials Section */
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    /* Contact Section */
    .contact-intro h3 {
        font-size: 1.4rem;
    }
    
    .contact-intro p {
        font-size: 0.85rem;
    }
    
    .contact-stats {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .contact-form-section,
    .contact-info,
    .social-contact {
        padding: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .contact-submit {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .contact-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
    
    .contact-label {
        font-size: 0.75rem;
    }
    
    .contact-value {
        font-size: 0.8rem;
    }
    
    /* Custom Messages */
    .custom-message {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
    
    .message-content {
        padding: 0.8rem;
    }
    
    .message-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .message-icon i {
        font-size: 1rem;
    }
    
    .message-text h4 {
        font-size: 0.9rem;
    }
    
    .message-text p {
        font-size: 0.75rem;
    }
}

/* --- 🌈 PROJECTS SECTION --- */
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
    gap: 36px; 
}

.project-card { 
    background: linear-gradient(120deg, var(--primary-color) 60%, var(--accent-color-3) 100%); 
    border-radius: 16px; 
    overflow: hidden; 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18); 
    border: 2px solid transparent; 
}

.project-card:hover { 
    transform: translateY(-8px) scale(1.03) rotate(1deg); 
    box-shadow: 0 12px 40px 0 var(--accent-color-3); 
    border: 2px solid var(--accent-color-3); 
    background: linear-gradient(120deg, var(--accent-color-3) 40%, var(--primary-color) 100%); 
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .project-card {
        border-radius: 0.8rem;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-content h3 {
        font-size: 1.3rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
    }
    
    .project-links a {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        gap: 0.8rem;
    }
    
    .project-card {
        border-radius: 0.6rem;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
    }
    
    .project-content p {
        font-size: 0.85rem;
    }
    
    .project-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
}
.project-card img { 
    width: 100%; 
    height: 210px; 
    object-fit: cover; 
}

.project-content { 
    padding: 24px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.project-content h3 { 
    font-size: 2rem; 
    margin-bottom: 12px; 
    color: var(--accent-color-3); 
}

.project-content p { 
    color: var(--text-secondary); 
    flex-grow: 1; 
    margin-bottom: 22px; 
    line-height: 1.6;
    font-size: 1.3rem;
}

.project-links a { 
    color: var(--accent-color); 
    text-decoration: none; 
    margin-right: 22px; 
    font-weight: 700; 
    font-size: 1.4rem; 
    transition: color 0.2s, text-shadow 0.2s; 
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(31, 224, 189, 0.1);
    border: 1px solid rgba(31, 224, 189, 0.3);
}

@media (max-width: 768px) {
    .project-card img {
        height: 12rem;
    }
    
    .project-content {
        padding: 1.25rem;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
    }
    
    .project-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .project-links a {
        font-size: 0.9rem;
        margin-right: 1rem;
    }
}

@media (max-width: 480px) {
    .project-card img {
        height: 10rem;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .project-links a {
        font-size: 0.85rem;
        margin-right: 0.8rem;
    }
}
.project-links a:hover { 
    color: var(--accent-color-3); 
    text-shadow: 0 2px 10px var(--accent-color-3); 
    background: rgba(31, 224, 189, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* --- 🌈 PROJECT MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

/* Ensure cursor appears in modal */
.modal .cursor-dot,
.modal .cursor-outline {
    z-index: 10000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-content {
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--secondary-color) 100%);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-color-2);
    animation: slideIn 0.3s ease-out;
}

/* --- 🌈 MODAL SCROLLBAR --- */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(40, 54, 85, 0.2);
    border-radius: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color-2), var(--accent-color-3));
    border-radius: 8px;
    border: 1px solid rgba(40, 54, 85, 0.2);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color-3), var(--accent-color));
    box-shadow: 0 0 8px rgba(127, 83, 172, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 2001;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-header {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, var(--accent-color-2) 0%, var(--accent-color-3) 100%);
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-header img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.modal-title h2 {
    color: #fff;
    font-size: 3rem;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin: 0;
}

.modal-body {
    padding: 30px;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    color: var(--accent-color-3);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color-2);
    padding-bottom: 8px;
}

.modal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(31, 224, 189, 0.3);
}

.modal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-section li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 1.15rem;
}

.modal-section li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(31, 224, 189, 0.2);
}

.detail-label {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.detail-item span:last-child {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid rgba(31, 224, 189, 0.2);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 3% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .modal-header img {
        width: 4rem;
        height: 4rem;
    }
    
    .modal-title h2 {
        font-size: 1.2rem;
    }
    
    .modal-title p {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
    }
    
    .modal-section h3 {
        font-size: 1rem;
    }
    
    .modal-section p {
        font-size: 0.9rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .modal-section li {
        font-size: 0.9rem;
    }
}

/* --- 🌈 CONTACT SECTION --- */
#contact .container p { 
    text-align: center; 
    max-width: 620px; 
    margin: 0 auto 44px auto; 
    color: var(--text-secondary); 
    font-size: 1.3rem; 
}

.contact-button-wrapper { 
    text-align: center; 
}

.btn.btn-primary { 
    font-size: 1.5rem; 
}

/* --- 🌈 FOOTER --- */
footer { 
    text-align: center; 
    padding: 24px 0; 
    background: linear-gradient(90deg, var(--primary-color) 60%, var(--accent-color-2) 100%); 
    font-size: 1.4rem; 
    color: var(--text-secondary); 
    border-top: 1.5px solid var(--accent-color-2); 
    box-shadow: 0 -2px 16px rgba(0,0,0,0.10); 
}

/* --- 🌈 MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .container { max-width: 98vw; }
    section { padding: 80px 0; }
    #about .container { gap: 36px; }
    .projects-grid { gap: 24px; }
}
@media (max-width: 700px) {
    nav .container { gap: 10px; }

    nav ul {
        display: flex;
        flex-direction: column;
        background: #232d47;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1001;
        gap: 0;
    }
    nav ul li a {
        padding: 18px 0;
        font-size: 1.13rem;
        border-bottom: 1px solid #181f41;
        text-align: center;
        width: 100%;
        display: block;
    }

    nav { display: flex; }

    .site-logo {
        max-height: 44px;
        max-width: 44px;
    }

    html { font-size: 14px; }
    nav ul { gap: 10px; }
    .section-title { font-size: 2rem; }
    #hero h1 { font-size: 2.2rem; }
    #hero h2 { font-size: 1.2rem; }
    #about .about-image { width: 180px; height: 180px; }
    .skills-grid { gap: 18px; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card img { height: 160px; }
}
@media (max-width: 500px) {
    .site-logo {
        max-height: 32px;
        max-width: 32px;
    }
    nav .logo {
        font-size: 0.95rem;
    }
    .skills-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
    .skill-item, .project-card {
        width: 100%;
        min-width: 0;
    }
    
    .modal-content {
        width: 98%;
        margin: 1% auto;
        max-height: 98vh;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-header img {
        width: 3rem;
        height: 3rem;
    }
    
    .modal-title h2 {
        font-size: 1rem;
    }
    
    .modal-title p {
        font-size: 0.9rem;
    }
    
    .modal-body {
        padding: 0.8rem;
    }
    
    .modal-section h3 {
        font-size: 0.9rem;
    }
    
    .modal-section p {
        font-size: 0.8rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .modal-section li {
        font-size: 0.8rem;
    }
    }
    .project-card img {
        height: 110px;
    }
    .footer-slogan {
        font-size: 1rem;
    }

    html { font-size: 12px; }
    .container { padding: 0 6px; }
    nav .logo { font-size: 1.1rem; }
    .btn { padding: 8px 16px; font-size: 0.9rem; }
    #about .about-content { min-width: 180px; }
    .project-content { padding: 12px; }


* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; -webkit-user-select: none; }
html {
    scroll-behavior: smooth;
    user-select: none;
    -webkit-user-select: none;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    /* ⭐️ HIDE THE DEFAULT CURSOR ⭐️ */
    cursor: none;
    min-height: 100vh;
    user-select: none;
    -webkit-user-select: none;
}
* {
    user-select: none !important;
    -webkit-user-select: none !important;
}
::selection {
    background: transparent !important;
    color: inherit !important;
}
::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; border-bottom: 1px solid var(--secondary-color); position: relative; z-index: 1; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 600; }
.section-title span { color: var(--accent-color); }


/* --- ⭐️ NEW: CUSTOM CURSOR STYLES ⭐️ --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1001; /* Must be on top of everything */
    pointer-events: none; /* Allows you to click through it */
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    transition: transform 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out;
}


/* --- ⭐️ PARTICLE BACKGROUND ⭐️ --- */
#tsparticles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

/* --- ⭐️ FADE-IN ANIMATION ⭐️ --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* --- ⭐️ NAVIGATION ⭐️ --- */
nav {
    width: 100%;
    background: linear-gradient(90deg, #181f41 0%, #232d47 100%);
    box-shadow: 0 2px 24px 0 rgba(31, 38, 135, 0.13);
    border-bottom: 1.5px solid #283e51;
    position: fixed;
    top: 0; left: 0; z-index: 99;
    transition: var(--transition);
}
nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    height: 74px;
    width: 100%;
    gap: 60px;
}
nav .logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #fff;
    text-shadow: 0 2px 8px #181f4144;
    user-select: none;
    text-transform: uppercase;
    margin-left: -20px;
}
nav ul {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
    margin-left: 40px;
}
nav ul li a {
    color: #f7fafd;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    position: relative;
    transition: var(--transition);
    text-shadow: none;
}
nav ul li a.active, nav ul li a:hover {
    color: #16e0bd;
    border-bottom: 2px solid #1fa2ff;
    background: rgba(31,162,255,0.07);
    text-shadow: none;
}
/* Removed duplicate menu-toggle styles */

footer {
    width: 100%;
    background: linear-gradient(90deg, #181f41 0%, #232d47 100%);
    color: #f2f2f7;
    text-align: center;
    padding: 32px 0 18px 0;
    font-size: 1.07rem;
    letter-spacing: 0.7px;
    box-shadow: 0 -2px 24px 0 rgba(31, 38, 135, 0.10);
    margin-top: 60px;
    position: relative;
    z-index: 10;
    border-top: 1.5px solid #283e51;
}
.footer-slogan {
    font-size: 1.6rem;
    color: #16e0bd;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #1fa2ff44;
    font-family: 'Poppins', 'Fira Mono', Arial, sans-serif;
    display: block;
}
footer .footer-socials {
    margin-bottom: 8px;
}
footer .footer-socials a {
    color: #1fa2ff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: var(--transition);
    text-shadow: none;
}
footer .footer-socials a:hover {
    color: #16e0bd;
    background: rgba(31,162,255,0.09);
    border-radius: 5px;
    transform: scale(1.13);
}

/* ... */
.social-links a:hover { color: var(--accent-color); }
#about .container { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
#about .about-image { width: 300px; height: 300px; object-fit: cover; border-radius: 50%; border: 5px solid var(--secondary-color); margin: 0 auto; }
#about .about-content { flex: 1; min-width: 300px; }
#about h3 { font-size: 1.5rem; margin-bottom: 10px; }
#about p { color: var(--text-secondary); line-height: 1.8; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 30px; text-align: center; }
.skill-item {
  background: rgba(255,255,255,0.10);
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.16);
  border-radius: 20px;
  border: 1.5px solid rgba(127,83,172,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 32px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.24s cubic-bezier(.25,.8,.25,1), box-shadow 0.24s cubic-bezier(.25,.8,.25,1), border-color 0.24s;
}
.skill-item:hover {
  transform: translateY(-10px) scale(1.06);
}
.skill-html5:hover {
  background: rgba(227,76,38,0.18);
  border-color: #e34c26;
  box-shadow: 0 8px 32px 0 #e34c26cc;
}
.skill-css3:hover {
  background: rgba(41,101,241,0.18);
  border-color: #2965f1;
  box-shadow: 0 8px 32px 0 #2965f1cc;
}
.skill-js:hover {
  background: rgba(247,223,30,0.18);
  border-color: #f7df1e;
  box-shadow: 0 8px 32px 0 #f7df1ecc;
}
.skill-react:hover {
  background: rgba(97,218,251,0.18);
  border-color: #61dafb;
  box-shadow: 0 8px 32px 0 #61dafbcc;
}
.skill-wordpress:hover {
  background: rgba(33,117,155,0.18);
  border-color: #21739b;
  box-shadow: 0 8px 32px 0 #21739bcc;
}
.skill-woo:hover {
  background: rgba(150,88,138,0.18);
  border-color: #96588A;
  box-shadow: 0 8px 32px 0 #96588Acc;
}
.skill-python:hover {
  background: rgba(53,114,165,0.18);
  border-color: #3572A5;
  box-shadow: 0 8px 32px 0 #3572A5cc;
}
.skill-nodejs:hover {
  background: rgba(104,160,99,0.18);
  border-color: #68a063;
  box-shadow: 0 8px 32px 0 #68a063cc;
}
.skill-mongodb:hover {
  background: rgba(77,172,106,0.18);
  border-color: #4dac6a;
  box-shadow: 0 8px 32px 0 #4dac6acc;
}
.skill-express:hover {
  background: rgba(255,255,255,0.18);
  border-color: #ffffff;
  box-shadow: 0 8px 32px 0 #ffffffcc;
}
.skill-item svg, .skill-item i {
  margin-bottom: 12px;
  display: block;
  font-size: 2.6rem;
}
.skill-item p {
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
  margin: 0;
}
.skill-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 170, 255, 0.1); }
.skill-item i { font-size: 3rem; color: var(--accent-color); margin-bottom: 10px; }
.skill-item p { font-weight: 600; }
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.project-card {
  width: 100%;
  max-width: 1200px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 12px 48px 0 rgba(0,0,0,0.22);
  margin: 0 auto;
}
.project-card img {
  width: 100%;
  height: 440px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 32px;
  display: block;
  max-height: 700px;
}
/* Duplicate/old styles removed to allow new, larger project card styles to take effect */
.project-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.project-content h3 { font-size: 1.3rem; margin-bottom: 10px; }
.project-content p { color: var(--text-secondary); flex-grow: 1; margin-bottom: 20px; }
.project-links a { color: var(--accent-color); text-decoration: none; margin-right: 20px; font-weight: 600; }
.project-links a:hover { text-decoration: underline; }
#contact .container p { text-align: center; max-width: 600px; margin: 0 auto 40px auto; color: var(--text-secondary); }
.contact-button-wrapper { text-align: center; }
footer { text-align: center; padding: 20px 0; background-color: var(--primary-color); font-size: 0.9rem; color: var(--text-secondary); }