/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 153, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5em;
    position: relative;
    padding-bottom: 0.5em;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0099ff);
    border-radius: 2px;
}

h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
}

p {
    margin-bottom: 0.8em;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0099ff;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1629 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.header-bg-decoration {
    position: absolute;
    top: 0;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 10s ease-in-out infinite;
    z-index: 0;
}

.header-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.header-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.header-tag {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00d4ff;
    margin-bottom: 20px;
    font-weight: 800;
}

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

.header-text h1 {
    color: white;
    margin-bottom: 0.3em;
    animation: fadeInDown 0.8s ease;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 1em;
    letter-spacing: 1px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2em;
    max-width: 500px;
}

.header-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-top: 25px;
}

.header-image {
    position: relative;
    z-index: 3;
}

.image-wrapper {
    position: relative;
    transform: skew(-5deg);
}

.profile-image {
    width: 100%;
    max-width: 80px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 153, 255, 0.06);
    animation: fadeInUp 0.8s ease 0.2s both;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.profile-image:hover {
    opacity: 1;
}

.image-decoration {
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(0, 153, 255, 0.15);
    border-radius: 20px;
    transform: skew(5deg);
}

.header-contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-btn {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #0a0e27;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10,14,39,0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn.secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: none;
}

.contact-btn.secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: white;
    color: white;
}

/* HERO */
.hero {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.hero-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.04), rgba(0, 153, 255, 0.04));
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.320, 1) 0.2s both;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero-box > * {
    position: relative;
    z-index: 1;
}

.hero-box h2 {
    color: #0a0e27;
    font-size: 2rem;
    margin-bottom: 1em;
}

.hero-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    font-weight: 300;
}

/* EXPERIENCE */
.experience {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.experience-item {
    background: white;
    padding: 40px;
    margin-bottom: 25px;
    border-radius: 16px;
    border-left: 5px solid #0099ff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    animation: slideInLeft 0.7s ease;
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.08), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 0;
}

.experience-item > * {
    position: relative;
    z-index: 1;
}

.experience-item:hover {
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.12);
    border-left-color: #0066cc;
}

.experience-item:hover::before {
    left: 100%;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.exp-header h3 {
    color: #0066cc;
    font-size: 1.15rem;
}

.date {
    background: #e8f4ff;
    color: #0066cc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.company {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.exp-details {
    list-style: none;
    margin-top: 15px;
}

.exp-details li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #555;
}

.exp-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #0099ff;
    font-weight: bold;
}

/* SKILLS */
.skills {
    padding: 100px 0;
    background: white;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.skill-category > * {
    position: relative;
    z-index: 1;
}

.skill-category:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
    transform: translateY(-5px);
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category h3 {
    margin-bottom: 15px;
    color: #0066cc;
    font-size: 1rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: white;
    color: #0066cc;
    padding: 10px 18px;
    border-radius: 25px;
    border: 2px solid #0066cc;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.skill-tag::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-tag > * {
    position: relative;
    z-index: 1;
}

.skill-tag:hover {
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-3px);
    border-color: transparent;
}

.skill-tag:hover::before {
    width: 250px;
    height: 250px;
}

.skill-tag:hover::after {
    opacity: 1;
}

/* BUSINESS */
.business {
    padding: 60px 0;
    background: #f8f9fa;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.business-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #0099ff;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 153, 255, 0.1) 0%, transparent 100%);
    transition: top 0.4s ease;
}

.business-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0099ff, transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.business-card > * {
    position: relative;
    z-index: 1;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
    border-top-color: #0066cc;
}

.business-card:hover::before {
    top: 0;
}

.business-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.business-card h3 {
    color: #0066cc;
    font-size: 0.95rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.business-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* PORTFOLIO */
.portfolio {
    padding: 60px 0;
    background: #f8f9fa;
}

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

.portfolio-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    padding: 40px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 153, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card > * {
    position: relative;
    z-index: 1;
}

.portfolio-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.portfolio-card h3 {
    color: #0a0e27;
    margin: 0 0 12px;
    font-size: 1.35rem;
    font-weight: 700;
}

.portfolio-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 300;
}

.portfolio-link {
    color: #0099ff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 50px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 153, 255, 0.3);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card:hover::after {
    opacity: 1;
}

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

.portfolio-card:hover .portfolio-link {
    color: #0066cc;
    transform: translateX(8px);
}

/* CONTACT */
.contact {
    padding: 60px 0;
    background: white;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 153, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-card:hover {
    background: #e8f4ff;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
    border-left-color: #0099ff;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card .icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.contact-card h3 {
    color: #0066cc;
    margin-bottom: 5px;
}

.contact-card p {
    color: #555;
    margin-bottom: 0;
}

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

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0099ff, #00d4ff);
    color: white;
    padding: 16px 44px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 12px 30px rgba(0, 153, 255, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn-primary > * {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 153, 255, 0.4), 0 0 40px rgba(0, 204, 255, 0.2);
    color: white;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* FOOTER */
.footer {
    background: #1a1a2e;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer p {
    margin-bottom: 0.5em;
    font-size: 0.95rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 153, 255, 0.6);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-contact {
        width: 100%;
        gap: 8px;
    }

    .contact-btn {
        flex: 1;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-item,
    .hero-box {
        padding: 20px;
    }

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

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-card {
        gap: 15px;
    }

    .contact-card .icon {
        font-size: 1.5rem;
    }

    .title {
        font-size: 1.05rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    .header {
        padding: 25px 0;
    }

    .hero,
    .experience,
    .skills,
    .business,
    .contact {
        padding: 40px 0;
    }

    .experience-item,
    .hero-box,
    .skill-category,
    .business-card,
    .contact-card {
        padding: 15px;
    }

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

    .skill-tag {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.95rem;
        width: 100%;
    }

    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-card .icon {
        margin: 0;
    }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #0099ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0066cc;
}
