/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1a237e;
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary-color: #00bcd4;
    --secondary-light: #62efff;
    --secondary-dark: #008ba3;
    --accent-color: #4fc3f7;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-light: #f8faff;
    --bg-white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 45px rgba(26, 35, 126, 0.1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(26, 35, 126, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: var(--shadow-soft);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 10% 20%, rgba(26, 35, 126, 0.03) 0%, rgba(0, 188, 212, 0.03) 90%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(26, 35, 126, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-list {
    margin-top: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.service-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
}

/* Why Choose Section */
.why-choose {
    background-color: var(--primary-dark);
    color: white;
}

.why-choose .section-header h2,
.why-choose .section-header p {
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.portfolio-img {
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 30px;
}

.portfolio-info h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.portfolio-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(26, 35, 126, 0.05);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.process-step h4 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(26, 35, 126, 0.05);
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h5 {
    font-weight: 600;
    color: var(--primary-dark);
}

.client-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background: #f1f4f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary-dark);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .container { padding: 0 20px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .hero-btns { justify-content: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    .section-header h2 { font-size: 2rem; }
    .hero-text h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 70px 0; }
}

/* Animation Classes */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}
