/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: #0f0f23;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a1a3e 0%, #0f0f23 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
    overflow: hidden;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.loader {
    text-align: center;
}

.loader-text {
    margin-bottom: 30px;
}

.letter {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    animation: letterPop 1.5s ease-in-out infinite;
    animation-fill-mode: both;
    text-shadow: 0 0 20px rgba(120, 119, 198, 0.5);
    position: relative;
}

.letter::after {
    content: attr(data-letter);
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(120, 119, 198, 0.3);
    z-index: -1;
    animation: glitch 2s infinite;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.letter:nth-child(4) { animation-delay: 0.4s; }
.letter:nth-child(5) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.7s; }
.letter:nth-child(8) { animation-delay: 0.8s; }
.letter:nth-child(9) { animation-delay: 0.9s; }

.space {
    width: 20px;
    display: inline-block;
}

@keyframes letterPop {
    0%, 100% { 
        transform: translateY(0) scale(1);
        text-shadow: 0 0 20px rgba(120, 119, 198, 0.5);
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        text-shadow: 0 0 30px rgba(120, 119, 198, 0.8), 0 0 60px rgba(255, 119, 198, 0.3);
    }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(120, 119, 198, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(120, 119, 198, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, #7877c6, #ff77c6);
    border-radius: 2px;
    animation: loadProgress 3s ease-out forwards;
    box-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(120, 119, 198, 0.2);
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-icon {
    height: 1.6rem;
    width: 1.6rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    margin-bottom: 2px;
}

.logo-icon:hover {
    transform: scale(1.1);
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(120, 119, 198, 0.5);
    position: relative;
    margin: 0;
    line-height: 1.2;
    display: inline-block;
}

.nav-logo span {
    color: #7877c6;
    text-shadow: 0 0 20px rgba(120, 119, 198, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    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: linear-gradient(90deg, #7877c6, #ff77c6);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #7877c6;
    text-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(120, 119, 198, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a3e 0%, #0f0f23 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(120, 119, 198, 0.1);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(120, 119, 198, 0.2);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        box-shadow: 0 0 50px rgba(120, 119, 198, 0.2);
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) scale(1.1);
        box-shadow: 0 0 80px rgba(120, 119, 198, 0.4);
    }
}

@keyframes heroGlow {
    0% {
        background: 
            radial-gradient(circle at 25% 25%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    }
    100% {
        background: 
            radial-gradient(circle at 75% 25%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 25% 75%, rgba(120, 119, 198, 0.1) 0%, transparent 50%);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.9s forwards;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    border: none;
    box-shadow: 0 5px 20px rgba(120, 119, 198, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(120, 119, 198, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #7877c6;
    color: #7877c6;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.2);
}

.btn-outline {
    background: transparent;
    color: #7877c6;
    border: 2px solid #7877c6;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.3);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(26, 26, 62, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(120, 119, 198, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    animation: floatCard 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.2);
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 10%;
    right: 20%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 0 10px 30px rgba(120, 119, 198, 0.2);
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
        box-shadow: 0 20px 40px rgba(120, 119, 198, 0.3);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: white;
    position: relative;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(120, 119, 198, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0f0f23;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: rgba(26, 26, 62, 0.8);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(120, 119, 198, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(120, 119, 198, 0.2);
    backdrop-filter: blur(20px);
    cursor: pointer;
}

.service-card-header {
    padding: 2.5rem 2rem;
    position: relative;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease;
    opacity: 0;
    padding: 0 2rem;
}

.service-card.expanded .service-details {
    max-height: 1000px;
    opacity: 1;
    padding: 0 2rem 2.5rem 2rem;
}

.service-expand-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(120, 119, 198, 0.3);
}

.service-expand-btn i {
    transition: transform 0.3s ease;
}

.service-card.expanded .service-expand-btn i {
    transform: rotate(180deg);
}

.service-expand-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #7877c6, #ff77c6);
    box-shadow: 0 0 20px rgba(120, 119, 198, 0.5);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(120, 119, 198, 0.2);
    border-color: rgba(120, 119, 198, 0.4);
}

.service-card.expanded {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(120, 119, 198, 0.25);
    border-color: rgba(120, 119, 198, 0.5);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.3);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(120, 119, 198, 0.3);
}

.service-intro {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.feature {
    margin-bottom: 1.2rem;
    padding-left: 18px;
    position: relative;
}

.feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: #7877c6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}

.feature h4 {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #0f0f23;
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(120, 119, 198, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #7877c6;
    background: transparent;
    color: #7877c6;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    box-shadow: 0 5px 20px rgba(120, 119, 198, 0.3);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: rgba(26, 26, 62, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    border: 1px solid rgba(120, 119, 198, 0.2);
    backdrop-filter: blur(20px);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(120, 119, 198, 0.2);
    border-color: rgba(120, 119, 198, 0.4);
}

.portfolio-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.9), rgba(255, 119, 198, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.portfolio-overlay-content span {
    font-weight: 600;
    font-size: 1rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #0f0f23;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(255, 119, 198, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    background: rgba(26, 26, 62, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(120, 119, 198, 0.1);
    position: relative;
    border: 1px solid rgba(120, 119, 198, 0.2);
    backdrop-filter: blur(20px);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #7877c6;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(120, 119, 198, 0.5);
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #7877c6;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(120, 119, 198, 0.3);
}

.carousel-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.4);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(120, 119, 198, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #7877c6;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0f0f23;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 119, 198, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.3);
}

.contact-details h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form {
    background: rgba(26, 26, 62, 0.8);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(120, 119, 198, 0.1);
    border: 1px solid rgba(120, 119, 198, 0.2);
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(120, 119, 198, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: rgba(15, 15, 35, 0.8);
    color: #fff;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7877c6;
    box-shadow: 0 0 20px rgba(120, 119, 198, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #0a0a1a;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(120, 119, 198, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 119, 198, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #7877c6;
    text-shadow: 0 0 20px rgba(120, 119, 198, 0.3);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7877c6;
    text-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}

.footer-section ul li i {
    margin-right: 10px;
    color: #7877c6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(120, 119, 198, 0.3);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(120, 119, 198, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-header {
        padding: 2rem 1.5rem;
    }
    
    .service-card.expanded .service-details {
        padding: 0 1.5rem 2rem 1.5rem;
    }
    
    .service-expand-btn {
        top: 1.5rem;
        right: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .floating-card {
        font-size: 0.8rem;
        padding: 15px;
    }

    .floating-card i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-content {
        padding: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.portfolio-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: rgba(26, 26, 62, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(120, 119, 198, 0.3);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(120, 119, 198, 0.2);
}

.portfolio-modal.active .portfolio-modal-content {
    transform: scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(120, 119, 198, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.portfolio-modal-close:hover {
    background: rgba(120, 119, 198, 0.3);
    transform: scale(1.1);
}

.portfolio-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    max-height: 90vh;
    overflow: hidden;
}

.portfolio-modal-image {
    position: relative;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-modal-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 119, 198, 0.1));
    z-index: 1;
}

.portfolio-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    transition: transform 0.3s ease;
}

.portfolio-modal-image:hover img {
    transform: scale(1.05);
}

.portfolio-modal-info {
    padding: 3rem 2rem;
    overflow-y: auto;
    color: white;
}

.portfolio-modal-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-modal-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.portfolio-modal-description,
.portfolio-modal-details,
.portfolio-modal-tech {
    margin-bottom: 2rem;
}

.portfolio-modal-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-modal-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.portfolio-modal-details ul {
    list-style: none;
    padding: 0;
}

.portfolio-modal-details li {
    padding: 0.5rem 0;
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-modal-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #7877c6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(120, 119, 198, 0.2);
    color: #7877c6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(120, 119, 198, 0.3);
}


/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
    .portfolio-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .portfolio-modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 1fr;
    }
    
    .portfolio-modal-info {
        padding: 2rem 1.5rem;
    }
    
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 15, 35, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff77c6, #7877c6);
}
