* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #06B6D4;
    --accent-color: #F59E0B;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --gradient-1: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    --gradient-2: linear-gradient(135deg, #06B6D4 0%, #F59E0B 100%);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 22%),
        radial-gradient(circle at bottom right, rgba(245,158,11,0.14), transparent 18%),
        linear-gradient(135deg, #07112D 0%, #1E3A8A 55%, #06B6D4 100%);
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: white;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.45rem;
    color: #B9C4D8;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.05rem;
    color: #D1D9E6;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 640px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: #0EA5E9;
    color: white;
    box-shadow: 0 14px 40px rgba(14, 165, 233, 0.30);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(14, 165, 233, 0.40);
}

.btn-secondary {
    background: white;
    color: #0F172A;
    border: 2px solid #0EA5E9;
}

.btn-secondary:hover {
    background: #0EA5E9;
    color: white;
}

.animated-text {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    white-space: pre;
}

.animated-text span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);
    animation: revealLetter 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes revealLetter {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    display: flex;
    justify-content: center;
}

.social-card {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.15);
    backdrop-filter: blur(10px);
}

.social-card-title {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.social-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.twitter {
    background: #1DA1F2;
}

.social-icon:hover {
    transform: scale(1.08);
}

.social-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    padding: 80px 20px;
    background: white;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text h3 {
    margin: 2rem 0 1rem;
    color: var(--dark-color);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    padding: 8px 16px;
    border-radius: 25px;
    border-left: 3px solid var(--primary-color);
    font-weight: 500;
    color: var(--dark-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #666;
    margin-top: 0.5rem;
}

/* Experience/Timeline Section */
.experience {
    padding: 80px 20px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    color: var(--dark-color);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    margin-bottom: 4rem;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out forwards;
}

.timeline-item.right {
    animation: slideInRight 0.6s ease-out forwards;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item.left {
    margin-left: 0;
    margin-right: 52%;
    text-align: right;
}

.timeline-item.right {
    margin-left: 52%;
    margin-right: 0;
    text-align: left;
}

.timeline-item.left::after,
.timeline-item.right::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    top: 1.5rem;
    z-index: 10;
}

.timeline-item.left::after {
    right: -65px;
}

.timeline-item.right::after {
    left: -65px;
}

.timeline-item {
    position: relative;
}

.timeline-content {
    padding: 1.8rem;
    background: white;
    border-radius: 12px;
    border: 2px solid transparent;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: 12px;
    border: 2px dashed rgba(79, 70, 229, 0.2);
    pointer-events: none;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--dark-color);
}

.timeline-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.timeline-duration {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-tools {
    color: #555;
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

.timeline-divider {
    height: 2rem;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px dashed rgba(79, 70, 229, 0.15);
    border-radius: 15px;
    pointer-events: none;
}

.service-card:nth-child(1) {
    border-left: 4px solid var(--primary-color);
    border-top: 2px solid var(--secondary-color);
    transform: rotate(-0.5deg);
}

.service-card:nth-child(2) {
    border-right: 4px solid var(--accent-color);
    border-top: 4px solid var(--primary-color);
    transform: rotate(0.3deg);
}

.service-card:nth-child(3) {
    border-bottom: 4px solid var(--secondary-color);
    border-left: 2px solid var(--primary-color);
    transform: rotate(-0.4deg);
}

.service-card:nth-child(4) {
    border-right: 4px solid var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(0.5deg);
}

.service-card:nth-child(5) {
    border-top: 4px solid var(--secondary-color);
    border-left: 3px solid var(--primary-color);
    transform: rotate(-0.3deg);
}

.service-card:nth-child(6) {
    border-right: 3px solid var(--secondary-color);
    border-bottom: 4px solid var(--primary-color);
    transform: rotate(0.4deg);
}

.service-card:hover {
    transform: translateY(-10px) rotate(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: white;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px dashed rgba(79, 70, 229, 0.2);
    border-radius: 15px;
    pointer-events: none;
}

.info-card:nth-child(1) {
    border-left: 4px solid var(--primary-color);
    border-top: 2px solid var(--secondary-color);
    transform: rotate(-1deg);
}

.info-card:nth-child(2) {
    border-right: 3px solid var(--accent-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(0.8deg);
}

.info-card:nth-child(3) {
    border-left: 3px solid var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    transform: rotate(-0.6deg);
}

.info-card:nth-child(4) {
    border-right: 4px solid var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    transform: rotate(0.7deg);
}

.info-card:hover {
    transform: translateY(-5px) rotate(0deg);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.email-copy {
    display: grid;
    gap: 0.75rem;
    align-items: start;
}

.copy-instruction {
    color: #334155;
    font-size: 0.95rem;
}

.copy-btn {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.copy-btn:hover {
    transform: translateY(-2px);
    background: #4338CA;
}

.copy-feedback {
    color: #0F172A;
    font-size: 0.92rem;
    min-height: 1.2rem;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.info-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.info-card p {
    color: #666;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(226, 232, 240, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #E2E8F0;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(176, 137, 104, 0.9);
    box-shadow: 0 0 0 3px rgba(176, 137, 104, 0.12);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #E5E7EB;
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 70px 16px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.7rem;
        text-align: center;
        line-height: 1.1;
        word-break: break-word;
    }

    .hero-title .gradient-text {
        display: block;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
        text-align: center;
        font-size: 1rem;
    }

    .hero-image {
        display: none;
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 1.05rem;
        padding: 14px 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .social-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Mobile Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
        margin-bottom: 3rem;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 10px;
        right: auto;
    }

    .info-card:nth-child(1),
    .info-card:nth-child(2),
    .info-card:nth-child(3),
    .info-card:nth-child(4) {
        transform: rotate(0deg) !important;
    }

    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .service-card:nth-child(4),
    .service-card:nth-child(5),
    .service-card:nth-child(6) {
        transform: rotate(0deg) !important;
    }
}
