/* ---  VARIABLES & BASIC SETUP --- */
:root {
    --primary-blue: #0a84ff;
    --golden-yellow: #ffc300;
    --deep-gray: #121212;
    --darker-card: #1a1a1a;
    --light-text: #f0f0f0;
    --gray-text: #aaaaaa;
    --white: #FFFFFF;
    
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--deep-gray);
    color: var(--light-text);
    line-height: 1.7;
    overflow-x: hidden;
}
/* (Previous styles from About Section remain the same) */

/* --- ABOUT SECTION --- */
/* ... existing about styles ... */
.portfolio-video {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-video {
  transform: scale(1.03);
}

/* ======================================================= */
/* =============== NEW TEAM SECTION STYLES =============== */
/* ======================================================= */
.team {
    background: var(--deep-gray);
    overflow: hidden; /* Important for preventing AOS overflow issues */
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -3rem auto 4rem auto;
    font-size: 1.1rem;
    color: var(--gray-text);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background-color: transparent;
    width: 100%;
    height: 420px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Safari */
    border-radius: 20px;
    background: var(--darker-card);
    border: 1px solid rgba(10, 132, 255, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-card-front {
    z-index: 2;
}

.team-card-back {
    transform: rotateY(180deg);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Animated Gradient Border on Hover */
.team-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: conic-gradient(
        from var(--angle),
        transparent 20%,
        var(--golden-yellow),
        var(--primary-blue),
        transparent 80%
    );
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.team-card:hover::before {
    opacity: 1;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate {
  to { --angle: 360deg; }
}


/* Front Card Content */
.profile-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-card:hover .profile-image img {
    transform: scale(1.1) rotate(1deg);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-tagline {
    font-style: italic;
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


/* Back Card Content */
.team-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--light-text);
    font-family: 'Poppins', sans-serif;
}


/* ======================================================= */
/* ================= END TEAM SECTION STYLES ============== */
/* ======================================================= */

/* --- CONTACT SECTION & DOPAMINE INTERACTIONS --- */
/* ... existing contact styles ... */
/* --- NEURAL-PULSE LOGO & GLITCH --- */
.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: baseline;
}
.glitch-text { position: relative; }
.glitch-text::before, .glitch-text::after {
    content: attr(data-text); position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: var(--deep-gray); overflow: hidden;
}
.navbar.scrolled .glitch-text::before, .navbar.scrolled .glitch-text::after {
    background: rgba(26, 26, 26, 0.5);
}

.logo-dz { color: var(--primary-blue); transform: translateX(-20px); opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease; }
.logo-ai { color: var(--golden-yellow); text-shadow: var(--shadow-glow-yellow); animation: pulse-ai 2s infinite ease-in-out; transform: scale(0.8); opacity: 0; transition: transform 0.8s ease 0.2s, opacity 0.8s ease 0.2s; }
.logo-no { color: var(--primary-blue); transform: translateX(20px); opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease; }

/* Logo Assembly Animation on Load */
body:not(.loading) .logo-dz, body:not(.loading) .logo-no { transform: translateX(0); opacity: 1; }
body:not(.loading) .logo-ai { transform: scale(1); opacity: 1; }

.logo-dz::before { left: 2px; text-shadow: -2px 0 var(--primary-blue); animation: glitch-anim-1 3s infinite linear reverse; }
.logo-ai::before { display: none; } .logo-ai::after { display: none; } /* AI Core doesn't glitch */
.logo-no::after { left: -2px; text-shadow: 2px 0 var(--golden-yellow); animation: glitch-anim-2 3.5s infinite linear reverse; }

@keyframes pulse-ai { 0%, 100% { transform: scale(1); text-shadow: var(--shadow-glow-yellow); } 50% { transform: scale(1.05); text-shadow: 0 0 12px var(--golden-yellow), 0 0 30px rgba(255, 195, 0, 0.7); } }
@keyframes glitch-anim-1 { 0%, 100% { clip-path: inset(45% 0 50% 0); } 5%, 95% { clip-path: inset(5% 0 90% 0); } 10%, 90% { clip-path: inset(70% 0 10% 0); } 15%, 85% { clip-path: inset(90% 0 5% 0); } 20%, 80% { clip-path: inset(40% 0 45% 0); } 25%, 75% { clip-path: inset(20% 0 70% 0); } 30%, 70% { clip-path: inset(95% 0 2% 0); } 35%, 65% { clip-path: inset(10% 0 80% 0); } 40%, 60% { clip-path: inset(80% 0 5% 0); } 45%, 55% { clip-path: inset(50% 0 30% 0); } 50% { clip-path: inset(15% 0 75% 0); } }
@keyframes glitch-anim-2 { 0%, 100% { clip-path: inset(10% 0 85% 0); } 5%, 95% { clip-path: inset(80% 0 5% 0); } 10%, 90% { clip-path: inset(30% 0 60% 0); } 15%, 85% { clip-path: inset(5% 0 90% 0); } 20%, 80% { clip-path: inset(60% 0 30% 0); } 25%, 75% { clip-path: inset(85% 0 10% 0); } 30%, 70% { clip-path: inset(20% 0 70% 0); } 35%, 65% { clip-path: inset(95% 0 2% 0); } 40%, 60% { clip-path: inset(40% 0 45% 0); } 45%, 55% { clip-path: inset(70% 0 15% 0); } 50% { clip-path: inset(45% 0 50% 0); } }

/* --- AI ASSISTANT (NEURO-BOT) --- */
#neuro-bot { position: fixed; bottom: 30px; left: 30px; z-index: 1001; cursor: pointer; }
.neuro-icon {
    width: 50px; height: 50px; background: var(--primary-blue);
    border-radius: 50%; box-shadow: var(--shadow-glow-blue);
    animation: levitate 4s ease-in-out infinite;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.neuro-icon::before {
    content: ''; position: absolute; width: 10px; height: 10px;
    background: var(--golden-yellow); border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    box-shadow: var(--shadow-glow-yellow); animation: pulse-ai 2s infinite;
}
@keyframes levitate { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.neuro-chat {
    position: absolute; bottom: 120%; left: 0;
    background: rgba(34, 34, 34, 0.8); backdrop-filter: blur(10px);
    padding: 15px 20px; border-radius: 10px; border: 1px solid var(--primary-blue);
    width: 250px; color: var(--light-text);
    transform: translateY(20px) scale(0.9); opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
#neuro-bot:hover .neuro-chat { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.neuro-chat::after {
    content: ''; position: absolute; top: 100%; left: 25px;
    border-width: 8px; border-style: solid;
    border-color: var(--primary-blue) transparent transparent transparent;
}


/* --- PRELOADER & SCROLLBAR --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--deep-gray); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.75s ease, visibility 0.75s ease; }
.preloader-logo { font-size: 2.5rem; }
#scroll-progress-bar { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--golden-yellow), var(--primary-blue)); width: 0%; z-index: 1001; transition: width 0.1s linear; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--darker-card); }
::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--golden-yellow); }

/* --- NAVIGATION & MOBILE NEURO-INTERFACE --- */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; transition: all 0.3s ease; padding: 10px 0; }
.navbar.scrolled { background: rgba(26, 26, 26, 0.5); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(10, 132, 255, 0.2); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 60px; }
.nav-menu { display: flex; list-style: none; gap: 2.5rem; }
.nav-link { text-decoration: none; color: var(--light-text); font-weight: 500; transition: all 0.3s ease; position: relative; padding-bottom: 5px; }
.nav-link:hover { color: var(--golden-yellow);  }
.hamburger { display: none; position: relative; width: 25px; height: 21px; z-index: 6; }
.bar { width: 25px; height: 3px; background: var(--white); margin: 4px 0; transition: all 0.4s ease-in-out; border-radius: 2px; position: absolute; }
.bar-1 { top: 0; }
.bar-2 { top: 9px; }
.bar-3 { top: 18px; }

/* Hamburger to AI Core Animation */
.hamburger.active .bar-1 { top: 9px; transform: rotate(135deg); background-color: var(--primary-blue); }
.hamburger.active .bar-2 { transform: scale(1.5); background-color: var(--golden-yellow); box-shadow: var(--shadow-glow-yellow); }
.hamburger.active .bar-3 { top: 9px; transform: rotate(-135deg); background-color: var(--primary-blue); }

/* --- HERO SECTION --- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
#particle-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; position: relative; z-index: 2; }
.hero-content { animation: fadeInSlideUp 1s ease-out 1.2s forwards; opacity: 0; } /* Delay animation */
.hero-title { font-size: 3.8rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; color: var(--primary-blue);  font-family: 'Inter', sans-serif; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2rem; color: var(--gray-text); max-width: 500px; }

.cta-button {
    background: transparent; color: var(--golden-yellow); border: 2px solid var(--golden-yellow);
    padding: 15px 35px; font-size: 1.1rem; font-weight: 600; border-radius: 50px;
    cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden;
    text-decoration: none; box-shadow: 0 0 15px rgba(255, 195, 0, 0.3);
}
.cta-button:hover { background: var(--golden-yellow); color: var(--darker-card); box-shadow: var(--shadow-glow-yellow); transform: translateY(-3px); }
.cta-button:active { transform: translateY(-1px) scale(0.98); }
.cta-button .text-hover { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; opacity: 0; transition: opacity 0.3s ease; }
.cta-button:hover .text-original { opacity: 0; }
.cta-button:hover .text-hover { opacity: 1; }

.hero-visual { position: relative; z-index: 2; }
.floating-shapes { position: relative; width: 100%; height: 450px; }
.shape { position: absolute; border-radius: 30%; animation: float 8s ease-in-out infinite; opacity: 0.6; }
.shape-1 { width: 120px; height: 120px; background: var(--primary-blue); top: 10%; left: 15%; animation-delay: 0s; }
.shape-2 { width: 180px; height: 180px; background: rgba(10, 132, 255, 0.1); top: 40%; right: 10%; animation-delay: 2s; border: 1px solid var(--primary-blue); }
.shape-3 { width: 80px; height: 80px; background: var(--golden-yellow); bottom: 15%; left: 40%; animation-delay: 4s; }
.shape-4 { width: 50px; height: 50px; background: rgba(255, 195, 0, 0.1); top: 70%; left: 10%; animation-delay: 6s; border: 1px solid var(--golden-yellow); } do it for me 

/* ✅ Fixed text alignment */
.cta-button .text-original,
.cta-button .text-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    transition: opacity 0.3s ease;
}

.cta-button:hover .text-original {
    opacity: 0;
}

.cta-button:hover .text-hover {
    opacity: 1;
}

/* ===== Floating Shapes Section ===== */
.hero-visual {
    position: relative;
    z-index: 2;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 450px;
}

.shape {
    position: absolute;
    border-radius: 30%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.6;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--primary-blue);
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 180px;
    height: 180px;
    background: rgba(10, 132, 255, 0.1);
    top: 40%;
    right: 10%;
    animation-delay: 2s;
    border: 1px solid var(--primary-blue);
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--golden-yellow);
    bottom: 15%;
    left: 40%;
    animation-delay: 4s;
}

.shape-4 {
    width: 50px;
    height: 50px;
    background: rgba(255, 195, 0, 0.1);
    top: 70%;
    left: 10%;
    animation-delay: 6s;
    border: 1px solid var(--golden-yellow);
}

/* --- GENERAL SECTION STYLES --- */
section { padding: 100px 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2.8rem; font-weight: 700; margin-bottom: 4rem; color: var(--white); font-family: 'Inter', sans-serif; }

/* --- SERVICES SECTION with SMART TAGS & NEURAL LINES --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card {
    background: var(--darker-card); padding: 2rem; border-radius: 20px;
    border: 1px solid rgba(10, 132, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer; overflow: hidden; position: relative;
}
.service-card:hover { transform: translateY(-10px); border-color: var(--primary-blue); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow-blue); }

/* Neural Lines Canvas */
.neural-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.service-card:hover .neural-canvas { opacity: 0.3; }

/* Smart Service Tag */
.service-tag {
    position: absolute; top: 20px; right: -100%;
    background: var(--golden-yellow); color: var(--deep-gray);
    padding: 5px 15px; border-radius: 5px 0 0 5px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
    transition: right 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-glow-yellow);
}
.service-card.aos-animate .service-tag { right: 0; transition-delay: 0.5s; }

.service-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.service-icon { color: var(--golden-yellow); transition: transform 0.3s ease; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); animation: pulse-icon 1.5s infinite; }
.service-card h3 { font-size: 1.6rem; font-weight: 600; color: var(--white); font-family: 'Inter', sans-serif; }
.service-details { max-height: 0; opacity: 0; transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out 0.2s; }
.service-card:hover .service-details, .service-card.active .service-details { max-height: 300px; opacity: 1; }
.service-details ul { list-style: none; padding-left: 1rem; }
.service-details li { color: var(--gray-text); padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); opacity: 0; transform: translateX(-20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.service-card:hover .service-details li, .service-card.active .service-details li { opacity: 1; transform: translateX(0); }
.service-card:hover .service-details li:nth-child(1), .service-card.active .service-details li:nth-child(1) { transition-delay: 0.1s; }
.service-card:hover .service-details li:nth-child(2), .service-card.active .service-details li:nth-child(2) { transition-delay: 0.15s; }
.service-card:hover .service-details li:nth-child(3), .service-card.active .service-details li:nth-child(3) { transition-delay: 0.2s; }
.service-card:hover .service-details li:nth-child(4), .service-card.active .service-details li:nth-child(4) { transition-delay: 0.25s; }
.service-card:hover .service-details li:nth-child(5), .service-card.active .service-details li:nth-child(5) { transition-delay: 0.3s; }
.service-card:hover .service-details li:nth-child(6), .service-card.active .service-details li:nth-child(6) { transition-delay: 0.35s; }

/* --- HOLO-PORTFOLIO SECTION --- */
.portfolio { background-color: var(--darker-card); }
.portfolio .section-title { font-family: 'Inter', sans-serif;  }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.portfolio-item {
    position: relative; border-radius: 15px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 0 rgba(10, 132, 255, 0);
}
.portfolio-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 0 25px var(--primary-blue); /* Ionic pulse */
}
.portfolio-item img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.2));
    color: var(--white); display: flex; flex-direction: column; justify-content: flex-end;
    opacity: 0; transition: all 0.5s ease; padding: 2rem; transform: translateY(20px);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }
.portfolio-overlay h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; }
.portfolio-overlay p { color: var(--gray-text); }

/* Tech Stack Glass Card */
.portfolio-tech {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px;
    padding: 10px 15px; margin-top: 1rem; font-size: 0.9rem;
    color: var(--golden-yellow); font-family: 'Inter', sans-serif;
    transform: translateY(20px); opacity: 0;
    transition: transform 0.5s ease 0.2s, opacity 0.5s ease 0.2s;
}
.portfolio-item:hover .portfolio-tech { transform: translateY(0); opacity: 1; }

/* --- ABOUT SECTION --- */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text .section-title { text-align: left; }
.about-text p { margin-bottom: 1.5rem; color: var(--gray-text); font-size: 1.1rem; }
.stats { display: flex; gap: 3rem; margin-top: 2.5rem; }
.stat h3 { font-size: 2.5rem; font-weight: 700; color: var(--golden-yellow); margin-bottom: 0.5rem;  font-family: 'Inter', sans-serif; }
.stat p { color: var(--gray-text); font-size: 1rem; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: var(--golden-yellow); border: 2px  solid var(--golden-yellow); }

/* --- CONTACT SECTION & DOPAMINE INTERACTIONS --- */
.contact { background-color: var(--darker-card); }
.contact-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.contact-info h3 { font-size: 1.8rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.contact-info p { color: var(--gray-text); margin-bottom: 2rem; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { color: var(--gray-text); }
.contact-item strong { color: var(--primary-blue); }
.contact-form { background: rgba(10, 10, 20, 0.5); padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(10, 132, 255, 0.2); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border-radius: 10px; font-size: 1rem; font-family: inherit; background: rgba(40, 40, 40, 0.7); color: var(--light-text); transition: all 0.3s ease; border: 1px solid rgba(10, 132, 255, 0.3); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-text); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--golden-yellow); box-shadow: var(--shadow-glow-yellow); }

/* Dopamine Button Interaction */
.submit-btn {
    width: 100%; background: var(--primary-blue); color: var(--white); border: none; padding: 15px;
    font-size: 1.1rem; font-weight: 600; border-radius: 10px; cursor: pointer;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-blue); }
.submit-btn:active { transform: translateY(0) scale(0.98); }

.button-ripple {
    position: absolute; border-radius: 50%;
    transform: scale(0); animation: ripple 0.6s linear;
    background-color: rgba(255, 195, 0, 0.7);
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* --- FOOTER --- */
.footer { background: var(--darker-card); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 50px 0 20px; }
.footer .nav-logo { font-size: 1.8rem; } /* Reuse nav-logo class */
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-logo p { color: var(--gray-text); }
.social-links { display: flex; gap: 1rem; }
.social-link { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-text); transition: all 0.3s ease; }
.social-link:hover { color: var(--golden-yellow); background: rgba(255, 195, 0, 0.1); transform: translateY(-5px); box-shadow: 0 0 10px var(--golden-yellow); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--gray-text); }

/* --- ANIMATIONS & AOS --- */
@keyframes pulse-icon { 0%, 100% { transform: scale(1.1) rotate(5deg); } 50% { transform: scale(1.2) rotate(5deg); } }
@keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-30px) rotate(45deg); } }
@keyframes fadeInSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
[data-aos] { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }
[data-aos="zoom-in"] { transform: scale(0.9); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero-container, .about-content, .contact-content { grid-template-columns: 1fr; text-align: center; }
    .hero-content, .about-text { order: 2; }
    .hero-visual, .about-image { order: 1; margin-bottom: 2rem; }
    .about-text .section-title { text-align: center; }
    .stats { justify-content: center; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    #neuro-bot { bottom: 20px; left: 20px; transform: scale(0.9); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; flex-direction: column; cursor: pointer; }
    .nav-menu {
        position: fixed; left: -100%; top: 0; flex-direction: column;
        background-color: var(--deep-gray); width: 100%; height: 100vh;
        text-align: center; transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
        justify-content: center; gap: 3rem;
    }
    .nav-menu.active { left: 0; }
    .nav-link { font-size: 1.5rem; }
    .section-title { font-size: 2.2rem; }
    .footer-content { flex-direction: column; text-align: center; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .stats { flex-direction: column; gap: 1.5rem; }
    #neuro-bot { display: none; } /* Hide bot on small screens to save space */
}

