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

:root {
    --primary-color: #8B5CF6;
    --secondary-color: #10B981;
    --accent-color: #EC4899;
    --light-bg: #FFFFFF;
    --dark-bg: #F9FAFB;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --gradient-1: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    --gradient-2: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
@keyframes navHighlight {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 28px;
        opacity: 1;
    }
}

.navbar {
    background: linear-gradient(180deg, rgba(249, 248, 255, 0.98) 0%, rgba(243, 244, 255, 0.98) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(113, 85, 255, 0.15);
    border-bottom: 2px solid rgba(113, 85, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: #5c54ff;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    padding: 0;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: #6f63ff;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: #2b2737;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.25s ease;
    padding: 0.75rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #9074ff 0%, #6f5bff 100%);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #6f5bff;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 28px;
    opacity: 1;
}

.nav-link.active {
    color: #6f5bff !important;
}

.nav-link.active::after {
    width: 28px;
    opacity: 1;
    animation: navHighlight 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2b2737;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 0;
    position: relative;
    background: var(--light-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.name {
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.about-learn-more {
    animation: learnMoreBounce 2.2s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.about-learn-more:hover {
    animation-play-state: paused;
    transform: translateY(-4px);
}

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

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

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* About Section */
.about {
    background: var(--dark-bg);
}

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

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease;
}

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

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

/* Skills Section */
.skills-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    justify-items: flex-start;
}

.skill-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    width: 70%;
    max-width: 160px;
    min-height: 120px;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.skill-card.highlighted {
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.35);
    border-color: #7C3AED;
    transform: translateY(-4px) scale(1.02);
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        rgba(124, 58, 237, 0.2),
        rgba(236, 72, 153, 0.5),
        rgba(124, 58, 237, 0.2)
    );
    animation: skillBorderSpin 3s linear infinite;
    z-index: -2;
}

.skill-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: white;
    z-index: -1;
}

@keyframes skillBorderSpin {
    to {
        transform: rotate(360deg);
    }
}

.skills-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    text-align: left;
}

.skills-banner {
    position: relative;
    padding: 1rem;
}

.skills-banner::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 130px;
    height: 130px;
    border: 2px dashed rgba(124, 58, 237, 0.5);
    border-radius: 18px;
    transform: translate(-35%, -35%);
}

.skills-banner__panel {
    position: relative;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 28px;
    padding: 3rem 3.5rem 2.8rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
    min-width: 320px;
}

.skills-banner__panel::after {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
    filter: blur(10px);
}

.skills-banner__header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.skills-banner__title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #7C3AED;
    line-height: 1;
}

.skills-banner__subtitle {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
    max-width: 160px;
}

.skills-banner__cta {
    margin-top: 2.5rem;
}

.skills-banner__cta-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.85rem;
    color: #C4A9FF;
    margin-bottom: 0.8rem;
}

.skills-banner__cta-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

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

    .skills-text {
        order: -1;
        padding-top: 0;
    }

    .skills-banner {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Services Section */
.services {
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Certifications Section */
.quality-work {
    background: #f8f4ff;
    position: relative;
    overflow: hidden;
}

.quality-work::before {
    content: '';
    position: absolute;
    top: 0;
    right: 15%;
    width: 55%;
    height: 120%;
    background: rgba(124, 58, 237, 0.05);
    transform: skewX(-18deg);
    pointer-events: none;
}

.quality-work .container {
    position: relative;
    z-index: 1;
}

.quality-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.quality-heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.quality-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #111827;
}

.quality-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1F2937;
}

.quality-tabs {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #374151;
}

.quality-tab {
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    color: inherit;
}

.quality-tab.active {
    color: var(--primary-color);
}

.quality-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .quality-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .quality-tabs {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cert-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    min-height: 260px;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cert-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
}

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

.cert-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.quality-more {
    display: flex;
    justify-content: right;
    margin: 0rem 0 1.5rem;
    margin-right: 170px;
}

.bouncy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2.5rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.35);
    animation: bounce 2s infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bouncy-btn:hover,
.bouncy-btn:focus-visible {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 35px rgba(147, 51, 234, 0.45);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Contact Section */
.contact {
    background: var(--gradient-1);
    color: white;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.subscribe-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-social h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

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

    .hero-buttons {
        justify-content: center;
    }

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

    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

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

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

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