/*CSS FOR MY PORTFOLIO*/
:root {
    /* Light Mode */
    --bg-page: #F5F3F0;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.6);
    --text-dark: #1a1a1a;
    --text-body: #2F2F2F;
    --text-muted: #5F6F64;
    --accent: #6B7D6A;
    --accent-light: rgba(107, 125, 106, 0.2);
    --accent-glow: rgba(107, 125, 106, 0.3);
    --border: rgba(255, 255, 255, 0.5);
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode - MUST be body.dark-mode to override :root */
body.dark-mode {
    --bg-page: #0a0f0a !important;
    --glass-bg: rgba(26, 31, 26, 0.4) !important;
    --glass-border: rgba(143, 184, 143, 0.15) !important;
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    --glass-highlight: rgba(143, 184, 143, 0.1) !important;
    --text-dark: #f0f5f0 !important;
    --text-body: #d0ddd0 !important;
    --text-muted: #8fa88f !important;
    --accent: #9AB89A !important;
    --accent-light: rgba(143, 184, 143, 0.15) !important;
    --accent-glow: rgba(143, 184, 143, 0.4) !important;
    --border: rgba(143, 184, 143, 0.2) !important;
    --shadow: rgba(0, 0, 0, 0.3) !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* ANIMATED MESH BACKGROUND*/
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(107, 125, 106, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(195, 213, 192, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(232, 223, 208, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, var(--bg-page) 0%, #E8E4DC 100%);
    animation: meshShift 15s ease-in-out infinite;
    transition: all 0.6s ease;
}

.dark-mode body::before {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(143, 184, 143, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(45, 58, 45, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(26, 42, 26, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, var(--bg-page) 0%, #1a211a 100%);
    animation: meshShift 15s ease-in-out infinite;
}

@keyframes meshShift {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
        filter: hue-rotate(0deg);
    }
    50% { 
        background-position: 10% 10%, 90% 90%, 60% 40%, 0% 0%;
        filter: hue-rotate(5deg) brightness(1.05);
    }
}
 /*  FLOATING GEOMETRIC SHAPES */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Large glowing orbs - INCREASED OPACITY AND SIZE */
.shape-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.8;  /* Increased from 0.5 */
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;  /* Increased from 400px */
    height: 500px;
    background: var(--accent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    opacity: 0.9;
}

.orb-2 {
    width: 400px;  /* Increased from 300px */
    height: 400px;
    background: var(--accent-light);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
    opacity: 0.8;
}

.orb-3 {
    width: 350px;  /* Increased from 250px */
    height: 350px;
    background: linear-gradient(135deg, var(--accent), transparent);
    top: 40%;
    left: 60%;
    animation-delay: -10s;
    opacity: 0.85;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.8;
    }
    25% { 
        transform: translate(50px, -30px) scale(1.1); 
        opacity: 0.9;
    }
    50% { 
        transform: translate(20px, 50px) scale(0.95); 
        opacity: 0.7;
    }
    75% { 
        transform: translate(-30px, 20px) scale(1.05); 
        opacity: 0.85;
    }
}

/* Geometric shapes - MORE OPAQUE */
.shape-geo {
    position: absolute;
    opacity: 0.6;  /* Increased from 0.3 */
    animation: geoFloat 25s ease-in-out infinite;
}

/* Triangle shapes - BRIGHTER */
.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;   /* Increased from 60px */
    border-right: 80px solid transparent;
    border-bottom: 130px solid var(--accent);  /* Solid color instead of light */
    filter: blur(1px);
    opacity: 0.5;
}

.triangle-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.triangle-2 {
    top: 60%;
    right: 15%;
    animation-delay: -8s;
    transform: rotate(-20deg);
    border-bottom-color: var(--accent);
    opacity: 0.4;
}

/* Circle outlines - THICKER AND MORE VISIBLE */
.geo-circle {
    border: 3px solid var(--accent);  /* Increased from 2px */
    border-radius: 50%;
    background: transparent;
    opacity: 0.5;
}

.circle-1 {
    width: 180px;  /* Increased from 150px */
    height: 180px;
    top: 30%;
    right: 20%;
    animation-delay: -3s;
    border-color: var(--accent);
    border-width: 4px;
}

.circle-2 {
    width: 100px;  /* Increased from 80px */
    height: 100px;
    bottom: 30%;
    left: 25%;
    animation-delay: -12s;
    border-width: 3px;
    opacity: 0.6;
}

/* Small floating dots - BIGGER AND BRIGHTER */
.geo-dot {
    width: 12px;   /* Increased from 8px */
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(0px);  /* Removed blur */
    opacity: 0.9;       /* Increased opacity */
    box-shadow: 0 0 10px var(--accent-glow);  /* Added glow */
}

.dot-1 { 
    top: 20%; 
    left: 30%; 
    animation-delay: -2s; 
    width: 10px; 
    height: 10px; 
}
.dot-2 { 
    top: 70%; 
    right: 30%; 
    animation-delay: -7s; 
    width: 14px; 
    height: 14px; 
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}
.dot-3 { 
    top: 45%; 
    left: 15%; 
    animation-delay: -15s; 
    width: 8px; 
    height: 8px; 
}
.dot-4 { 
    bottom: 20%; 
    right: 40%; 
    animation-delay: -10s; 
    width: 11px; 
    height: 11px; 
}

@keyframes geoFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
        opacity: 0.6;
    }
    33% { 
        transform: translate(30px, -40px) rotate(5deg); 
        opacity: 0.8;
    }
    66% { 
        transform: translate(-20px, 30px) rotate(-5deg); 
        opacity: 0.5;
    }
}

/* Ring shapes - MORE VISIBLE */
.geo-ring {
    position: absolute;
    border: 4px solid var(--accent);  /* Increased from 3px */
    border-radius: 50%;
    opacity: 0.5;  /* Increased from 0.3 */
    animation: ringPulse 8s ease-in-out infinite;
}

.ring-1 {
    width: 250px;  /* Increased from 200px */
    height: 250px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.ring-2 {
    width: 150px;  /* Increased from 120px */
    height: 150px;
    bottom: 15%;
    left: 5%;
    animation-delay: -4s;
    border-width: 3px;
}

@keyframes ringPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.15); 
        opacity: 0.25;
    }
}

/* Connection lines - MORE VISIBLE */
.shape-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;  /* Increased from 0.1 */
}

.line {
    position: absolute;
    height: 2px;   /* Increased from 1px */
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: lineMove 20s linear infinite;
}

.line-1 {
    width: 400px;  /* Increased from 300px */
    top: 25%;
    left: -50px;
    transform: rotate(25deg);
    animation-delay: 0s;
}

.line-2 {
    width: 350px;  /* Increased from 250px */
    top: 65%;
    right: -30px;
    transform: rotate(-15deg);
    animation-delay: -10s;
}

@keyframes lineMove {
    0% { opacity: 0; transform: translateX(-100px) rotate(25deg); }
    50% { opacity: 0.5; }
    100% { opacity: 0; transform: translateX(100px) rotate(25deg); }
}

/* THEME TOGGLE*/
#theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-rays {
    position: absolute;
    font-size: 20px;
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.moon {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    transform: scale(0) rotate(-90deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dark-mode .sun-rays {
    opacity: 0;
    transform: scale(0) rotate(90deg);
}

.dark-mode .moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.toggle-text {
    position: absolute;
    right: 70px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

#theme-toggle:hover .toggle-text {
    opacity: 1;
    transform: translateX(0);
}

/* HEADER  */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.5s ease;
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand h1 {
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

/*= MAIN & SECTIONS - GLASS CARDS*/
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    border-radius: 24px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

section h2 {
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}

/* ABOUT SECTION*/
.profile {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.profile figure {
    flex-shrink: 0;
    text-align: center;
    padding: 6px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 24px;
    box-shadow: 0 15px 35px var(--shadow);
    animation: profileFloat 6s ease-in-out infinite;
}

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

.profile img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    border: 4px solid var(--glass-bg);
    transition: transform 0.3s ease;
}

.profile:hover img {
    transform: scale(1.02);
}

figcaption {
    margin-top: 0.75rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.profile p {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    padding: 1.5rem;
    background: var(--glass-highlight);
    border-radius: 16px;
    border-left: 4px solid var(--accent);
}

/* SKILLS - GLASS CARDS*/
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
    background: var(--glass-highlight);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--glass-highlight);
    color: var(--text-body);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* EDUCATION - TIMELINE*/
.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    border-left: 4px solid var(--accent);
}

.edu-card:hover {
    transform: translateX(10px);
    background: var(--glass-highlight);
}

.edu-year {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.edu-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.edu-institution {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.edu-detail {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.edu-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.edu-status.ongoing {
    background: var(--accent-light);
    color: var(--accent);
}

.edu-status.completed {
    background: var(--glass-highlight);
    color: var(--text-muted);
}
  /* PROJECTS - GLASS CARDS*/
#projects article {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

#projects article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    border-radius: 20px 0 0 20px;
}

#projects article:hover {
    transform: translateY(-5px);
    background: var(--glass-highlight);
}

#projects article header {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}

#projects article header h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
}

#projects p {
    color: var(--text-body);
    margin-bottom: 1rem;
    line-height: 1.7;
}

details summary {
    cursor: pointer;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

details ul {
    margin-top: 1rem;
    margin-left: 1.5rem;
    color: var(--text-body);
    list-style: none;
}

details li {
    padding: 0.5rem 0;
    position: relative;
}

details li::before {
    content: '—';
    position: absolute;
    left: -1.5rem;
    color: var(--accent);
}

/* CONTACT SECTION */
#contact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

#contact > p {
    grid-column: 1;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
}

address {
    grid-column: 1;
    font-style: normal;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    line-height: 2.2;
    color: var(--text-body);
    border-left: 4px solid var(--accent);
    box-shadow: var(--glass-shadow);
    transition: all 0.5s ease;
}

address strong {
    color: var(--text-dark);
    font-weight: 600;
}

address a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

address a:hover {
    border-bottom-color: var(--accent);
    color: var(--text-dark);
}

#contact article {
    grid-column: 2;
    grid-row: 1 / span 3;
}

#contact article h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

fieldset {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

fieldset::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--glass-highlight), var(--accent-light));
}

legend {
    padding: 0 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
}

form p {
    margin-bottom: 1.25rem;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

abbr[title="required"] {
    color: #e74c3c;
    text-decoration: none;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--glass-highlight);
    color: var(--text-body);
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
    background: var(--glass-bg);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="checkbox"] {
    accent-color: var(--accent);
    margin-right: 0.5rem;
    width: auto;
}

button {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 1rem;
    font-weight: 500;
}

button[type="submit"] {
    background: var(--accent);
    color: white;
}

button[type="submit"]:hover {
    background: #5a6b59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

button[type="reset"] {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

button[type="reset"]:hover {
    background: var(--glass-highlight);
    color: var(--text-body);
}

/* FOOTER*/
footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
 /*  MOBILE RESPONSIVE*/
@media (max-width: 900px) {
    #contact {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    #contact article {
        grid-column: 1;
        grid-row: auto;
    }
    
    address {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile {
        flex-direction: column;
        align-items: center;
    }
    
    .bg-shapes {
        display: block;
    }
}

@media (max-width: 480px) {
    section {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    button {
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    #theme-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .edu-card:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 768px) {
    .bg-shapes {
        display: block;  /* Changed from none */
    }
    
    .shape-orb {
        opacity: 0.5;  /* Reduced but visible */
        filter: blur(60px);
    }
    
    .shape-geo {
        opacity: 0.3;
    }
    
    .geo-dot {
        opacity: 0.6;
    }
}

.brand p {
    border-right: 2px solid var(--accent);
    padding-right: 4px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    min-height: 1.5em;
    transition: border-color 0.3s ease;
}

/* Cursor blink animation when not typing */
@keyframes blink {
    0%, 50% { border-color: var(--accent); }
    51%, 100% { border-color: transparent; }
}

.brand p:not(.typing) {
    animation: blink 1s infinite;
}

/* Contact Form - Minimal & Clean */
#contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

#contact > p, #contact > address {
    grid-column: 1;
}

#contact form {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact input, #contact select, #contact textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-highlight);
    color: var(--text-body);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

#contact input:focus, #contact select:focus, #contact textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}

#contact button {
    padding: 0.9rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

#contact button:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

#contact button:disabled {
    opacity: 0.6;
    cursor: wait;
}

#form-status {
    margin: 0;
    font-size: 0.9rem;
    min-height: 1.2em;
}

#form-status.success { color: #27ae60; }
#form-status.error { color: #e74c3c; }

@media (max-width: 900px) {
    #contact { grid-template-columns: 1fr; }
    #contact form { grid-column: 1; grid-row: auto; }
}