/* ===========================
   CSS VARIABLES / THEME
=========================== */
:root {
    --bg:         #04040f;
    --bg-2:       #080818;
    --bg-card:    rgba(255, 255, 255, 0.04);
    --border:     rgba(255, 255, 255, 0.08);
    --primary:    #00d4ff;
    --secondary:  #8b5cf6;
    --accent:     #f59e0b;
    --danger:     #ff6b6b;
    --gradient:   linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
    --glow-cyan:  0 0 20px rgba(0, 212, 255, 0.4);
    --glow-purple:0 0 20px rgba(139, 92, 246, 0.4);
    --text:       #f1f5f9;
    --text-muted: #94a3b8;
    --radius:     16px;
    --radius-sm:  10px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   RESET
=========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===========================
   CANVAS PARTICLE BG
=========================== */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

/* ===========================
   HEADER
=========================== */
.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(4, 4, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: clamp(12px, 3vw, 20px) clamp(16px, 5vw, 60px);
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.iconbutton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--primary);
    border: 1px solid var(--border);
    background: rgba(0, 212, 255, 0.06);
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.iconbutton:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.img1 {
    width: clamp(42px, 7vw, 58px);
    height: clamp(42px, 7vw, 58px);
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: var(--glow-cyan);
}

.Navh2 {
    font-size: clamp(14px, 4vw, 20px);
    line-height: 1.2;
}

.Navh2Link {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    word-break: break-word;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.Navh2Link span {
    font-size: clamp(10px, 2.5vw, 13px);
    font-weight: 400;
    display: block;
    margin-top: 2px;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
    color: var(--text-muted);
}

.Navh2Link:hover { filter: brightness(1.2); }

/* ===========================
   NAV / TOPMENU
=========================== */
.topmenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(12px, 2.5vw, 36px);
}

.topmenu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: clamp(13px, 2.5vw, 15px);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.topmenu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.35s ease;
}

.topmenu a:hover {
    color: var(--primary);
    font-weight: bold;
    text-decoration: underline;
}

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

.topmenu:hover {
    color: var(--primary);
    font-weight: bold;
    text-decoration: underline;
}

/* ===========================
   MAIN WRAPPER
=========================== */
.main {
    flex: 1;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 60px) clamp(16px, 4vw, 30px);
    position: relative;
    z-index: 1;
}

#home, #about, #contact, #projects, #recommendations {
    scroll-margin-top: 80px;
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: center;
    min-height: 85vh;
    padding: 40px 0;
}

.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-left img {
    width: clamp(220px, 30vw, 340px);
    height: clamp(220px, 30vw, 340px);
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid transparent;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--gradient) border-box;
    box-shadow: var(--glow-cyan), 0 0 60px rgba(139, 92, 246, 0.2);
    animation: float 5s ease-in-out infinite;
}

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

.hero-right h1 {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 6px;
}

.hero-right h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Profile name styling */
.profile_name {
    color: #e0e0e0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#typed-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-right h3 {
    font-size: clamp(15px, 2.5vw, 20px);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-right p {
    color: var(--text-muted);
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: var(--glow-cyan);
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

/* ===========================
   SECTION HEADERS
=========================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2,
.skillsH2,
.projectsH2,
.recommendationsH2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 4px;
    margin: 0 auto 16px;
}

/* ===========================
   ABOUT ME
=========================== */
.about-page { padding: 0; }

.about-me {
    margin-top: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.about-me h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-me p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 14px;
}

/* ===========================
   JOURNEY
=========================== */
.journey {
    margin-top: 50px;
}

.journey h2 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.journey-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.journey-card:hover::before { transform: scaleX(1); }

.journey-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--glow-cyan);
}

.journey-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.journey-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ===========================
   SKILLS SECTION
=========================== */
.skills-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    margin-top: 50px;
}

.skillsH2 {
    text-align: center;
    margin-bottom: 10px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.div1, .div2, .div3, .skill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.div1::after, .div2::after, .div3::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.div1:hover, .div2:hover, .div3:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--glow-cyan), var(--glow-purple);
}

.div1:hover::after, .div2:hover::after, .div3:hover::after {
    opacity: 0.05;
}

.upper1 {
    height: 160px;
    overflow: hidden;
    background: rgba(0, 212, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.imgLand, .imgWater, .imgAir {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.div1:hover .imgLand,
.div2:hover .imgWater,
.div3:hover .imgAir {
    transform: scale(1.1);
}

.lower1 {
    padding: 20px 18px;
    position: relative;
    z-index: 1;
}

.lower1 h2 {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.lower1 p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* ===========================
   EDUCATION SECTION
=========================== */
.education-sec {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.education-sec::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(0,212,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.education-sec h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.education-sec p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 15px;
}

.education-sec button {
    background: var(--gradient);
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 28px;
    align-self: center;
    transition: var(--transition);
    color: white;
    box-shadow: var(--glow-cyan);
}

.education-sec button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.linkUOG, .linksaad {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.linkUOG:hover, .linksaad:hover {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

.linkBTN {
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
    height: 100%;
}

/* ===========================
   PROJECTS SECTION
=========================== */
.projects-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.projectsH2 {
    text-align: center;
    margin-bottom: 10px;
}

.projects-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0; height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1), var(--glow-purple);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 14px;
}

.project-header h3 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-badge {
    background: var(--gradient);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.project-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.project-features {
    background: rgba(139, 92, 246, 0.06);
    border-left: 3px solid var(--secondary);
    padding: 14px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.project-features p {
    color: var(--secondary);
    font-weight: 600;
    margin: 0 0 10px;
    font-size: 13px;
}

.project-features ul {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.9;
    padding-left: 20px;
}

.project-features li { margin-bottom: 4px; }

.project-links { display: flex; gap: 12px; }

.project-btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    box-shadow: var(--glow-cyan);
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

/* ===========================
   RECOMMENDATIONS SECTION
=========================== */
.recommendations-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.recommendationsH2 {
    text-align: center;
    margin-bottom: 10px;
}

.recommendations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.recommendation-card, .recommendation {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.recommendation-card::after, .recommendation::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.recommendation-card:hover, .recommendation:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.1), var(--glow-purple);
}

.recommendation-header { margin-bottom: 16px; }

.quote-icon {
    color: var(--primary);
    opacity: 0.5;
    transition: var(--transition);
}

.recommendation-card:hover .quote-icon,
.recommendation:hover .quote-icon { opacity: 1; }

.recommendation-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: italic;
}

.recommendation-author {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: auto;
}

.author-info { display: flex; flex-direction: column; }

.author-info h4 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

/* ===========================
   ADD RECOMMENDATION FORM
=========================== */
.add-recommendation-form {
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 40px;
}

.add-recommendation-form h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}

.add-recommendation-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.add-recommendation-form input,
.add-recommendation-form textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    resize: vertical;
}

.add-recommendation-form input::placeholder,
.add-recommendation-form textarea::placeholder { color: var(--text-muted); }

.add-recommendation-form input:focus,
.add-recommendation-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.04);
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--glow-cyan);
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

/* ===========================
   POPUP MODAL
=========================== */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.popup-content {
    background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(139,92,246,0.08) 100%);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 52px 44px;
    border-radius: 24px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.2);
    animation: slideIn 0.35s ease;
    position: relative;
    backdrop-filter: blur(20px);
}

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

.close-btn {
    position: absolute;
    right: 20px; top: 14px;
    color: var(--primary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-btn:hover { color: white; transform: rotate(90deg); }

.popup-icon {
    color: var(--primary);
    margin-bottom: 18px;
    display: inline-block;
}

.popup-icon svg {
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

.popup-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.popup-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 44px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--glow-cyan);
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact-page {
    margin-top: 40px;
}

.contactSection {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
}

.contactSection h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 34px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contactSection form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contactSection input,
.contactSection textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    resize: vertical;
}

.contactSection input::placeholder,
.contactSection textarea::placeholder { color: var(--text-muted); }

.contactSection input:focus,
.contactSection textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.04);
}

.contactSection button[type="submit"] {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--glow-cyan);
}

.contactSection button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: rgba(4, 4, 15, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-muted);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
    position: relative;
    z-index: 1;
}

/* ===========================
   RESPONSIVE
=========================== */
@media screen and (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 30px 0;
        gap: 30px;
    }

    .hero-right p { margin: 0 auto 28px; }
    .hero-btn { margin: 0 auto; }

    .container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .header { flex-direction: column; text-align: center; }

    .skills-section,
    .education-sec,
    .projects-section,
    .recommendations-section,
    .contactSection { padding: 30px 20px; }

    .project-header { flex-direction: column; align-items: flex-start; }

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

    .add-recommendation-form { padding: 22px; }

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

    .about-me { padding: 28px 20px; }
}

@media screen and (max-width: 480px) {
    .topmenu { gap: 10px; }
    .topmenu a { font-size: 13px; }
}