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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #0f1235 50%, #1a1f4e 100%);
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Navbar Styles */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.navbar.scrolled {
    background: rgba(5, 8, 22, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    padding: 0.5rem 0;
    border-bottom-color: rgba(255, 215, 0, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo span {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo a:hover {
    transform: scale(1.05);
    display: inline-block;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
    box-shadow: 0 0 5px #ffd700;
}

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

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
}

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 2rem 2rem;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.greeting {
    font-size: 1rem;
    color: #ffd700;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.highlight {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.typing-wrapper {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.typed {
    color: #ffd700;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #0a0e27;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: none;
}

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

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background: #ffd700;
    color: #0a0e27;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.image-wrapper {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.image-wrapper i {
    font-size: 8rem;
    color: #ffd700;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.floating-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -20px;
    right: -20px;
    animation: morph 8s ease-in-out infinite;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.floating-shape-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.06);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: -20px;
    left: -20px;
    animation: morph 6s ease-in-out infinite reverse;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

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

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

.subtitle {
    font-size: 0.9rem;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.underline {
    width: 60px;
    height: 3px;
    background: #ffd700;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 8px #ffd700;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0c0f2a 0%, #0a0e27 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.about-content {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-card {
    background: rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.image-card:hover {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.image-card i {
    font-size: 8rem;
    color: #ffd700;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-item i {
    width: 30px;
    color: #ffd700;
}

.skills h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-item span {
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.skill-progress {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    box-shadow: 0 0 5px #ffd700;
}

/* Portfolio Section */
.portfolio {
    background: #0a0e27;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffd700;
    color: #0a0e27;
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

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

.portfolio-card {
    background: rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.5rem;
    text-align: center;
    background: rgba(10, 14, 39, 0.95);
}

.portfolio-info h3 {
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffd700;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    color: #ffffff;
    gap: 10px;
}

.portfolio-link i {
    font-size: 0.8rem;
    transition: margin 0.3s ease;
}

/* WhatsApp Link */
.wa-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.wa-link i {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffd700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.wa-link:hover i {
    transform: scale(1.1);
    background: #ffd700;
    color: #0a0e27;
    border-color: #ffd700;
}

.wa-link span {
    color: rgba(255, 255, 255, 0.7);
}

/* Certificates Section */
.certificates {
    background: linear-gradient(135deg, #0c0f2a, #0a0e27);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.certificate-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.certificate-link-item:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.cert-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon i {
    font-size: 1.6rem;
    color: #ffd700;
}

.cert-detail {
    flex: 1;
}

.cert-detail h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.cert-detail p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.cert-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #0a0e27;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.cert-link-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #0c0f2a 0%, #0a0e27 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.service-card {
    background: rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 2rem;
    color: #0a0e27;
}

.service-card h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: #050816;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    background: #0a0e27;
}

.contact-content {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffd700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.contact-item:hover i {
    transform: scale(1.1);
    background: #ffd700;
    color: #0a0e27;
    border-color: #ffd700;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.social-links a:hover {
    background: #ffd700;
    color: #0a0e27;
    transform: translateY(-3px);
    border-color: #ffd700;
}

/* Footer */
.footer {
    background: #050816;
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

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

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

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

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }

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

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1rem;
    }

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

    .typing-wrapper {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    /* Certificates Responsive */
    .certificate-link-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .cert-detail {
        text-align: center;
    }
    
    .cert-link-btn {
        white-space: normal;
    }
}
