* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
    font-size: 0.7rem;
    color: #fff;
    font-weight: 900;
}

.logo-mark span {
    display: inline-block;
    line-height: 1;
    margin: 0 1px;
    font-size: 0.8rem;
}

.logo-text {
    font-size: 1.55rem;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
    gap: 4px;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hamburger-menu::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    pointer-events: none;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.hamburger-menu span {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hamburger-menu span:nth-child(1) {
    animation: slideIn1 0.5s ease-out;
}

.hamburger-menu span:nth-child(2) {
    animation: slideIn2 0.5s ease-out 0.1s both;
}

.hamburger-menu span:nth-child(3) {
    animation: slideIn3 0.5s ease-out 0.2s both;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger-menu.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6) 0%, rgba(102, 126, 234, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleEffect 0.8s ease-out;
    pointer-events: none;
}

@keyframes slideIn1 {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn2 {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes slideIn3 {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #37297f 100%);
    color: white;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
    min-height: 680px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    animation: heroFadeIn 1.1s ease-out;
}

.hero-content .greeting,
.hero-content .hero-title,
.hero-content .hero-role,
.hero-content .hero-subtitle,
.hero-content .cta-buttons,
.hero-content .hero-highlights {
    animation: slideUp 0.8s ease-out both;
}

.greeting {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    opacity: 0.95;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-role {
    font-size: clamp(1rem, 2vw, 1.6rem);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    margin-bottom: 1.8rem;
    opacity: 0.95;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.6rem;
}

.hero-highlights div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: center;
}

.hero-highlights i {
    color: #f9f9f9;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    border: 3px solid rgba(255,255,255,0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    object-fit: cover;
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-14px);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 40px;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-button::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;
    pointer-events: none;
    z-index: 1;
}

.cta-button:hover::before {
    left: 100%;
    animation: shine 0.6s ease;
}

.cta-button.primary {
    background: white;
    color: #4f46a2;
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
}

.cta-button.primary:hover,
.cta-button.primary.hovering,
.cta-button.primary.clicked {
    transform: translateY(-5px) scaleY(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4), 0 0 30px rgba(102, 126, 234, 0.3);
}

.cta-button.secondary,
.cta-button.secondary.hovering,
.cta-button.secondary.clicked {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.68);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.1);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-5px) scaleY(1.05);
    box-shadow: 0 18px 45px rgba(102, 126, 234, 0.35);
    border-color: rgba(255, 255, 255, 1);
}

.cta-button:active {
    transform: translateY(-2px) scaleY(0.98);
}

.cta-button a {
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4), 0 0 30px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.6), 0 0 40px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4), 0 0 30px rgba(102, 126, 234, 0.3);
    }
}

.cta-button.primary.hovering {
    animation: buttonPulse 1.2s ease-in-out infinite;
}

.cta-button.secondary.hovering {
    animation: secondaryPulse 1.2s ease-in-out infinite;
}

@keyframes secondaryPulse {
    0% {
        box-shadow: 0 18px 45px rgba(102, 126, 234, 0.35);
    }
    50% {
        box-shadow: 0 18px 55px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 18px 45px rgba(102, 126, 234, 0.35);
    }
}

.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape1,
.shape2,
.shape3 {
    opacity: 0.12;
}

.shape1 {
    background: rgba(255, 255, 255, 0.25);
}

.shape2 {
    background: rgba(255, 255, 255, 0.2);
}

.shape3 {
    background: rgba(255, 255, 255, 0.18);
}

.animated-code {
    position: absolute;
    font-size: 8rem;
    color: rgba(255,255,255,0.05);
    top: 45%;
    right: 8%;
    font-weight: 900;
    letter-spacing: -2px;
    animation: float 10s ease-in-out infinite;
}

@media (min-width: 992px) {
    .hero-inner {
        grid-template-columns: 1.05fr 1fr;
        gap: 3rem;
        align-items: center;
        text-align: left;
    }

    .hero-content {
        text-align: left;
    }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.shape1 {
    width: 200px;
    height: 200px;
    background: white;
    top: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape2 {
    width: 150px;
    height: 150px;
    background: white;
    bottom: 15%;
    left: 10%;
    animation: float 10s ease-in-out infinite 2s;
}

.shape3 {
    width: 180px;
    height: 180px;
    background: white;
    top: 50%;
    left: 50%;
    animation: float 9s ease-in-out infinite 1s;
}

.animated-code {
    position: absolute;
    font-size: 10rem;
    color: rgba(255,255,255,0.03);
    top: 50%;
    right: 10%;
    font-weight: 900;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: white;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Experience Timeline */
.experience {
    background: #f7f9ff;
    padding: 100px 20px;
}

.timeline {
    position: relative;
    margin: 50px 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    width: 50%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
    border: 1px solid #e8ecf5;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    animation: slideUp 0.7s ease-out;
}

.timeline-item:nth-child(odd) {
    left: 0;
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    margin-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 4px solid #f7f9ff;
    box-shadow: 0 0 0 2px #fff;
}

.timeline-item:nth-child(odd)::before {
    left: -12px;
}

.timeline-date {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.timeline-content h3 {
    margin-bottom: 0.6rem;
    color: #233259;
}

.timeline-content p {
    margin-bottom: 0.8rem;
    color: #4b548a;
    line-height: 1.7;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: #4b548a;
}

.timeline-content ul li {
    margin-bottom: 0.4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    animation: slideUp 0.8s ease-out;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓ ';
    color: #667eea;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 40%, #dde9f8 100%);
    padding: 90px 20px 120px;
}

.skills-banner-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    justify-items: center;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 1rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.skills-banner-title {
    color: #1f2a56;
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-banner {
    width: 100%;
    max-width: 780px;
    height: auto;
    border-radius: 18px;
    border: 3px solid rgba(102,126,234,0.4);
    box-shadow: 0 18px 34px rgba(102,126,234,0.25);
    animation: float 8s ease-in-out infinite;
    object-fit: cover;
    display: block;
}

.skills-banner-fallback {
    display: none;
    width: 100%;
    max-width: 780px;
    font-weight: 600;
    background: #eef4ff;
    color: #1b2f65;
    text-align: center;
    padding: 0.85rem 1rem;
    border: 1px dashed rgba(102,126,234,0.7);
    border-radius: 14px;
    margin-bottom: 0.7rem;
}

.skills-banner-text {
    max-width: 840px;
    color: #2b3a66;
    font-size: clamp(0.96rem, 1.2vw, 1.14rem);
    line-height: 1.65;
    margin: 0 auto;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.skills-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-group {
    background: rgba(255,255,255,0.95);
    padding: 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(102,126,234,0.15);
    box-shadow: 0 12px 30px rgba(50,63,92,0.14);
    backdrop-filter: blur(2px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: scaleIn 0.6s ease-out both;
}

.skill-group:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(50,63,92,0.2);
}

.skill-group h3 {
    color: #384e8c;
    margin-bottom: 1.3rem;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.skill-group h3::before {
    content: '\f121';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.35rem;
    color: #667eea;
    font-size: 1.1rem;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-item span {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    animation: progressFill 1s ease-out forwards;
}

@keyframes progressFill {
    from {
        width: 0% !important;
    }
}

.skill-item {
    animation: slideUp 0.8s ease-out both;
    opacity: 0;
}

.skill-item:nth-child(1) { animation-delay: 0.15s; }
.skill-item:nth-child(2) { animation-delay: 0.25s; }
.skill-item:nth-child(3) { animation-delay: 0.35s; }
.skill-item:nth-child(4) { animation-delay: 0.45s; }

.skill-item span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-item span::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #667eea;
    font-size: 0.6rem;
}

/* Projects Section */
.projects {
    padding: 100px 20px;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-content {
    padding: 1.8rem;
}

.project-card h3 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.project-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.4rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
}

.about .section-title {
    animation: slideUp 0.8s ease-out;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(34, 65, 126, 0.2);
    animation: float 8s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-text {
    animation: slideUp 0.85s ease forwards;
}

.about-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.about-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    margin: 1.3rem 0 1.8rem;
}

.highlight-card {
    background: linear-gradient(135deg, #ffffff, #ecf2ff);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 14px;
    padding: 0.9rem 0.8rem;
    box-shadow: 0 10px 24px rgba(28,57,120,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: slideUp 0.8s ease-out both;
}

.highlight-card:nth-child(1) { animation-delay: 0.2s; }
.highlight-card:nth-child(2) { animation-delay: 0.3s; }
.highlight-card:nth-child(3) { animation-delay: 0.4s; }

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(28,57,120,0.13);
}

.highlight-card h4 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.highlight-card p {
    font-size: 0.9rem;
    color: #4c5a7d;
    line-height: 1.4;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.7rem;
}

.stat {
    text-align: center;
    padding: 1.2rem 0.9rem;
    background: rgba(255,255,255,0.22);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
    animation: scaleIn 0.6s ease-out both;
}

.stat:nth-child(1) { animation-delay: 0.5s; }
.stat:nth-child(2) { animation-delay: 0.6s; }
.stat:nth-child(3) { animation-delay: 0.7s; }

.stat-number {
    font-size: 2.1rem;
    color: #1f3f93;
}

.stat-label {
    font-size: 0.9rem;
    color: #263b6e;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f9fbff 0%, #e6edff 100%);
    padding: 110px 20px 120px;
}

.contact .section-title {
    animation: slideUp 0.8s ease-out;
}

.contact .section-subtitle {
    animation: slideUp 0.8s ease-out 0.1s both;
}

.contact-layout-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 3rem;
    animation: slideUp 0.8s ease-out;
}

.contact-visual {
    background: white;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(58, 90, 157, 0.18);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.24);
    padding: 1.2rem;
    text-align: center;
    animation: scaleIn 0.7s ease-out;
}

.contact-visual img {
    width: 100%;
    max-width: 720px;
    border-radius: 16px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: float 8s ease-in-out infinite;
}

.contact-visual img {
    width: 100%;
    max-width: 720px;
    border-radius: 16px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contact-visual p {
    color: #303b67;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.6;
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.info-item {
    padding: 1.4rem;
    background: linear-gradient(135deg, #ffffff, #f3f7ff);
    border-radius: 14px;
    border: 1px solid rgba(102, 126, 234, 0.22);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out both;
}

.info-item:nth-child(1) { animation-delay: 0.3s; }
.info-item:nth-child(2) { animation-delay: 0.4s; }
.info-item:nth-child(3) { animation-delay: 0.5s; }
.info-item:nth-child(4) { animation-delay: 0.6s; }

.info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(58, 90, 157, 0.2);
}

.info-item i {
    font-size: 1.9rem;
    color: #4f60af;
    margin-bottom: 0.8rem;
}

.info-item h3 {
    color: #273462;
    margin-bottom: 0.6rem;
}

.info-item p {
    color: #4f597f;
    margin: 0.3rem 0;
}

.info-item a {
    color: #3f4dbd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #1d2f8f;
    text-decoration: underline;
}

.social-info h3 {
    color: #273462;
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(102, 126, 234, 0.24);
    background: white;
    box-shadow: 0 10px 30px rgba(58, 90, 157, 0.11);
    animation: scaleIn 0.7s ease-out 0.4s both;
}

.contact-form input,
.contact-form textarea {
    padding: 0.95rem;
    border: 1px solid #d6dbf2;
    border-radius: 10px;
    background: #fff;
}

.submit-btn {
    background: linear-gradient(135deg, #4d68bf 0%, #5e7ad8 100%);
    color: white;
    padding: 0.95rem;
    box-shadow: 0 8px 20px rgba(69, 103, 177, 0.35);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 26px rgba(69, 103, 177, 0.42);
}

@media (min-width: 992px) {
    .contact-layout-wrap {
        grid-template-columns: 0.95fr 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: white;
    padding: 4rem 20px 2rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%) 1;
}

/* Hire-me modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 14, 39, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    overflow-y: auto;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    padding: 1.8rem;
    padding-top: 3.9rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    position: relative;
    border: 1px solid rgba(129, 148, 197, 0.18);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #9db4e8 #eef4ff;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #1b2a57;
    font-size: 1.7rem;
}

.work-modal-content {
    max-width: 560px;
}

.phone-choice-content {
    max-width: 460px;
}

.work-modal-text {
    margin: 0 0 1rem;
    color: #5a678f;
    font-size: 0.96rem;
    line-height: 1.6;
}

.work-links-list {
    display: grid;
    gap: 0.9rem;
}

.work-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    text-decoration: none;
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    border: 1px solid #d7e2fb;
    color: #1b2a57;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.work-link-item strong {
    color: #2563eb;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.work-link-item:hover {
    transform: translateY(-2px);
    border-color: #7aa2ff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.hire-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.hire-method-label {
    grid-column: 1 / -1;
    margin: 0;
    color: #22356b;
    font-weight: 700;
    font-size: 0.95rem;
}

.hire-method-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border: 1px solid #c6cee3;
    border-radius: 12px;
    cursor: pointer;
    background: #f8faff;
    color: #1b2a57;
    font-weight: 600;
    transition: all 0.25s ease;
}

.hire-method-option:has(input:checked) {
    border-color: #667eea;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fbff 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.16);
}

.hire-method-option:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.hire-method-option input {
    accent-color: #667eea;
}

.contact-number-trigger {
    border: none;
    background: none;
    padding: 0;
    color: #2563eb;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-number-trigger:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

.contact-number-trigger:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.2);
    outline-offset: 4px;
    border-radius: 6px;
}

.phone-choice-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.phone-choice-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 64px;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
}

.phone-choice-action i {
    font-size: 1.2rem;
}

.phone-choice-action:hover {
    transform: translateY(-2px);
}

.whatsapp-action {
    background: linear-gradient(135deg, #ebfff4 0%, #d8fbe8 100%);
    border-color: #9ce0b8;
    color: #116534;
    box-shadow: 0 14px 28px rgba(17, 101, 52, 0.1);
}

.call-action {
    background: linear-gradient(135deg, #f8faff 0%, #eaf1ff 100%);
    border-color: #c8d8ff;
    color: #1d4ed8;
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.1);
}

.hire-method-hint {
    margin: 0 0 0.9rem;
    color: #5a678f;
    font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f8fbff 0%, #e9f1ff 100%);
    border: 1px solid #d3def7;
    color: #28417b;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(40, 65, 123, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.modal-close:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(135deg, #eef4ff 0%, #dce9ff 100%);
    box-shadow: 0 14px 28px rgba(40, 65, 123, 0.18);
}

.modal-close:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.28);
    outline-offset: 2px;
}

.modal-close span {
    transform: translateY(-1px);
}

#hire-form input,
#hire-form textarea {
    width: 100%;
    border: 1px solid #c6cee3;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.85rem;
    outline: none;
    font-size: 0.95rem;
}

#hire-form .submit-btn {
    width: 100%;
    margin-top: 0.45rem;
}

#hire-form .submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 520px) {
    .hire-methods {
        grid-template-columns: 1fr;
    }

    .phone-choice-actions {
        grid-template-columns: 1fr;
    }
}


.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    animation: slideUp 0.8s ease-out both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    margin-bottom: 0.6rem;
}

.footer-logo .footer-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
}

.footer-logo .logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .logo-sub {
    font-size: 0.72rem;
    color: #b8c5d6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-logo p {
    color: #b8c5d6;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #b8c5d6;
    font-size: 0.95rem;
}

.contact-item i {
    color: #667eea;
    width: 18px;
    font-size: 1rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    color: #b8c5d6;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.footer-newsletter p {
    color: #b8c5d6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    display: flex;
    gap: 0.5rem;
    max-width: 280px;
}

.newsletter-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.newsletter-input input::placeholder {
    color: #888;
}

.newsletter-input input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.newsletter-input button {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.newsletter-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-copyright p {
    color: #888;
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.footer-copyright p i {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #667eea;
}

.footer-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    animation: float 8s ease-in-out infinite;
}

.footer-shape.shape1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.footer-shape.shape2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    animation-delay: 2s;
}

.footer-shape.shape3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: -75px;
    animation-delay: 4s;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-section:nth-child(1) {
        grid-column: 1 / -1;
    }

    .newsletter-input {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 20px 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
    }

    .footer-contact {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .newsletter-input {
        flex-direction: column;
        gap: 0.8rem;
    }

    .newsletter-input button {
        align-self: stretch;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-shape.shape1 {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
    }

    .footer-shape.shape2 {
        width: 150px;
        height: 150px;
        bottom: -75px;
        left: 5%;
    }

    .footer-shape.shape3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 15px 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .newsletter-input input,
    .newsletter-input button {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile Styles */
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        list-style: none;
        padding: 2rem 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 101;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-container {
        justify-content: space-between;
    }

    /* Other mobile styles */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding: 0 10px;
    }

    .timeline::before {
        left: 0;
        width: 4px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        margin-left: 0;
        padding-left: 60px;
        margin-bottom: 2.5rem;
    }

    .timeline-item::before {
        left: 18px;
    }

    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 18px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .skills-row {
        grid-template-columns: 1fr;
    }

    /* Services & Expertise mobile alignment fix */
    .services {
        padding: 60px 15px;
    }

    .section-title {
        text-align: center;
        font-size: 2rem;
    }

    .section-subtitle {
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .service-icon {
        margin: 0 auto 1rem;
    }
}

/* Additional mobile navbar fixes */
@media (max-width: 992px) {
    .hamburger-menu {
        display: flex !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        flex-direction: column !important;
        list-style: none !important;
        padding: 2rem 0 !important;
        gap: 0 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 101 !important;
        overflow-y: auto !important;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
    }

    .nav-link {
        display: block !important;
        padding: 1rem 2rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        font-size: 1.1rem !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hamburger-menu {
        width: 45px !important;
        height: 45px !important;
        padding: 10px !important;
    }
    
    .hamburger-menu span {
        width: 20px !important;
    }
    
    .nav-menu {
        top: 65px !important;
        height: calc(100vh - 65px) !important;
    }
    
    .nav-link {
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Responsive entrance motion */
body.js-motion {
    --reveal-distance: 72px;
    --reveal-duration: 880ms;
    --reveal-scale: 0.985;
    --reveal-blur: 12px;
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-motion.motion-mobile {
    --reveal-distance: 36px;
    --reveal-duration: 620ms;
    --reveal-scale: 0.995;
    --reveal-blur: 7px;
}

body.js-motion.motion-desktop {
    --reveal-distance: 88px;
    --reveal-duration: 960ms;
}

body.js-motion .hero-content,
body.js-motion .service-card,
body.js-motion .project-card,
body.js-motion .skill-group,
body.js-motion .highlight-card,
body.js-motion .stat,
body.js-motion .info-item,
body.js-motion .footer-section,
body.js-motion .footer-bottom {
    animation: none !important;
}

body.js-motion [data-reveal] {
    animation: none !important;
    opacity: 0;
    transform: translate3d(0, var(--reveal-distance), 0) scale(var(--reveal-scale));
    filter: blur(var(--reveal-blur));
    transition:
        opacity var(--reveal-duration) var(--reveal-ease) var(--reveal-delay, 0ms),
        transform var(--reveal-duration) var(--reveal-ease) var(--reveal-delay, 0ms),
        filter var(--reveal-duration) ease var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

body.js-motion [data-reveal][data-reveal-origin="top"] {
    transform: translate3d(0, calc(var(--reveal-distance) * -0.7), 0) scale(var(--reveal-scale));
}

body.js-motion [data-reveal][data-reveal-origin="left"] {
    transform: translate3d(calc(var(--reveal-distance) * -0.7), 0, 0) scale(var(--reveal-scale));
}

body.js-motion [data-reveal][data-reveal-origin="right"] {
    transform: translate3d(calc(var(--reveal-distance) * 0.7), 0, 0) scale(var(--reveal-scale));
}

body.js-motion [data-reveal][data-reveal-origin="bottom-left"] {
    transform: translate3d(calc(var(--reveal-distance) * -0.68), calc(var(--reveal-distance) * 0.72), 0) scale(var(--reveal-scale));
}

body.js-motion [data-reveal][data-reveal-origin="bottom-right"] {
    transform: translate3d(calc(var(--reveal-distance) * 0.68), calc(var(--reveal-distance) * 0.72), 0) scale(var(--reveal-scale));
}

body.js-motion [data-reveal][data-reveal-origin="top-left"] {
    transform: translate3d(calc(var(--reveal-distance) * -0.68), calc(var(--reveal-distance) * -0.72), 0) scale(var(--reveal-scale));
}

body.js-motion [data-reveal][data-reveal-origin="top-right"] {
    transform: translate3d(calc(var(--reveal-distance) * 0.68), calc(var(--reveal-distance) * -0.72), 0) scale(var(--reveal-scale));
}

body.js-motion [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

body.js-motion .hero-highlights {
    transition-duration: calc(var(--reveal-duration) + 120ms);
}

body.js-motion.motion-mobile .hero-highlights,
body.js-motion.motion-mobile .cta-buttons,
body.js-motion.motion-mobile .skills-banner-wrap {
    transition-duration: calc(var(--reveal-duration) + 40ms);
}

@media (prefers-reduced-motion: reduce) {
    body.js-motion [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}
