/* ==========================================
   GLOBAL STYLES & VARIABLES
   ========================================== */

:root {
    --primary-color: #9333ea;
    --secondary-color: #ec4899;
    --tertiary-color: #06b6d4;
    --dark-bg: #1a1a2e;
    --dark-secondary: #16213e;
    --light-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

body.dark-mode {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    color: var(--text-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(147, 51, 234, 0.5), inset 0 0 5px rgba(147, 51, 234, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.8), inset 0 0 20px rgba(147, 51, 234, 0.2);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animate-slideInDown {
    animation: slideInDown 0.8s ease;
}

.animate-slideInUp {
    animation: slideInUp 0.8s ease;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

body.dark-mode .fixed-header {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-brand {
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.desktop-menu {
    display: flex !important;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

body.dark-mode .nav-link {
    color: #999;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-theme {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-theme:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

body.dark-mode .hamburger-line {
    background: var(--text-light);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none !important;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--light-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .mobile-menu {
    background: var(--dark-secondary);
}

.mobile-menu.active {
    display: flex !important;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .desktop-menu {
        display: none !important;
    }

    .nav-menu {
        gap: 1rem;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--text-light);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.title-line {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

.btn-submit {
    background: var(--primary-color);
    color: var(--text-light);
    width: 100%;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    opacity: 0.7;
}

.hero-scroll span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--text-light);
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 5px;
    background: var(--text-light);
    border-radius: 1px;
    animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
    0% {
        top: 5px;
        opacity: 1;
    }
    100% {
        top: 15px;
        opacity: 0;
    }
}

/* ==========================================
   SECTION STYLES
   ========================================== */

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

body.dark-mode .section-title {
    color: var(--text-light);
}

.section-title.light {
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    background: var(--light-bg);
    transition: var(--transition);
}

body.dark-mode .about {
    background: var(--dark-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

.image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.image-border {
    position: absolute;
    inset: -10px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

body.dark-mode .about-text p {
    color: #aaa;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

body.dark-mode .about-stats {
    border-color: #333;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

body.dark-mode .stat-label {
    color: #999;
}

.about-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ==========================================
   SKILLS SECTION
   ========================================== */

.skills {
    background: var(--light-bg);
    transition: var(--transition);
}

body.dark-mode .skills {
    background: var(--dark-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: var(--transition);
}

body.dark-mode .skill-category {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(236, 72, 153, 0.05));
    border-color: rgba(147, 51, 234, 0.3);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
    border-color: var(--primary-color);
}

.skill-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: default;
}

.skill-tag:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */

.projects {
    background: var(--light-bg);
    transition: var(--transition);
}

body.dark-mode .projects {
    background: var(--dark-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 249, 249, 0.9));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

body.dark-mode .project-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border-color: #333;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    overflow: hidden;
}

.project-content {
    padding: 2rem;
}

.project-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

body.dark-mode .project-title {
    color: var(--text-light);
}

.project-card:hover .project-title {
    color: var(--primary-color);
}

.project-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

body.dark-mode .project-description {
    color: #999;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(147, 51, 234, 0.15);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

.projects-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

body.dark-mode .projects-footer {
    border-color: #333;
}

.projects-footer p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

body.dark-mode .projects-footer p {
    color: #999;
}

.projects-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.projects-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.contact-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-methods h3,
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-method i {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-method h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-method a,
.contact-method p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-light);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.form-error {
    display: none;
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-error.show {
    display: block;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */

.newsletter {
    background: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

body.dark-mode .newsletter {
    background: var(--dark-secondary);
}

.newsletter h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

body.dark-mode .newsletter h2 {
    color: var(--text-light);
}

.newsletter p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

body.dark-mode .newsletter p {
    color: #999;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

body.dark-mode .newsletter-form input {
    background: var(--dark-bg);
    border-color: #333;
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    min-width: 150px;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

body.dark-mode .footer {
    background: #0a0a0a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .image-wrapper {
        width: 220px;
        height: 220px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        min-width: auto;
    }
}

/* ==========================================
   DARK MODE TRANSITIONS
   ========================================== */

body,
body.dark-mode {
    transition: background 0.5s ease, color 0.5s ease;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}
