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

:root {
    --primary-color: #2563EB;
    --secondary-color: #0F172A;
    --accent-gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --text-color: #334155;
    --light-color: #F8FAFC;
    --light-gray: #E2E8F0;
    --medium-gray: #94A3B8;
    --dark-gray: #475569;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: var(--transition);
}

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}
.hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without distortion */
    display: block;
}

.phone-mockup {
    width: 280px;
    height: 500px;
    background: white;
    border-radius: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 10px solid var(--secondary-color);
    z-index: 2;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 25px;
    background-color: var(--secondary-color);
    border-radius: 0 0 15px 15px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px 20px;
    border-radius: 30px;
}

.screen-content {
    background-color: white;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.app-header {
    background: var(--accent-gradient);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.app-bar {
    width: 100%;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.app-body {
    padding: 20px;
}

.app-item {
    height: 60px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.app-item:nth-child(2) {
    animation-delay: 0.5s;
}

.app-item:nth-child(3) {
    animation-delay: 1s;
}

.app-item:nth-child(4) {
    animation-delay: 1.5s;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.2;
    animation: float 6s infinite ease-in-out;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 10%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 5%;
    animation-delay: 2s;
}

.floating-element:nth-child(4) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 5%;
    animation-delay: 3s;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-description {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Technologies Section */
.technologies {
    background-color: var(--light-color);
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
}

.tech-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tech-icon {
    font-size: 42px;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tech-label {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Process Section */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 2px;
    background: var(--accent-gradient);
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    padding-top: 10px;
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step-description {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.portfolio-image {
    height: 220px;
    background: linear-gradient(135deg, #3B82F6 0%, #E0F2FF 50%, #FFFFFF 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-badge {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-badge.android {
    left: 20px;
    background-color: #3DDC84;
}

.app-badge.ios {
    right: 20px;
    background-color: #000000;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.portfolio-description {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-tech span {
    background-color: var(--light-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--light-color);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-us-item i {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.why-us-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.why-us-item p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.why-us-stats {
    display: flex;
    justify-content: space-around;
}

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

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0%, var(--light-gray) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
}

.percent {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
}

.stat-circle h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--light-gray);
}

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

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-price {
    margin-bottom: 10px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 5px;
}

.pricing-price .period {
    color: var(--medium-gray);
    font-size: 1rem;
}

.pricing-description {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.pricing-features li i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.pricing-features li i.fa-check {
    color: var(--success-color);
}

.pricing-features li i.fa-times {
    color: var(--light-gray);
}

/* CTA Section */
.cta {
    background: var(--accent-gradient);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta .gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-description {
    margin: 20px 0;
    color: var(--medium-gray);
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--medium-gray);
}

.footer-contact li i {
    margin-right: 12px;
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--medium-gray);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom i {
    color: #EF4444;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero::before {
        width: 100%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 30%, 0% 70%);
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-us-stats {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .portfolio-grid,
    .pricing-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .process-timeline::before {
        left: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .why-us-stats {
        flex-direction: column;
        gap: 40px;
    }
}