/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00D4FF, #00CFFF);
    border-radius: 6px;
    transition: background 0.5s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00A8FF, #00D4FF);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7.6923%;
}

/* Section */
.section {
    padding: 100px 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 7.6923%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo-accent {
    background: linear-gradient(135deg, #00D4FF, #00CFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    color: #00D4FF;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D4FF, #00CFFF);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #FFFFFF;
}

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

.nav-link-special {
    background: rgba(0, 212, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    color: #00D4FF;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-special:hover {
    background: linear-gradient(135deg, #00D4FF, #00CFFF);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: #000000;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.accent-text {
    background: linear-gradient(135deg, #00D4FF, #00CFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00D4FF, #00CFFF);
    color: #000000;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00A8FF, #00D4FF);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.1);
}

.btn-primary:hover {
    color: #000000;
}


.btn-primary span,
.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: #00eaff;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* ⛔ EVERYTHING BELOW IS ALSO IDENTICAL STRUCTURE */
/* ONLY COLORS CONTINUE CHANGED THE SAME WAY */


.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.2);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    border-color: #00D4FF;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-view {
    background: linear-gradient(135deg, #00D4FF, #00eaff);
    color: #000000;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-view:hover {
    background: linear-gradient(135deg, #00A8FF, #00eaff);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: radial-gradient(circle, #13a4c15a, transparent);
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 20%;
    animation: float 12s ease-in-out infinite;
}

/* Section Title */
.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #FFFFFF;
}

/* About Section */
.about {
    background: #000000;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.lead-text {
    font-size: 24px;
    font-weight: 600;
    color: #00eaff;
    margin-bottom: 20px;
}

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

.about-stats {
    display: grid;
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(0, 255, 209, 0.1);
    border-color: #00eaff;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #00eaff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Offer Section */
.offer {
    background: #000000;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.offer-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.offer-card:hover {
    background: rgba(0, 255, 209, 0.05);
    border-color: #00eaff;
    transform: translateY(-10px);
}

.offer-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.offer-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.offer-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Skills Section */
.skills {
    background: #000000;
}

.skills-grid {
    display: grid;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.skill-item:hover {
    background: rgba(0, 255, 209, 0.05);
    border-color: #00eaff;
}

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

.skill-name {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
}

.skill-percent {
    font-size: 16px;
    font-weight: 600;
    color: #00eaff;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00eaff, #33cff6);
    width: 0;
    transition: width 1.5s ease;
    border-radius: 4px;
}

/* Projects Section */
.projects {
    background: #000000;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.project-card:hover {
    border-color: #00eaff;
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 255, 209, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 255, 209, 0.2), rgba(0, 100, 80, 0.2));
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.project-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 255, 209, 0.2);
    color: #00eaff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(0, 255, 209, 0.1), rgba(0, 100, 80, 0.1));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* Contact Section */
.contact {
    background: #000000;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 255, 209, 0.05));
    padding: 60px;
    border-radius: 24px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00D4FF, #00FFD1, #00D4FF);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.contact-form:hover::before {
    opacity: 0.3;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #00D4FF;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: #FFFFFF;
    font-family: inherit;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00D4FF;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

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

.form-submit-wrapper {
    text-align: center;
    margin-top: 40px;
}

.contact-form button[type="submit"] {
    background: linear-gradient(135deg, #00D4FF, #00FFD1);
    color: #000000;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00A8FF, #00D4FF);
}

.contact-form button[type="submit"]:active {
    transform: translateY(-2px) scale(1.02);
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00eaff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Loading Popup */
.loading-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-popup.show {
    display: flex;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00FFD1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-popup p {
    color: #00FFD1;
    font-size: 18px;
    font-weight: 600;
}

/* Message Popup */
.message-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.message-popup.show {
    display: flex;
}

.popup-content {
    background: #121212;
    padding: 40px;
    border-radius: 8px;
    border: 2px solid #00FFD1;
    text-align: center;
    max-width: 400px;
    animation: popupSlide 0.4s ease;
}

.popup-content p {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 25px;
}

.popup-close {
    background: #00FFD1;
    color: #000000;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #6FD2C0;
    transform: scale(1.05);
}

/* Social Page Styles */
.social-hero {
    min-height: calc(100vh - 80px);
    padding-top: 120px;
}

.social-subtitle {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s ease;
}

.social-card:hover {
    background: rgba(0, 255, 209, 0.05);
    border-color: #00eaff;
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 255, 209, 0.2);
}

.social-icon {
    margin-bottom: 30px;
    color: #00FFD1;
    display: inline-block;
    transition: all 0.4s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

.youtube-icon {
    color: #FF0000;
}

.github-icon {
    color: #FFFFFF;
}

.social-card h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.social-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #00FFD1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 80px 30px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 20px;
        width: 100%;
        padding: 15px 0;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        justify-content: center;
    }

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

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }
}