/* ===== MODERN BLUE PROFESSIONAL THEME ===== */
:root {
    /* Modern Professional Colors */
    --primary-blue: #2563EB;
    --dark-blue: #1D4ED8;
    --light-blue: #3B82F6;
    --navy-blue: #1E40AF;
    --accent-red: #DC2626;
    
    /* Modern Backgrounds */
    --white: #FFFFFF;
    --light-bg: #F8FAFC;
    --section-bg: #F1F5F9;
    --card-bg: #FFFFFF;
    --dark-bg: #0F172A;
    --navy-bg: #1E293B;
    
    /* Text Colors */
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    --medium-gray: #E2E8F0;
    
    /* Modern Gradients */
    --gradient-hero: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
    --gradient-card: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    --gradient-accent: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-blue: 0 10px 25px rgba(37, 99, 235, 0.2);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav__logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.nav__logo:hover img {
    transform: scale(1.05);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__dropdown {
    position: relative;
}

.nav__dropdown .nav__link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav__dropdown:hover .nav__link i {
    transform: rotate(180deg);
}

.nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.nav__dropdown:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav__submenu a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    padding-left: 2rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 85vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="rgba(255,255,255,0.1)"/><rect x="10" y="10" width="10" height="10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
}

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

.hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    height: 450px;
}

.hero__illustration {
    width: 100%;
    height: 100%;
}

.hero__illustration svg {
    width: 100%;
    height: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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;
}

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

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

.btn--primary:hover {
    background: #B91C1C;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.3);
}

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

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

/* ===== SERVICES SECTION WITH BORDERS ===== */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.services .section-title {
    color: var(--text-primary);
}

.services .section-subtitle {
    color: var(--text-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--medium-gray); /* FIXED: Added border */
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue); /* FIXED: Border color on hover */
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-card__icon {
    background: var(--gradient-accent);
    transform: scale(1.15) rotateY(180deg);
}

.service-card__title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card__text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-card__link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card__link:hover {
    color: var(--accent-red);
}

.service-card__link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card__link:hover i {
    transform: translateX(8px);
}

/* ===== ABOUT US SECTION ===== */
.about {
    padding: 6rem 0;
    background: var(--section-bg);
}

.about .section-title {
    color: var(--text-primary);
}

.about .section-subtitle {
    color: var(--text-light);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about__text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about__video {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    border: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-xl);
}

.about__video iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* ===== CLIENT LOGOS SLIDER ===== */
.clients {
    padding: 5rem 0;
    background: var(--white);
}

.clients .section-title {
    color: var(--text-primary);
}

.clients .section-subtitle {
    color: var(--text-light);
}

.clients__slider {
    overflow: hidden;
    margin-top: 3rem;
    padding: 1rem 0;
}

.clients__track {
    display: flex;
    animation: slide 30s linear infinite;
    width: calc(200px * 12);
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.client-logo {
    flex: 0 0 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 0 1rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: visible;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
    z-index: 10;
}

.client-logo img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 6rem 0;
    background: var(--primary-blue);
    color: var(--white);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stats-grid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23stats-grid)"/></svg>');
}

.stats .section-title {
    color: var(--white);
}

.stats .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-card {
    padding: 3rem 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    display: inline-block;
}

.stat-suffix {
    font-size: 2.5rem;
    color: var(--white);
    display: inline-block;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-stars {
    margin-top: 0.5rem;
    color: #FBBF24;
}

/* ===== PROCESS TIMELINE (FIXED & COMPACT) ===== */
/* ===== PROCESS - ULTRA-MINIMAL LIST STYLE ===== */
/* ===== PROCESS - ULTRA-MINIMAL LIST STYLE (FIXED) ===== */
.process {
    padding: 5rem 0;
    background: var(--section-bg);
}

.process .section-title {
    color: var(--text-primary);
}

.process .section-subtitle {
    color: var(--text-light);
}

.process__container {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.process__minimal {
    background: var(--white);
    padding: 3rem 2.5rem; /* FIXED: Increased padding to prevent icon cutoff */
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--medium-gray);
    position: relative;
}

/* FIXED: Consistent connecting line */
.process__minimal::before {
    content: '';
    position: absolute;
    left: 60px; /* FIXED: Positioned to go through center of circles */
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--light-blue));
    border-radius: 1px;
    z-index: 1;
}

.process__step-minimal {
    display: flex;
    align-items: center;
    padding: 2rem 0; /* FIXED: Increased padding for better spacing */
    position: relative;
    z-index: 2; /* FIXED: Above the connecting line */
    transition: all 0.3s ease;
}

.process__step-minimal:hover {
    background: var(--light-bg);
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0 -2rem;
    border-radius: 12px;
    transform: translateX(8px); /* FIXED: Reduced transform for smoother effect */
}

.process__step-number {
    background: var(--white); /* FIXED: White background to cover line */
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue); /* FIXED: Border instead of solid background */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 2rem; /* FIXED: Increased margin for better spacing */
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    position: relative;
    z-index: 3; /* FIXED: Above everything else */
}

.process__step-minimal:hover .process__step-number {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.process__step-content {
    flex-grow: 1;
    margin-right: 1rem; /* FIXED: Space for icon */
}

.process__step-content h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.process__step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.process__step-icon {
    color: var(--text-light);
    font-size: 1.5rem; /* FIXED: Larger icon */
    margin-left: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0; /* FIXED: Prevent icon from shrinking */
    width: 24px; /* FIXED: Fixed width to prevent cutoff */
    text-align: center;
}

.process__step-minimal:hover .process__step-icon {
    color: var(--primary-blue);
    transform: translateX(5px) scale(1.1);
}

/* FIXED: Remove border between steps */
.process__step-minimal:not(:last-child) {
    border-bottom: none;
}

/* Animation for step appearance */
.process__step-minimal {
    opacity: 0;
    transform: translateY(20px);
    animation: stepFadeIn 0.6s ease-out forwards;
}

.process__step-minimal:nth-child(1) { animation-delay: 0.1s; }
.process__step-minimal:nth-child(2) { animation-delay: 0.2s; }
.process__step-minimal:nth-child(3) { animation-delay: 0.3s; }
.process__step-minimal:nth-child(4) { animation-delay: 0.4s; }
.process__step-minimal:nth-child(5) { animation-delay: 0.5s; }
.process__step-minimal:nth-child(6) { animation-delay: 0.6s; }

@keyframes stepFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TECHNOLOGY SECTION ===== */
.tech {
    padding: 6rem 0;
    background: var(--white);
}

.tech .section-title {
    color: var(--text-primary);
}

.tech .section-subtitle {
    color: var(--text-light);
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tech__item {
    background: var(--light-bg);
    padding: 2rem 1rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.tech__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
    background: var(--white);
}

.tech__item:hover::before {
    transform: scaleX(1);
}

.tech__item i {
    font-size: 3rem;
    transition: all 0.4s ease;
    color: var(--text-secondary);
}

.tech__item:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: var(--primary-blue);
}

.tech__item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 0;
    background: var(--section-bg);
}

.testimonials .section-title {
    color: var(--text-primary);
}

.testimonials .section-subtitle {
    color: var(--text-light);
}

.testimonials__slider {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.testimonial {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: none;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.testimonial::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: var(--primary-blue);
    clip-path: polygon(0 100%, 20% 0, 40% 100%, 60% 0, 80% 100%, 100% 0, 100% 100%, 0 100%);
    opacity: 0.1;
}

.testimonial__content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial__info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial__info span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

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

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.4);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 6rem 0;
    background: var(--navy-bg);
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
}

.cta__content {
    position: relative;
    z-index: 2;
}

.cta .section-title,
.cta .section-subtitle {
    color: var(--white);
}

.cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    height: 50px;
    margin-bottom: 1rem;
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    width: fit-content;
}

.footer__section h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer__section ul li {
    margin-bottom: 0.5rem;
}

.footer__section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer__section ul li a:hover {
    color: var(--primary-blue);
}

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

.footer__social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer__social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer__contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer__contact i {
    color: var(--primary-blue);
    width: 20px;
    font-size: 1rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
/* ===== ABOUT PAGE SPECIFIC STYLES ===== */

/* Mission & Vision */
.mission-vision {
    padding: 6rem 0;
    background: var(--section-bg);
}

.mission-vision__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card, .vision-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
}

.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
}

.mission-card h3, .vision-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-card p, .vision-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    padding: 6rem 0;
    background: var(--white);
}

.choose-us__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.choose-item {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
    transition: all 0.4s ease;
    text-align: center;
}

.choose-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.choose-item__icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.choose-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.choose-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Core Values (Fixed - 6 items in 3x2 grid) */
.core-values {
    padding: 6rem 0;
    background: var(--section-bg);
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--medium-gray);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.value-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Active Navigation Link */
.nav__link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav__link.active::after {
    width: 100%;
}

/* Hero Animations */
@keyframes floating-bg {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes scale-in {
    0% { transform: scale(0) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes pulse-element {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes draw-path {
    0% { stroke-dasharray: 0, 1000; opacity: 0; }
    50% { opacity: 1; }
    100% { stroke-dasharray: 1000, 0; opacity: 1; }
}

.floating-bg {
    animation: floating-bg 4s ease-in-out infinite;
}

.scale-in {
    animation: scale-in 0.8s ease-out forwards;
    opacity: 0;
}

.pulse-element {
    animation: pulse-element 2s ease-in-out infinite;
}

.draw-path {
    animation: draw-path 3s ease-out forwards;
    stroke-dasharray: 0, 1000;
}

/* Enhanced Hero Animations - Self Explanatory */
@keyframes float-bg {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes scale-in {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-label {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes expand-search {
    0% { transform: scaleX(0.3); opacity: 0; }
    100% { transform: scaleX(1); opacity: 1; }
}

@keyframes result-card {
    0% { opacity: 0; transform: translateY(30px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes info-bubble {
    0% { opacity: 0; transform: scale(0) translateY(-10px); }
    60% { transform: scale(1.1) translateY(-5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes bounce-in {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes draw-path {
    0% { stroke-dasharray: 0, 200; opacity: 0; }
    50% { opacity: 1; }
    100% { stroke-dasharray: 200, 0; opacity: 1; }
}

@keyframes draw-arrow {
    0% { stroke-dasharray: 0, 100; opacity: 0; }
    50% { opacity: 0.7; }
    100% { stroke-dasharray: 100, 0; opacity: 0.7; }
}

@keyframes draw-smile {
    0% { stroke-dasharray: 0, 30; opacity: 0; }
    100% { stroke-dasharray: 30, 0; opacity: 1; }
}

@keyframes float-emoji {
    0% { opacity: 0; transform: translateY(10px) scale(0); }
    50% { opacity: 1; transform: translateY(-5px) scale(1.2); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Apply Animations */
.float-bg { animation: float-bg 4s ease-in-out infinite; }
.scale-in { animation: scale-in 0.6s ease-out forwards; opacity: 0; }
.fade-in { animation: fade-in 0.8s ease-out forwards; opacity: 0; }
.fade-in-up { animation: fade-in-up 0.8s ease-out forwards; opacity: 0; }
.slide-in-label { animation: slide-in-label 0.8s ease-out forwards; opacity: 0; }
.expand-search { animation: expand-search 0.8s ease-out forwards; opacity: 0; transform-origin: left center; }
.result-card { animation: result-card 0.8s ease-out forwards; opacity: 0; }
.info-bubble { animation: info-bubble 0.6s ease-out forwards; opacity: 0; }
.bounce-in { animation: bounce-in 1s ease-out forwards; opacity: 0; }
.draw-path { animation: draw-path 1.5s ease-out forwards; stroke-dasharray: 0, 200; }
.draw-arrow { animation: draw-arrow 1s ease-out forwards; stroke-dasharray: 0, 100; }
.draw-smile { animation: draw-smile 0.8s ease-out forwards; stroke-dasharray: 0, 30; opacity: 0; }
.float-emoji { animation: float-emoji 0.8s ease-out forwards; opacity: 0; }

/* Hover Effects */
.result-card:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
}

.info-bubble:hover {
    transform: scale(1.05);
}
/* Minimal Hero Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes scale-in {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes draw-check {
    0% { stroke-dasharray: 0, 20; }
    100% { stroke-dasharray: 20, 0; }
}

@keyframes draw-smile {
    0% { stroke-dasharray: 0, 15; }
    100% { stroke-dasharray: 15, 0; }
}

@keyframes draw-line {
    0% { stroke-dasharray: 0, 100; }
    100% { stroke-dasharray: 100, 0; }
}

/* Apply Animations */
.float-slow { animation: float-slow 4s ease-in-out infinite; }
.fade-in { animation: fade-in 0.8s ease-out forwards; opacity: 0; }
.scale-in { animation: scale-in 0.6s ease-out forwards; opacity: 0; }
.draw-check { animation: draw-check 0.8s ease-out forwards; stroke-dasharray: 0, 20; }
.draw-smile { animation: draw-smile 0.8s ease-out forwards; stroke-dasharray: 0, 15; }
.draw-line { animation: draw-line 1s ease-out forwards; stroke-dasharray: 0, 100; }




/* ===== WEB DEVELOPMENT SERVICE PAGE STYLES ===== */
/* ===== WEB DEVELOPMENT SERVICE PAGE STYLES (NO CONFLICTS) ===== */

/* Override hero styles ONLY for service pages */
.service-page .hero {
    background: linear-gradient(135deg, var(--section-bg) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: var(--text-primary);
    min-height: 90vh;
}

.service-page .hero::before {
    display: none; /* Remove the pattern overlay */
}

.service-page .hero__title {
    color: var(--text-primary);
    font-size: 3.5rem;
}

.service-page .hero__subtitle {
    color: var(--text-secondary);
    opacity: 1;
}

.service-page .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-page .feature-item__icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.service-page .feature-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.service-page .hero__features {
    margin-bottom: 2.5rem;
}

/* Service Overview */
.service-overview {
    padding: 6rem 0;
    background: var(--white);
}

.overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.overview-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.overview-item:hover::before {
    transform: scaleX(1);
}

.overview-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.15);
}

.overview-item__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
    transition: transform 0.4s ease;
}

.overview-item:hover .overview-item__icon {
    transform: scale(1.1) rotate(5deg);
}

.overview-item h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.overview-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technologies Section */
.technologies {
    padding: 6rem 0;
    background: var(--section-bg);
}

.tech__categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.tech-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.tech-category h3 i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--section-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.tech-item i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.1);
}

.tech-item span {
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

/* Service Types */
.service-types {
    padding: 6rem 0;
    background: var(--white);
}

.types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.type-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.type-card:hover::before {
    transform: scaleX(1);
}

.type-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.type-card__icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
    transition: transform 0.4s ease;
}

.type-card:hover .type-card__icon {
    transform: scale(1.1) rotate(-5deg);
}

.type-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.type-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.type-card ul {
    list-style: none;
    padding: 0;
}

.type-card ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.type-card ul li i {
    color: var(--success-green);
    font-size: 0.875rem;
    width: 16px;
}

.type-card--more {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.25);
}

.type-card--more h3,
.type-card--more p {
    color: white;
}

.type-card--more ul li {
    color: rgba(255, 255, 255, 0.9);
}

.type-card--more ul li i {
    color: #FFD700;
}

.type-card--more:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35);
}

/* Add all other sections here... */


/* ===== PROCESS SECTION - CLEAN WITHOUT BORDERS ===== */
.service-page .process {
    padding: 6rem 0;
    background: var(--white);
}

.service-page .process__container {
    max-width: 900px;
    margin: 0 auto;
}

.service-page .process__minimal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-page .process__step-minimal {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: transparent;
    transition: all 0.3s ease;
}

.service-page .process__step-minimal:hover {
    transform: translateY(-3px);
}

.service-page .process__step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.service-page .process__step-minimal:hover .process__step-number {
    transform: scale(1.1);
}

.service-page .process__step-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-page .process__step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.service-page .process__step-icon {
    color: var(--primary-blue);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.service-page .process__step-minimal:hover .process__step-icon {
    transform: scale(1.1);
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 6rem 0;
    background: var(--white);
}

.faq__container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq__item {
    background: var(--white);
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq__item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.faq__item.active {
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.15);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq__question:hover {
    background: var(--section-bg);
}

.faq__question h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.faq__icon {
    color: var(--primary-blue);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item.active .faq__answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq__answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== PORTFOLIO MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal__content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.active .modal__content {
    transform: scale(1);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.modal__header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal__close:hover {
    background: var(--section-bg);
    color: var(--text-primary);
}

.modal__body {
    padding: 2rem;
}

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

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

.portfolio-form label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.portfolio-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.portfolio-form input.error {
    border-color: var(--accent-red);
}

.error-message {
    color: var(--accent-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.modal-cancel {
    background: var(--section-bg);
    color: var(--text-primary);
    border: 2px solid #E5E7EB;
}

/* ===== SUCCESS NOTIFICATION ===== */
.success-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--primary-blue);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.4s ease;
    min-width: 300px;
    max-width: 400px;
}

.success-notification.show {
    transform: translateX(0);
}

.success-notification__content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-notification__content i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.success-notification__content span {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ===== CTA SECTION ===== */
.service-page .cta {
    padding: 6rem 0;
    background: var(--section-bg);
}

.service-page .cta__content {
    text-align: center;
}

.service-page .cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== RESPONSIVE STYLES FOR SERVICE PAGE ===== */
@media (max-width: 991px) {
    .service-page .hero {
        padding-top: 140px;
        min-height: 85vh;
    }
    
    .service-page .hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .service-page .hero__title {
        font-size: 3rem;
    }
    
    .service-page .hero__visual {
        margin-top: 2rem;
    }
    
    .types__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .portfolio__track {
        width: calc(280px * 6);
    }
    
    .portfolio__slide {
        min-width: 280px;
    }
    
    @keyframes portfolioSlide {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-280px * 3)); }
    }
    
    .service-page .process__step-minimal {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .service-page .hero {
        padding-top: 120px;
        min-height: 80vh;
    }
    
    .service-page .hero__title {
        font-size: 2.5rem;
    }
    
    .service-page .hero__subtitle {
        font-size: 1.125rem;
    }
    
    .service-page .hero__content {
        gap: 2rem;
    }
    
    .service-page .hero__visual {
        margin-top: 1.5rem;
        height: 300px;
    }
    
    .service-page .hero__illustration svg {
        max-width: 400px;
    }
    
    .types__grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio__track {
        width: calc(260px * 6);
    }
    
    .portfolio__slide {
        min-width: 260px;
    }
    
    @keyframes portfolioSlide {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-260px * 3)); }
    }
    
    .success-notification {
        top: 20px;
        right: 20px;
        left: 20px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .success-notification.show {
        transform: translateY(0);
    }
    
    .modal__overlay {
        padding: 1rem;
    }
    
    .modal__content {
        max-height: 95vh;
    }
    
    .modal__header,
    .modal__body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .service-page .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 575px) {
    .service-page .hero {
        padding-top: 100px;
        min-height: 75vh;
    }
    
    .service-page .hero__title {
        font-size: 2rem;
    }
    
    .service-page .hero__subtitle {
        font-size: 1rem;
    }
    
    .service-page .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .service-page .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-page .hero__visual {
        height: 250px;
    }
    
    .service-page .hero__illustration svg {
        max-width: 320px;
    }
    
    .service-page .process__step-minimal {
        padding: 1.5rem;
    }
}


/* ===== APP DEVELOPMENT HERO ANIMATIONS ===== */

/* Spin loader animation */
@keyframes spin-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Draw check animation */
@keyframes draw-check {
    0% { stroke-dasharray: 0, 20; }
    100% { stroke-dasharray: 20, 0; }
}

/* Draw path animation */
@keyframes draw-path {
    0% { stroke-dasharray: 0, 100; opacity: 0; }
    50% { opacity: 0.6; }
    100% { stroke-dasharray: 100, 0; opacity: 0.6; }
}

/* Apply animations */
.spin-loader { 
    animation: spin-loader 2s linear infinite; 
    stroke-dasharray: 25 75;
}

.draw-check { 
    animation: draw-check 1s ease-out forwards; 
    stroke-dasharray: 0, 20; 
}

.draw-path { 
    animation: draw-path 2s ease-out forwards; 
    stroke-dasharray: 0, 100; 
}

/* Enhanced pulse ring for app stores */
.pulse-ring { 
    animation: pulse-ring 2s ease-in-out infinite; 
}
/* ===== FLOATING DOWNLOAD BUTTON ===== */
.floating-download-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.floating-btn {
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
    background: #B91C1C;
}

.floating-btn i {
    font-size: 1rem;
}

.floating-btn span {
    font-size: 0.9rem;
}

/* Hide on mobile if needed */
@media (max-width: 767px) {
    .floating-download-btn {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ===== FIXED HERO BUTTONS - SIDE BY SIDE ===== */
.hero .hero__buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero .hero__buttons .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Ensure buttons stay side by side on larger screens */
@media (min-width: 768px) {
    .hero .hero__buttons {
        flex-wrap: nowrap;
    }
}

/* Stack on mobile only */
@media (max-width: 575px) {
    .hero .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== NEW SECONDARY BUTTON STYLE ===== */
.btn--secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.btn--secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

/* For service pages CTA section */
.service-page .cta .btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-page .cta .btn--secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

/* TARGETED HERO BUTTONS FIX - SPECIFIC TO YOUR ISSUE */
.hero .hero__buttons {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-top: 2rem;
}

.hero .hero__buttons .btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

/* Make sure buttons stay side by side on desktop */
@media (min-width: 768px) {
    .hero .hero__buttons {
        flex-wrap: nowrap !important;
    }
}

/* Stack only on mobile */
@media (max-width: 575px) {
    .hero .hero__buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    
    .hero .hero__buttons .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ===== ERP DEVELOPMENT HERO ANIMATIONS ===== */

/* Spin loader animation for ERP processing */
@keyframes spin-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Draw check animation for ERP success */
@keyframes draw-check {
    0% { stroke-dasharray: 0, 20; }
    100% { stroke-dasharray: 20, 0; }
}

/* Draw path animation for ERP connections */
@keyframes draw-path {
    0% { stroke-dasharray: 0, 100; opacity: 0; }
    50% { opacity: 0.6; }
    100% { stroke-dasharray: 100, 0; opacity: 0.6; }
}

/* Apply animations */
.spin-loader { 
    animation: spin-loader 2s linear infinite; 
}

.draw-check { 
    animation: draw-check 1s ease-out forwards; 
    stroke-dasharray: 0, 20; 
}

.draw-path { 
    animation: draw-path 2s ease-out forwards; 
}


/* ==============================================
   FINAL CONTACT FORM AND CHECKBOX FIX
   ============================================== */

/* Main container for the form section */
.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.07);
    border: 1px solid #e2e8f0;
}

/* Form layout */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .form-actions {
    text-align: center;
    margin-top: 2rem;
}

.contact-form .error-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* === BULLETPROOF CHECKBOX FIX === */
.checkbox-group {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px; /* Space for the checkbox */
    margin-bottom: 20px;
    min-height: 25px;
}

.custom-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-group .checkbox-label {
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0; /* Reset margin */
}

.checkbox-group .checkbox-label a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.checkbox-group .checkbox-label a:hover {
    text-decoration: underline;
}

/* The custom checkbox box */
.checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* The checkmark symbol */
.checkbox-label::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

/* Hover state */
.custom-checkbox:hover + .checkbox-label::before {
    border-color: var(--primary-color);
}

/* Checked state */
.custom-checkbox:checked + .checkbox-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Show checkmark when checked */
.custom-checkbox:checked + .checkbox-label::after {
    opacity: 1;
}

/* Responsive form styles */
@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}

/* ==============================================
   PORTFOLIO DOWNLOAD MODAL FORM STYLES
   ============================================== */

.modal .modal__body .contact-form {
    padding: 1rem 0; /* Add some spacing inside the modal body */
}

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

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155; /* A clear text color */
    font-size: 0.9rem;
}

.modal .form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal .error-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}
