@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0077B5;
    --secondary: #2D46B9;
    --accent: #34D399;
    --dark: #1E293B;
    --light: #F8FAFC;
    --gray: #94A3B8;
    --gray-light: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Branded Loader */
.loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-logo {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 8px;
    animation: loader-pulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 119, 181, 0.5), 0 0 60px rgba(0, 119, 181, 0.3);
}

@keyframes loader-pulse {
    0%, 100% {
        transform: scale(0.95);
        text-shadow: 0 0 30px rgba(0, 119, 181, 0.3), 0 0 60px rgba(0, 119, 181, 0.1);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 40px rgba(0, 119, 181, 0.8), 0 0 80px rgba(0, 119, 181, 0.4), 0 0 120px rgba(0, 119, 181, 0.2);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 101;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 0 2px 2px 0;
    transition: width 0.05s linear;
}

/* Header & Navigation */
header {
    background-color: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--dark);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header.scrolled {
    padding: 0.7rem 2rem;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 800;
    padding: 30px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--dark);
    padding: 4px;
    line-height: 0;
}

.mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-toggle .icon-close {
    display: none;
}

.mobile-nav-toggle.active .icon-hamburger {
    display: none;
}

.mobile-nav-toggle.active .icon-close {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8eeff 30%, #f5f0ff 60%, #f0f7ff 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
}

.hero-text h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--gray);
    max-width: 90%;
    line-height: 1.8;
}

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

.hero-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-img img {
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.hero-img::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

.hero-img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(45deg);
    z-index: 0;
    opacity: 0.05;
}

/* Typewriter */
.typewriter {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 500;
    min-height: 1.8em;
}

#typewriterText {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 2px;
    animation: blink-caret 0.75s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink-caret {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.25);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline::before {
    display: none;
}

.btn-outline:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--dark);
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 1.5rem;
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--gray-light);
}

.exp-years {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exp-text {
    font-size: 0.9rem;
    color: var(--gray);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.fact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 119, 181, 0.1);
}

.fact-icon {
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.fact-icon svg {
    width: 32px;
    height: 32px;
}

.fact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.fact-item p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: var(--gradient);
    padding: 5rem 2rem;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--gray-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover * {
    color: white;
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    line-height: 1;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    transition: stroke 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card p {
    transition: all 0.3s ease;
    color: var(--gray);
}

/* Process Section */
.process-section {
    max-width: 100%;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f4ff 100%);
    padding: 6rem 2rem;
}

.process-section .section-title {
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.process-timeline {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gradient);
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.process-step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    color: var(--primary);
    border: 3px solid rgba(0, 119, 181, 0.1);
    transition: all 0.4s ease;
}

.process-step-icon svg {
    width: 32px;
    height: 32px;
}

.process-step:hover .process-step-icon {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 119, 181, 0.3);
}

.process-step:hover .process-step-icon svg {
    stroke: white;
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.process-step p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 1rem;
}

.filter-btn {
    padding: 0.6rem 1.8rem;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--gray);
    font-size: 0.95rem;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.25);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--gray-light);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 119, 181, 0.2);
}

.project-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link svg {
    width: 18px;
    height: 18px;
}

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

.project-link:hover svg {
    stroke: white;
}

.project-info {
    padding: 1.5rem;
}

.project-category {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-info h3 {
    color: var(--primary);
}

.project-info p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    display: inline-block;
    background: rgba(0, 119, 181, 0.08);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 119, 181, 0.15);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.skills-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.skills-text p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.skill-bar {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
}

.skill-percent {
    color: var(--primary);
    font-weight: 600;
}

.skill-progress {
    width: 100%;
    height: 10px;
    background: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress span {
    display: block;
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 1s ease-in-out;
    position: relative;
}

.skill-progress span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
    background-size: 200% 100%;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.tech-icon {
    width: auto;
    height: 60px;
    padding: 12px 18px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    border: 1px solid var(--gray-light);
}

.tech-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
    border-color: rgba(0, 119, 181, 0.2);
}

/* Testimonials Section */
.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    border: 1px solid var(--gray-light);
}

.testimonial-quote {
    margin-bottom: 1rem;
    line-height: 1;
    color: var(--primary);
}

.testimonial-quote svg {
    width: 48px;
    height: 48px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.client {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gray-light);
}

.client-info h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gradient);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    max-width: 100%;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 119, 181, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(45, 70, 185, 0.1) 0%, transparent 50%);
    animation: gradientMove 10s ease infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--gray);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-cta {
    background: white;
    color: var(--dark);
    font-weight: 600;
    padding: 1rem 3rem;
    font-size: 1.05rem;
}

.btn-cta:hover {
    background: var(--gradient);
    color: white;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 119, 181, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 119, 181, 0.1);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail:hover .contact-icon {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.contact-detail:hover .contact-icon svg {
    stroke: white;
}

.contact-text {
    color: var(--gray);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(0, 119, 181, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 119, 181, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 119, 181, 0.1);
    background: white;
}

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

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--gradient);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-links .chevron-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-newsletter p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
}

.newsletter-btn {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.copyright {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }
}

@media (max-width: 992px) {
    .hero-content, .about, .skills-container, .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-img {
        margin-top: 3rem;
        order: 2;
    }

    .about-img {
        margin-bottom: 3rem;
    }

    .skills-container .skills-text {
        margin-bottom: 3rem;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 600px;
    animation: fadeIn 0.3s ease-in-out;
    color: #222;
    line-height: 1.6;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    margin-top: 0;
    color: var(--dark);
}

.close {
    color: #888;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

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

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.footer-legal {
    text-align: center;
    margin: 10px 0;
    color: #ccc;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    margin: 0 6px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    text-decoration: underline;
    color: white;
}

@media (max-width: 576px) {
    .hero {
        flex-direction: column;
        padding-top: 80px;
        padding: 100px 0 40px 0;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin: 0 auto;
        padding: 0 1rem;
        width: 100%;
        justify-items: center;
    }
    .hero-img {
        order: -1;
        max-width: 100%;
    }
    .hero-img img {
        max-width: 90%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    .hero-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }
    .hero-tag {
        font-size: 0.75rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .typewriter {
        justify-content: center;
    }
    .projects {
        grid-template-columns: 1fr;
    }
    .tech-icon {
        height: 50px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
        padding: 0.8rem;
        margin-top: 0.5rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
    .cta-content p {
        font-size: 1rem;
    }
    .whatsapp-float {
        bottom: 1.2rem;
        left: 1.2rem;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    .back-to-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 44px;
        height: 44px;
    }
}
