:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #64748b;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #faf5ff;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow: 0 10px 25px rgba(139, 92, 246, 0.1);
    --shadow-lg: 0 20px 40px rgba(139, 92, 246, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.design-animation {
    font-size: 3rem;
    color: var(--primary);
    animation: designPulse 2s ease-in-out infinite;
}

@keyframes designPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    text-decoration: none;
}

.brand-logo i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.nav-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(6, 182, 212, 0.6) 100%);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.concept-circle {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 20s linear infinite;
}

.circle-content {
    text-align: center;
    color: var(--white);
}

.circle-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-light);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.services-section {
    padding: 100px 0;
    background: var(--white);
}

.section-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h4 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-section {
    padding: 100px 0;
    background: var(--light);
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--secondary);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.floating-card {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 200px;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.floating-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.floating-card p {
    color: var(--secondary);
    font-size: 0.9rem;
}

.testimonials-section {
    padding: 100px 0;
    background: var(--light);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.client-info h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.client-info span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-info-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--secondary);
    line-height: 1.6;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.footer-section {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 0.5rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-content h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 0.5rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-content h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    color: var(--primary);
    margin-top: 0.25rem;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        margin: 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .nav-actions {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .concept-circle {
        width: 200px;
        height: 200px;
        margin: 2rem auto 0;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-description {
        text-align: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-card {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .service-features {
        justify-content: center;
    }
    
    .contact-item {
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .portfolio-item img {
        height: 250px;
    }
    
    .testimonial-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .concept-circle {
        width: 150px;
        height: 150px;
    }
    
    .circle-content i {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .brand-logo {
        font-size: 1.25rem;
    }
    
    .brand-logo i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-section,
    .portfolio-section,
    .about-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .about-stats {
        gap: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .concept-circle {
        width: 120px;
        height: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}