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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    background: linear-gradient(to bottom, #0a0a1a 0%, #2a1a4a 50%, #0a0a1a 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

/* Scroll Animation Classes */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

/* Directional Slide-In Animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-150px);
    transition: opacity 1.2s cubic-bezier(0.34, 1.20, 0.64, 1), transform 1.2s cubic-bezier(0.34, 1.20, 0.64, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(150px);
    transition: opacity 1.2s cubic-bezier(0.34, 1.20, 0.64, 1), transform 1.2s cubic-bezier(0.34, 1.20, 0.64, 1);
}

.slide-in-active {
    opacity: 1;
    transform: translateX(0);
}

/* Portfolio Subtle Slide Animations - Wrapper divs handle opacity */
.portfolio-slide-left {
    opacity: 0 !important;
    transform: translateX(-80px);
    transition: opacity 1.5s ease-out, transform 0.6s ease-out !important;
}

.portfolio-slide-right {
    opacity: 0 !important;
    transform: translateX(80px);
    transition: opacity 1.5s ease-out, transform 0.6s ease-out !important;
}

.portfolio-slide-active {
    opacity: 1 !important;
    transform: translateX(0);
}

/* Staggered Delays */
.delay-1 {
    transition-delay: 0.15s;
}

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

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

/* 3D Card Flip Animation */
.flip-card {
    opacity: 0;
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition-property: transform, opacity;
    transition-duration: 1.2s;
    transition-timing-function: cubic-bezier(0.6, 0.05, 0.36, 1);
}

.flip-active {
    opacity: 1;
    transform: rotateY(0deg);
}

/* Icon Flip Animation */
.flip-icon {
    opacity: 0;
    transform: rotateY(180deg);
    transition-property: transform, opacity;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
    transition-delay: 0.7s;
}

.flip-icon-delay-1 {
    transition-delay: 0.85s;
}

.flip-icon-delay-2 {
    transition-delay: 1s;
}

.flip-active .flip-icon {
    opacity: 1;
    transform: rotateY(0deg);
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.nav-logo img,
.nav-logo svg {
    height: 50px;
    width: auto;
}

/* .nav-logo svg path {
    fill: rgba(255, 255, 255, 0.7);
} */

.nav-logo svg path[stroke] {
    stroke: rgba(255, 255, 255, 0.7);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
    max-width: 100%;
    flex-wrap: nowrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #e91e63;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link:hover {
    color: #CB9A51;
}

.nav-cta {
    font-weight: 500;
}

/* Hide Home link on desktop - only show in mobile menu */
.nav-mobile-only {
    display: none;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Intro Section */
.intro-section {
    padding: 60px 0 100px;
}

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

/* Pill Badge */
.pill-badge {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.pill-badge span {
    background: rgba(98, 53, 209, 0.3);
    border: 1px solid rgba(98, 53, 209, 0.5);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 400;
    color: white;
}

/* Two Column Layout */
.intro-columns {
    display: flex;
    gap: 60px;
    align-items: center;
}

.intro-left {
    flex: 2;
}

.intro-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    perspective: 2000px;
    perspective-origin: 50% 50%;
}

/* Heading */
.intro-heading {
    margin-bottom: 30px;
}

.heading-text {
    display: flex;
    flex-direction: column;
}

.heading-image-mobile {
    display: none;
}

.heading-line-1 {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    color: white;
    margin-bottom: 10px;
}

.heading-line-2 {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.2s ease-in-out;
}

.heading-line-2.word-fade {
    opacity: 0;
}

/* Body Text */
.intro-body {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Buttons */
.intro-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    font-size: 1.125rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline {
    background: transparent;
    border: 2px solid #6035d1;
    color: white;
}

.btn-outline:hover {
    background: #6035d1;
    transform: translateY(-2px);
}

.btn-filled {
    background: white;
    color: #1a0b2e;
    border: 2px solid white;
}

.btn-filled:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Animation */
.intro-animation {
    width: 105%;
    max-width: none;
    height: auto;
    transform: translateX(100vw) scale(0.9);
    opacity: 0;
    filter: blur(25px);
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.7s ease-out, filter 0.7s ease-out;
}

/* Slide in from right with blur-to-focus */
.intro-animation-slide-in {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0px);
}

/* Coin Flip Animation */
.intro-animation-flip {
    animation: coinFlip 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
    animation-direction: reverse;
}

@keyframes coinFlip {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Services Section */
.services-section {
    padding: 120px 0 140px;
}

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

.services-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-panels {
    display: flex;
    gap: 40px;
    perspective: 1500px;
}

.card-wrapper {
    flex: 1;
    position: relative;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 15, 128, 0.1);
    border-radius: 16px;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.card-bg.bg-hidden {
    opacity: 0;
}

.service-panel {
    text-align: center;
    padding: 40px 30px;
    background: rgba(131, 28, 151, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.service-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tech-logo {
    width: 40px;
    height: 40px;
}

/* About Me Section */
.about-section {
    padding: 120px 0 140px;
}

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

.about-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-columns {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px;
}

.about-left {
    flex: 2;
}

.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.about-animation {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Proof Point Boxes */
.proof-boxes {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px;
}

.proof-box {
    flex: 1;
    text-align: center;
    padding: 22px 15px;
    border-radius: 16px;
}

.proof-dark {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-purple {
    background: linear-gradient(135deg, #7a3680 0%, #9d4ead 100%);
}

.proof-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
}

.proof-dark .proof-number {
    color: white;
}

.proof-purple .proof-number {
    color: #f5a623;
}

.proof-label {
    font-size: 0.75rem;
    font-weight: 400;
}

.proof-dark .proof-label {
    color: rgba(255, 255, 255, 0.8);
}

.proof-purple .proof-label {
    color: #f5a623;
}

/* Portfolio Section */
.portfolio-section {
    padding: 120px 0 140px;
    overflow-x: hidden;
    max-width: 100%;
}

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

.portfolio-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-panel {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    outline: none;
    position: relative;
}

.portfolio-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.portfolio-panel:hover::before {
    background: rgba(0, 0, 0, 0);
}

.portfolio-grid:hover .portfolio-panel:not(:hover)::before {
    background: rgba(0, 0, 0, 0.5);
}

.panel-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px 8px 0 0;
    border: 1px solid #fff;
}

.panel-bottom {
    background: rgb(228, 228, 228);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.panel-info {
    flex: 1;
}

.panel-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.panel-tags {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.panel-button {
    background: #2a2a2a;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
}

.panel-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* Portfolio Expand Button */
.portfolio-hidden {
    display: none;
}

.portfolio-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 60px auto 0;
    padding: 18px 40px;
    background: rgba(157, 78, 173, 0.2);
    border: 1px solid rgba(157, 78, 173, 0.4);
    border-radius: 50px;
    color: #b57ee0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.portfolio-expand-btn:hover {
    background: rgba(157, 78, 173, 0.3);
    border-color: rgba(157, 78, 173, 0.6);
    transform: translateY(-2px);
}

.portfolio-expand-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.portfolio-expand-btn:hover i {
    transform: translateY(2px);
}

.portfolio-expand-btn.hidden {
    display: none;
}

.portfolio-revealed {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Why Choose Me Section */
.why-section {
    padding: 120px 0 140px;
}

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

.why-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.why-panels {
    display: flex;
    flex-direction: column;
    gap: 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-panel {
    display: flex;
    align-items: center;
    gap: 30px;
}

.why-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.why-content {
    flex: 1;
}

.why-title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.why-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Challenges Section */
.challenges-section {
    padding: 120px 0 140px;
    overflow-x: hidden;
    max-width: 100%;
}

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

.challenges-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: white;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #9d4ead 0%, #b57ee0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.challenges-panels {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.challenge-panel {
    background: rgba(10, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 40px 50px;
    position: relative;
    max-width: 650px;
}

.challenge-left {
    align-self: flex-start;
    margin-left: 0;
}

.challenge-right {
    align-self: flex-end;
    margin-right: 0;
}

.challenge-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.challenge-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Client Testimonials Section */
.testimonials-section {
    padding: 120px 0 140px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.testimonials-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

/* Swiper Carousel Container */
.testimonials-carousel {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    max-width: 100%;
}

.testimonials-carousel .swiper-wrapper {
    align-items: stretch;
}

.testimonials-carousel .swiper-slide {
    height: auto;
}

.testimonial-card {
    background: rgba(10, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 2rem;
    background: linear-gradient(135deg, #9d4ead 0%, #b57ee0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-avatar-alt {
    background: linear-gradient(135deg, #9d4ead 0%, #b57ee0 100%);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.author-company {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Form Section */
.contact-section {
    padding: 120px 0 140px;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 173, 0.5), transparent);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: rgba(10, 10, 30, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    box-shadow:
        0 0 30px rgba(157, 78, 173, 0.15),
        0 0 60px rgba(157, 78, 173, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    min-height: 20px;
    padding-left: 5px;
}

.form-input.error,
.form-textarea.error {
    border-color: #ff6b6b;
    background: rgba(20, 20, 40, 0.2);
}

/* Disabled field styles */
.form-input:disabled,
.form-textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form feedback message */
#formFeedback {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: none;
}

#formFeedback.show {
    display: block;
    opacity: 1;
}

#formFeedback.error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

#formFeedback.success {
    background: rgba(81, 207, 102, 0.1);
    border: 1px solid #51cf66;
    color: #51cf66;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

/* Fix autofill white background */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-textarea:-webkit-autofill,
.form-textarea:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px rgba(4, 5, 29, 0.9) inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    caret-color: rgba(255, 255, 255, 0.9) !important;
}

.form-input:-webkit-autofill:focus,
.form-textarea:-webkit-autofill:focus,
.form-input:-webkit-autofill:active,
.form-textarea:-webkit-autofill:active,
.form-input:-webkit-autofill:focus-visible,
.form-textarea:-webkit-autofill:focus-visible {
    -webkit-box-shadow: 0 0 0 1000px rgba(4, 5, 29, 0.9) inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    caret-color: rgba(255, 255, 255, 0.9) !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
    outline: 1px solid rgba(157, 78, 173, 0.8);
    outline-offset: 1px;
    border-color: rgba(157, 78, 173, 0.6);
}

/* Focus style for error fields */
.form-input.error:focus,
.form-textarea.error:focus {
    outline-color: #ff6b6b;
    border-color: #ff6b6b;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-button {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: rgba(80, 80, 100, 0.8);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    min-width: 200px;
}

.form-button:hover {
    background: rgba(100, 100, 120, 1);
    transform: translateY(-2px);
}

/* Button States */
.form-button.sending {
    background: rgba(80, 80, 100, 0.6);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

.form-button.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    cursor: default;
    pointer-events: none;
}

.form-button.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    cursor: pointer;
    pointer-events: auto;
}

/* Footer Section */
.footer {
    background: rgba(10, 10, 30, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 173, 0.5), transparent);
}

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

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img,
.footer-logo svg {
    height: 50px;
    width: auto;
}


.footer-logo svg path {
    stroke: rgba(255, 255, 255, 0.7);
}

.footer-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

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

.social-link:hover {
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-contact i {
    width: 20px;
    font-size: 1.1rem;
    color: rgba(157, 78, 173, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

/* Back to Top Button */
.back-to-top-btn {
    display: none; /* Hidden on desktop */
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.9);
    color: rgba(3, 3, 3, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: none;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    outline: none;
    border-radius: 2px;
}

.back-to-top-btn i {
    margin-left: 8px;
}

.back-to-top-btn:focus {
    outline: none;
}


/* Responsive Styles */
@media screen and (max-width: 768px) {
    .navbar {
        overflow: visible;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(10px);
        width: 100vw;
        max-width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        gap: 0;
        padding: 30px 0;
        z-index: 999;
        box-sizing: border-box;
    }

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

    .nav-item {
        width: 100%;
        padding: 15px 0;
    }

    .nav-link {
        font-size: 18px;
    }

    /* Show Home link in mobile menu */
    .nav-mobile-only {
        display: block;
    }

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

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

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

    /* Intro Section Mobile */
    .intro-container {
        padding: 0 20px;
    }

    .intro-section {
        padding: 40px 0 60px;
    }

    .intro-columns {
        flex-direction: column;
        gap: 40px;
    }

    .intro-left,
    .intro-right {
        flex: 1;
        width: 100%;
    }

    .intro-right {
        display: none;
    }

    .pill-badge {
        justify-content: flex-start;
    }

    .intro-heading {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 15px;
    }

    .heading-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
    }

    .heading-image-mobile {
        display: block;
        width: auto;
        height: 155px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .heading-line-1 {
        font-size: 1.5rem;
    }

    .heading-line-2 {
        font-size: 2.2rem;
    }

    .intro-body {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .intro-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .intro-animation {
        max-width: 350px;
    }

    /* Services Section Mobile */
    .services-container {
        padding: 0 20px;
    }

    .services-panels {
        flex-direction: column;
        gap: 30px;
    }

    .service-panel {
        width: 100%;
    }

    /* About Me Section Mobile */
    .about-container {
        padding: 0 20px;
    }

    .about-columns {
        flex-direction: column;
        gap: 40px;
    }

    .about-left,
    .about-right {
        flex: 1;
        width: 100%;
    }

    .about-animation {
        max-width: 300px;
    }

    .proof-boxes {
        display: none;
    }

    /* Portfolio Section Mobile */
    .portfolio-container {
        padding: 0 40px;
    }

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

    .panel-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .panel-button {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    /* Why Choose Me Section Mobile */
    .why-container {
        padding: 0 20px;
    }

    .why-panels {
        gap: 80px;
    }

    .why-panel {
        gap: 20px;
    }

    .why-icon {
        width: 60px;
        height: 60px;
    }

    .why-icon img {
        width: 35px;
        height: 35px;
    }

    /* Challenges Section Mobile */
    .challenges-container {
        padding: 0 20px;
    }

    .challenges-heading {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .challenges-panels {
        gap: 30px;
    }

    .challenge-panel {
        max-width: 100%;
        padding: 30px 25px;
        margin-bottom: 20px;
    }

    .challenge-left,
    .challenge-right {
        align-self: center;
        margin-left: 0;
        margin-right: 0;
    }

    .challenge-title {
        font-size: 1.3rem;
    }

    .challenge-description {
        font-size: 0.95rem;
    }

    /* Testimonials Section Mobile */

    .testimonials-section {
        padding-top: 40px;
    }

    .testimonials-container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .testimonials-heading {
        font-size: 2rem;
    }

    .testimonials-carousel {
        padding: 10px 0;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-quote {
        font-size: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-company {
        font-size: 0.85rem;
    }

    /* Contact Form Section Mobile */
    .contact-section {
        padding: 80px 0 100px;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .contact-form {
        padding: 30px 25px;
        border-radius: 16px;
    }

    .form-input,
    .form-textarea {
        font-size: 1rem;
        padding: 16px 20px;
    }

    .form-button {
        width: 100%;
        font-size: 1.1rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0 1px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-left {
        text-align: center;
        align-items: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-middle,
    .footer-right {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* Footer Bottom - Flexbox Layout */
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    /* Back to Top Button - Mobile Only */
    .back-to-top-btn {
        display: block;
        margin-top: auto;
    }
}

/* Medium Breakpoint - Tablet */
@media screen and (min-width: 769px) and (max-width: 991px) {
    .services-panels {
        flex-wrap: wrap;
    }

    .card-wrapper:first-child {
        flex: 1 1 100%;
    }

    .card-wrapper:nth-child(2),
    .card-wrapper:nth-child(3) {
        flex: 1 1 calc(50% - 20px);
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-left {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 480px) {
    .nav-logo img,
    .nav-logo svg {
        height: 40px;
    }

    .nav-menu {
        top: 70px;
    }

    .heading-line-1 {
        font-size: 1.3rem;
    }

    .heading-line-2 {
        font-size: 1.8rem;
    }

    .intro-body {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 12px 28px;
    }

    .intro-animation {
        max-width: 280px;
    }

    .about-animation {
        display: none;
    }

    .services-heading {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .about-heading {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-columns {
        padding: 0 30px;
    }

    .proof-number {
        font-size: 2.5rem;
    }

    .proof-label {
        font-size: 0.85rem;
    }

    .portfolio-heading {
        font-size: 2rem;
    }

    .panel-title {
        font-size: 1.2rem;
    }

    .panel-tags {
        font-size: 0.8rem;
    }

    .why-heading {
        font-size: 2rem;
    }

    .why-title {
        font-size: 1.4rem;
    }

    .why-description {
        font-size: 0.95rem;
    }

    .challenges-heading {
        font-size: 1.8rem;
    }

    .challenge-title {
        font-size: 1.2rem;
    }

    .challenge-description {
        font-size: 0.9rem;
    }

    .testimonials-heading {
        font-size: 1.8rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .contact-heading {
        font-size: 1.8rem;
    }

    .form-input,
    .form-textarea {
        font-size: 1rem;
    }

    .form-button {
        font-size: 1.1rem;
    }
}

/* Small Mobile Devices (0-430px) */
@media (max-width: 430px) {
    /* Why Choose Me Section - Hide icons for more text space */
    .why-icon {
        display: none;
    }

    .why-panel {
        border-left: 3px solid rgba(233, 30, 99, 0.5);
        padding-left: 20px;
        padding-right: 5px;
    }
}

/* Medium Mobile Devices (431px - 768px) */
@media (min-width: 431px) and (max-width: 768px) {
    /* Adjustments for larger mobile devices */
}

/* Medium Viewport - Reduce Nav Font Size */
@media screen and (min-width: 769px) and (max-width: 1000px) {
    .nav-link {
        font-size: 0.88rem; /* 20% reduction from 1.1rem */
    }
}

/* Smaller Medium Viewport - Further Nav Adjustments */
@media screen and (min-width: 769px) and (max-width: 880px) {
    .nav-menu {
        gap: 25.2px; /* 30% + additional 10% reduction (40% total from 40px) */
    }
}
