:root {
    /* Color Palette - Professional Dark Mode */
    --bg-color: #0b1120;
    --bg-alt: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #3b82f6;
    --accent-hover: #60a5fa;
    --card-bg: #1e293b;
    --nav-bg: rgba(11, 17, 32, 0.85);
    
    /* UI Tokens */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --border-color: #334155;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-speed: 0.3s;
}

/* ====== Reset & General ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

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

/* ====== Typography & Utilities ====== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent-color);
}

.section {
    padding: 60px 10%; /* Reduced from 100px */
}

.section-header {
    text-align: center;
    margin-bottom: 40px; /* Reduced from 60px */
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-header h2 span {
    color: var(--accent-color);
}

.bg-alt {
    background-color: var(--bg-alt);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ====== Navigation ====== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10%; /* Reduced vertical padding from 20px to 12px */
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo a span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 5px;
    position: relative;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-left: auto; /* Pushes navigation to the right */
    margin-right: 0; /* Align to the far right corner */
}

.nav-cursor {
    position: absolute;
    height: calc(100% - 8px);
    background: var(--accent-color);
    border-radius: 50px;
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    pointer-events: none;
    top: 4px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 8px 18px;
    z-index: 1;
    color: var(--text-primary);
    transition: color 0.3s ease;
    display: block;
    border-radius: 50px;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
}

.nav-link::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

#theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color var(--transition-speed);
}

#theme-toggle:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ====== Hero Section ====== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 10% 40px; /* Reduced bottom padding */
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(11, 17, 32, 0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-bottom: 30px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.hero-container h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-gradient {
    padding: 14px 30px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline-white {
    padding: 14px 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.6);
    padding: 6px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-tag i {
    font-size: 1.1rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.hero-tag:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 
                0 0 15px rgba(59, 130, 246, 0.2);
}

.hero-tag:hover i {
    transform: rotate(10deg) scale(1.2);
    color: #fff;
}

.hero-tag:hover i {
    transform: rotate(10deg) scale(1.2);
    color: #fff;
}

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

.img-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 8px solid var(--bg-alt);
    position: relative;
    transition: transform 0.5s ease;
}

.img-container:hover {
    transform: scale(1.05);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ====== About Section ====== */
#about {
    padding-top: 40px; /* Reduced top padding */
}

#about .section-header {
    margin-bottom: 30px; /* Reduced gap between title and bio */
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image {
    flex: 0.8;
    display: flex;
    justify-content: flex-start;
}

.about-text {
    flex: 2;
    text-align: left;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.key-highlight {
    color: #3b82f6;
    font-weight: 600;
}

.about-education-new {
    margin-top: 40px;
    background: rgba(59, 130, 246, 0.03);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.about-education-new:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.about-education-new h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.edu-degree {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4px !important; /* Overriding general p margin */
}

.edu-info {
    font-size: 1.1rem;
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.edu-cgpa {
    color: #3b82f6;
    font-weight: 600;
}

.about-content strong {
    color: var(--text-primary);
}

/* ====== Skills Section ====== */
.skills-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card-new {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.skill-card-new:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.skill-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.skill-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-primary);
}

.skill-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-pill:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

@media screen and (max-width: 768px) {
    .skills-grid-new {
        grid-template-columns: 1fr;
    }
}

/* ====== Awards Section ====== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Reduced from 300px */
    gap: 20px; /* Reduced from 300px */
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px 20px; /* Reduced from 40px 30px */
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-card:hover {
    transform: translateY(-5px); /* Reduced from -10px */
    border-color: var(--accent-color);
    background-color: rgba(59, 130, 246, 0.05);
}

.skill-icon {
    font-size: 2rem; /* Reduced from 2.8rem */
    color: var(--accent-color);
    margin-bottom: 15px; /* Reduced from 20px */
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.skill-card h3 {
    font-size: 1.2rem; /* Reduced from 1.4rem */
    margin-bottom: 8px;
    color: var(--text-primary);
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 0.9rem; /* Reduced from 1rem */
    line-height: 1.4;
}

/* ====== Projects Section ====== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px; /* Reduced from 40px */
    max-width: 1200px;
    margin: 0 auto;
}

.project-card .role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.9); /* Initially zoomed out */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.05); /* Zooms in to fit/expand slightly on hover */
}

.project-content {
    padding: 20px; /* Reduced from 30px */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px; /* Reduced from 25px */
}

.tech-stack span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.05);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tech-stack span i {
    width: 22px;
    height: 22px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

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

/* ====== Experience Section ====== */
.experience-container {
    max-width: 1100px;
    margin: 0 auto;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Reduced from 30px */
    max-width: 1200px;
    margin: 0 auto;
}

/* Glow Card Base (Adapted for Vanilla CSS) */
[data-glow] {
    --border-size: calc(var(--border, 2) * 1px);
    --spotlight-size: calc(var(--size, 250) * 1px);
    --hue: calc(var(--base) + (var(--xp, 0) * var(--spread, 0)));
    background-image: radial-gradient(
        var(--spotlight-size) var(--spotlight-size) at
        calc(var(--x, 0) * 1px)
        calc(var(--y, 0) * 1px),
        hsl(var(--hue, 210) 100% 70% / 0.12), transparent
    );
    background-color: var(--backdrop, rgba(255, 255, 255, 0.03));
    background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
    background-position: 50% 50%;
    background-attachment: fixed;
    border: var(--border-size) solid rgba(255, 255, 255, 0.05);
    position: relative;
    touch-action: none;
}

[data-glow]::before,
[data-glow]::after {
    pointer-events: none;
    content: "";
    position: absolute;
    inset: calc(var(--border-size) * -1);
    border: var(--border-size) solid transparent;
    border-radius: calc(var(--radius) * 1px);
    background-attachment: fixed;
    background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
    background-repeat: no-repeat;
    background-position: 50% 50%;
    mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
    -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    -webkit-mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in, xor;
}

[data-glow]::before {
    background-image: radial-gradient(
        calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at
        calc(var(--x, 0) * 1px)
        calc(var(--y, 0) * 1px),
        hsl(var(--hue, 210) 100% 50% / 1), transparent 100%
    );
    filter: brightness(2);
}

[data-glow]::after {
    background-image: radial-gradient(
        calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at
        calc(var(--x, 0) * 1px)
        calc(var(--y, 0) * 1px),
        hsl(0 100% 100% / 1), transparent 100%
    );
}

.experience-card {
    --border: 1.5;
    --radius: 16;
    padding: 20px; /* Reduced from 30px */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed);
}

/* Specific Glow Colors */
.experience-card[data-color="blue"] { --base: 220; --spread: 200; }
.experience-card[data-color="purple"] { --base: 280; --spread: 300; }
.experience-card[data-color="green"] { --base: 120; --spread: 200; }

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.exp-role {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0;
}

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

.exp-org {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.experience-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== Certifications Section ====== */
.certifications-container {
    display: flex;
    justify-content: center;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--card-bg);
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.cert-badge .icon-box-3d i {
    color: #f59e0b; /* Gold accent for certificate */
}

.cert-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.cert-score {
    color: var(--text-secondary);
    margin: 0;
}

.cert-score strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* ====== Contact Section ====== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.02);
}

.contact-card-box:hover {
    transform: translateY(-5px) translateX(5px);
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--accent-color);
}



.contact-card-text h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card-text a, 
.contact-card-text span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.connect-with-me {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.connect-with-me h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.connect-with-me p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.social-grid-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.social-3d-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: #1e293b;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.social-3d-link i {
    font-size: 2.5rem;
}

.social-3d-link span {
    font-weight: 600;
    font-size: 1rem;
}

.social-3d-link.linkedin { color: #0077b5; }
.social-3d-link.github { color: #f0f6fc; }

.social-3d-link:hover {
    transform: translateY(-10px); /* Removed perspective and rotation */
    box-shadow: 0 20px 30px rgba(0,0,0,0.4);
    background: #2d3748;
}

.social-3d-link.linkedin:hover { box-shadow: 0 15px 30px rgba(0, 119, 181, 0.3); }
.social-3d-link.github:hover { box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1); }

@media screen and (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* ====== Footer ====== */
footer {
    background-color: var(--bg-alt);
    padding: 40px 10%;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.5rem;
}

.footer-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}



/* ====== Responsive Design ====== */
@media screen and (max-width: 992px) {
    .hero-container h1 {
        font-size: 4rem;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 80px 5%;
    }
    
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--nav-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }
    
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    
    .nav-links li {
        opacity: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 10;
    }
    
    .hero-container h1 {
        font-size: 3rem;
    }
    
    .img-container {
        width: 300px;
        height: 300px;
    }
    
    .cert-badge {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        border-radius: var(--radius-md);
    }
}

@media screen and (max-width: 480px) {
    .hero-container h1 {
        font-size: 2.5rem;
    }
    
    .img-container {
        width: 250px;
        height: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .btn-gradient, .btn-outline-white {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Hamburger Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}


