:root {
    --primary: #00e0c7;
    --primary-dark: #0088cc;
    --secondary: #0a192f;
    --accent: #ff4d7d;
    --text: #e6f1ff;
    --text-secondary: #ccd6f6;
    --bg: #0a192f;
    --bg-light: #112240;
    --bg-lighter: #233554;
    --card-bg: #112240;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-bg: rgba(10, 25, 47, 0.9);
    --hero-overlay: rgba(0, 0, 0, 0.7);
    --icon-color: #00e0c7;
    --gradient: linear-gradient(135deg, #00e0c7 0%, #6a00ff 100%);
    --gradient-horizontal: linear-gradient(90deg, #00e0c7 0%, #6a00ff 100%);
    
    --form-bg: #112240;
    --input-bg: #0a192f;
    --input-border: #233554;
    --input-focus: rgba(0, 224, 199, 0.2);
    
    --footer-bg: #0a192f;
    --footer-text: #ccd6f6;
    --footer-heading: #e6f1ff;
    --footer-link: #ccd6f6;
    --footer-link-hover: #00e0c7;
    --footer-border: rgba(200, 200, 200, 0.1);
    --footer-copyright: #8892b0;
}

[data-theme="light"] {
    --primary: #00a8cc;
    --primary-dark: #0077b6;
    --secondary: #ffffff;
    --accent: #ff2d75;
    --text: #343a40;
    --text-secondary: #495057;
    --bg: #f8f9fa;
    --bg-light: #e9ecef;
    --bg-lighter: #dee2e6;
    --card-bg: #ffffff;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --header-bg: rgba(248, 249, 250, 0.9);
    --hero-overlay: rgba(255, 255, 255, 0.8);
    --icon-color: #00a8cc;
    --gradient: linear-gradient(135deg, #00a8cc 0%, #6a00ff 60%);
    
    --form-bg: #ffffff;
    --input-bg: #ffffff;
    --input-border: #dee2e6;
    --input-focus: rgba(0, 168, 204, 0.2);
    
    --footer-bg: #ffffff;
    --footer-text: #495057;
    --footer-heading: #343a40;
    --footer-link: #6c757d;
    --footer-link-hover: #00a8cc;
    --footer-border: rgba(0, 0, 0, 0.1);
    --footer-copyright: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    transition: var(--transition);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 224, 199, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(106, 0, 255, 0.1) 0%, transparent 20%);
}

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

header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

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

.theme-toggle:hover {
    color: var(--primary);
    transform: rotate(30deg);
}

.hero {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), 
                url('https://images.pexels.com/photos/3163981/pexels-photo-3163981.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') center/cover no-repeat;
    color: var(--text);
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 0, 255, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 224, 199, 0.3);
}

.testimonials {
    padding: 6rem 0 4rem;
    background-color: var(--bg-light);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--text);
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.testimonial-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text);
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    left: -15px;
    top: -30px;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background-color: var(--bg-light);
}
    
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
    
.skill-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}
    
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
    
.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
    
.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    border-radius: 8px;
}
    
.skill-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}
    
.skill-progress {
    margin-top: 1rem;
}
    
.skill-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
    
.progress-bar {
    height: 10px;
    background-color: var(--bg-lighter);
    border-radius: 5px;
    overflow: hidden;
}
    
.progress-fill {
    height: 100%;
    background: var(--gradient-horizontal);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease-out;
}
    
.html { background-color: #E44D26; }
.css { background-color: #264DE4; }
.js { background-color: #F0DB4F; color: #323330; }
.react { background-color: #61DAFB; color: #20232A; }
.node { background-color: #68A063; }
.php { background-color: #777BB4; }
.laravel { background-color: #FF2D20; }
.bootstrap { background-color: #7952B3; }
.git { background-color: #F05032; }

/* About Section */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

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

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--input-focus);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.g-recaptcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

footer {
    background-color: var(--footer-bg);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-text {
    color: var(--footer-text);
    line-height: 1.7;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--footer-heading);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 20px;
    text-align: center;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    transform: translateX(5px);
}

.social-links a {
    text-decoration: none;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.7;
    z-index: -1;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link.snapchat { background: #FFFC00; color: #000; }
.social-link.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80); color: white; }
.social-link.twitter { background: #1DA1F2; color: white; }
.social-link.discord { background: #5865F2; color: white; }
.social-link.github { background: #a8afba; color: white; }

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-links a {
    color: var(--footer-link);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--footer-link-hover);
}

.copyright {
    color: var(--footer-copyright);
    font-size: 0.9rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--card-bg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-title {
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
}

.modal-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.modal-text h3 {
    margin: 2rem 0 1rem;
    color: var(--text);
    font-size: 1.5rem;
}

.modal-text p {
    margin-bottom: 1.5rem;
}

.modal-text a {
    color: var(--primary);
    text-decoration: none;
}

.modal-text a:hover {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: 90%;
    max-width: 800px;
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.5s ease;
}

.cookie-banner.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
    color: var(--text);
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.cookie-btn.accept {
    background: var(--gradient);
    color: white;
}

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

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

.hero-buttons .btn:hover {
    animation: float 1.5s ease-in-out infinite;
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

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

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .cookie-banner {
        padding: 1rem;
    }

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

    .cookie-btn {
        width: 100%;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.7rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
}