/* ========================================
   WEB CRAFT SOLUTIONS - PROFESSIONAL STYLES
   Designed for U.S. Business Trust & Conversion
   ======================================== */

:root {
    /* Professional Color Palette */
    --primary-blue: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3399ff;
    --success-green: #00b67a;
    --premium-gold: #ffb800;
    --trust-navy: #1a3a5c;
    
    /* Dark Theme Colors for Footer */
    --dark-bg: #1a1d29;
    --dark-bg-light: #242837;
    --dark-text: #e4e6eb;
    --dark-text-muted: #b0b3b8;
    
    /* Grays */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.16);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

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

/* Header & Navigation - Mobile Responsive */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    z-index: 1001;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 8px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,102,204,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-text h1 {
    font-size: 56px;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.hero-text h1 span {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-size: 14px;
}

.trust-badge i {
    color: var(--success-green);
    font-size: 16px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background:linear-gradient(135deg, #3399ff, #0066cc, #003d7a);
    color: white;
}

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

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

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

.hero-image {
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: auto;
    background: none;
    border-radius: 0;
    position: relative;
    overflow: visible;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    margin-top: 50px;
}

.image-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--gray-600);
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    /* background: white; */
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    /* box-shadow: var(--shadow-md);
    transition: all 0.3s ease; */
}

/* .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
} */

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3399ff, #0066cc, #003d7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-icon.animate {
    animation: popUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               pulse-service 2.5s ease-in-out 0.7s infinite;
}

.service-icon:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    transform: translateY(-4px);
    animation: popUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               pulse-service-hover 1.5s ease-in-out infinite;
}

@keyframes pulse-service {
    0% {
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 102, 204, 0.6),
                    0 0 0 8px rgba(0, 102, 204, 0.15),
                    0 0 0 16px rgba(0, 102, 204, 0.08);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }
}

@keyframes pulse-service-hover {
    0% {
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 102, 204, 0.9),
                    0 0 0 12px rgba(0, 102, 204, 0.25),
                    0 0 0 24px rgba(0, 102, 204, 0.15);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.5);
    }
}

.service-icon i {
    font-size: 36px;
    color: white;
     box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--gray-800);
    font-size: 24px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
    padding: var(--section-padding);
    background: white;
}

.portfolio-gallery {
    position: relative;
    margin-top: 40px;
}

.portfolio-gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 20px 20px 20px;
    -webkit-overflow-scrolling: touch;
}

.portfolio-gallery-container::-webkit-scrollbar {
    display: none;
}

.portfolio-item {
    flex: 0 0 calc(100% - 40px);
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    scroll-snap-align: center;
    overflow: hidden;
}

.portfolio-item-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--gray-100);
}

.portfolio-item-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.portfolio-item-info {
    padding: 24px;
    text-align: center;
}

.portfolio-badge {
    background: linear-gradient(135deg, #3399ff, #0066cc, #003d7a);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.portfolio-item-info h3 {
    font-size: 24px;
    color: var(--gray-900);
    margin: 0;
}

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

.section-subtitle {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 16px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 10px;

}

.section-description {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

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

.portfolio-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    position: relative;
    overflow: hidden;
}

.portfolio-content {
    padding: 40px;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.portfolio-category {
    background: var(--primary-light);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    margin-left: -20px;
}

.portfolio-title {
    font-size: 28px;
    
    color: var(--gray-900);
}

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

.portfolio-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
}

.feature-item i {
    color: var(--success-green);
    font-size: 16px;
}

.portfolio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.portfolio-stats {
    display: flex;
    gap: 24px;
}

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

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3399ff, #0066cc, #003d7a);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Pricing Preview */
.pricing-preview {
    padding-top: 60px ;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured .package-name,
.pricing-card.featured .package-price,
.pricing-card.featured .price-label {
    color: white;
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--premium-gold);
    color: var(--gray-900);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.package-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.package-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.price-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* Additional CSS for Clean Pricing Section */
.package-features {
    margin: 24px 0;
    text-align: left;
}

.package-features .price-label {
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 15px;
}

.perfect-for-section {
    margin: 20px 0;
    padding: 16px;
    background: rgba(0,102,204,0.08);
    border-radius: 8px;
    text-align: center;
}

.pricing-card.featured .perfect-for-section {
    background: rgba(255,255,255,0.15);
}

.perfect-for-section .price-label {
    margin-bottom: 4px;
    font-size: 14px;
}

/* Process Section */

/*icons from 1 to 4 and "launch" */
.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.process-icon-blue {
    background: linear-gradient(135deg, #3399ff, #0066cc, #003d7a);

}

.process-icon-green {
    background: var(--success-green);
}

/* Why Choose Us - Full-width section (matches portfolio/CTA pattern) */
.why-choose-section {
    padding: var(--section-padding);
    background: white;
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.benefit-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}


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

/* Pricing Hero Styles */
.pricing-hero {
    padding-top: 50px;
    background: var(--gray-50);
    text-align: center;
}

.pricing-hero .section-title {
    color: var(--gray-900);
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 700;
}

.pricing-hero .section-description {
    color: var(--gray-600);
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-section {
    padding: 140px 0 60px 0;
    background: var(--gray-50);
    text-align: center;
}

.pricing-hero-content {
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    /* Pricing Section Mobile Typography */
    
    .pricing-section {
        padding: 140px 0 60px 0;
    }
    
    .pricing-hero-content {
        margin-bottom: 20px;
    }
    
    .pricing-hero .section-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .pricing-hero .section-description {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .pricing-hero .section-subtitle {
        font-size: 14px;
        display: block;
        visibility: visible;
    }
    
    /* General Mobile Typography Improvements */
    .section-title {
        font-size: 30px !important;
        line-height: 1.3;
        margin-bottom: 10px;
   
    }
    
    .section-subtitle {
        font-size: 14px;
        line-height: 1.4;
        margin-top: 0;
        margin-bottom: 10px;
    }
    
    .section-description {
        font-size: 16px !important;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    /* Hero Section Mobile Typography */
    .hero-text h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    /* Process Section Mobile Typography */
    .process-grid h3 {
        font-size: 25px !important;
        line-height: 1.3;
        margin-bottom: 8px !important;
    }
    
    .process-grid p {
        font-size: 14px !important;
        line-height: 1.5;
    }
    
    /* Why Choose Us Mobile Typography */
    .benefit-title {
    
        line-height: 0.5;
        margin-bottom: 8px;
    }
    
    .benefit-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* CTA Section Mobile Typography */
    .cta-content h2 {
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .cta-content p {
        font-size: 16px !important;
        line-height: 1.6;
    }
    
    /* Mobile Spacing and Breathing Room */
    
    /* Section Padding - More breathing room between sections */
    section {
        padding: 40px 0 !important;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    /* Container Padding - Better edge spacing */
    .container {
        padding: 0 20px;
    }
    
    /* Section Headers - More space around titles */
    .section-header {
        margin-bottom: 0px;
    }
    
   
    
    

    
    /* Portfolio Section Spacing */
    .portfolio-section {
        padding: 20px 0;
    }
    
    /* Process Section Spacing */
    .why-choose-section {
        padding: 40px 0 20px 0;
    }
    
    .why-choose-grid {
        gap: 30px;
        margin-top: 40px;
    }
    
    .benefit-item {
        padding: 24px;
        background: white;
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
    }
    
    /* CTA Section Spacing */
    .cta-section {
        padding: 60px 0;
        margin-top: 40px;
        margin-bottom: 0;
    }
    
    .cta-buttons {
        gap: 16px;
        margin-top: 32px;
    }
    
    /* Button Spacing */
    .btn {
        padding: 14px 24px;
        margin: 8px 0;
    }
    
    .hero-cta-group {
        gap: 16px;
        margin-top: 32px;
    }
    
    /* Trust Badges Spacing */
    .trust-badges {
        gap: 20px;
        margin: 32px 0;
        flex-wrap: wrap;
    }
    
    .trust-badge {
        padding: 12px 16px;
        margin: 4px;
    }
    
    
    .pricing-feature {
        padding: 4px 0;
    }
}

/* Portfolio Horizontal Scroll Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.portfolio-scroll {
    position: relative;
    margin-top: 40px;
}

.portfolio-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 0 15px 20px 15px;
    -webkit-overflow-scrolling: touch;
}

.portfolio-scroll-container::-webkit-scrollbar {
    display: none;
}

.portfolio-preview {
    flex: 0 0 calc(100vw - 60px);
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    overflow: hidden;
}

.portfolio-preview-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.portfolio-preview-content {
    padding: 20px;
}

.portfolio-preview-content .portfolio-category {
    font-size: 12px;
    color: white;
    background: var(--primary-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.portfolio-preview-content .portfolio-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 8px 0;
    line-height: 1.3;
}

.portfolio-preview-content .portfolio-description {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.4;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
}

.portfolio-scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

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

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

/* Process Section Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

@media (max-width: 767px) {
    .process-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .process-grid > div:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 250px;
        margin: 1rem auto 0;
    }
}

/* Footer Styles - Gradient Dark Design */
.footer {
    background: linear-gradient(135deg, #3399ff, #0066cc, #003d7a);
    color: white;
    padding: 60px 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    position: relative;
    z-index: 1;
}

.footer-brand-section,
.footer-contact-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.footer-section-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.7;
    max-width: 400px;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-size: 16px;
}

.contact-link i {
    font-size: 20px;
    width: 24px;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: white;
    transform: translateX(5px);
}

.contact-link:hover i {
    transform: scale(1.2);
}

.timezone-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--success-green);
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-bg-light);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--dark-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge i {
    color: var(--success-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-size: 14px;
}

.tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.tagline i {
    color: #ff6b9d;
    margin: 0 4px;
}

/* Project Detail Page Specific Styles */
.project-hero {
    padding: 120px 0 60px;
    background: var(--gray-50);
}

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

.project-overview {
    padding: 60px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.project-images {
    display: grid;
    gap: 24px;
}

.main-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid-image {
    height: 150px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.project-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tech-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    padding: 32px;
    border-radius: 12px;
    position: relative;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    color: white;
    margin-bottom: 4px;
}

.author-info p {
    opacity: 0.8;
    font-size: 14px;
}

.rating {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.rating i {
    color: var(--premium-gold);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-content,
    .project-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 0px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    /* Typography adjustments */
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }

    .hero-text h1 {
        font-size: 42px;
    }

    /* Services Section - Mobile 3-column layout */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 12px;
    }

    .service-icon i {
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Portfolio Gallery - Mobile optimization */
    .portfolio-item {
        flex: 0 0 calc(100% - 40px);
    }

    .portfolio-item-image {
        aspect-ratio: 1 / 1;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .trust-badges {
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    /* Portfolio adjustments */
    .portfolio-features {
        grid-template-columns: 1fr;
    }
    
    .portfolio-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .portfolio-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .portfolio-image {
        height: 300px;
    }

    .package-features .price-label {
        font-size: 14px;
    }
    
    .perfect-for-section {
        padding: 12px;
    }
    
    .package-price {
        font-size: 36px;
    }


    /* Mobile Responsive - Why Choose Us */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    /* Footer Mobile Layout */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-brand-section,
    .footer-contact-section {
        text-align: center;
    }

    .footer-description {
        margin: 0 auto;
    }

    .footer-section-title {
        margin-top: 0;
    }

    .contact-info {
        align-items: center;
    }

    .contact-link {
        justify-content: center;
    }
    
    /* Contact form */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Trust section */
    section[style*="grid-template-columns: repeat(4, 1fr)"] > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Project sidebar */
    .project-sidebar {
        position: static;
    }
    
    /* Image grids */
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Tablet View - All tablets including iPad Mini (768px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    /* Portfolio tablet adjustments */
    .portfolio-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .portfolio-footer {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 20px !important;
        text-align: left !important;
    }
    
    .portfolio-stats {
        gap: 16px !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }
    
    .portfolio-content {
        padding: 32px;
    }
}



@media (max-width: 480px) {
    /* Extra small screens */
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .portfolio-image {
        height: 250px;
    }
    

     .package-price {
        font-size: 32px;
    }
    
    .package-features .price-label {
        font-size: 13px;
    }

    /*why choose us */
  
    
    .benefit-description {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* Trust section on mobile */
    section[style*="grid-template-columns: repeat(4, 1fr)"] > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Form elements */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* Loading Animation */
.loading-placeholder {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Page Entrance Animations */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popUp {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    70% {
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUpBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        transform: scale(1.1);
    }
    80% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Initial hidden states */
.hero-image img,
.service-icon,
.benefit-item,
.process-grid > div .process-icon,
.process-grid > div h3,
.process-grid > div p {
    opacity: 0;
}

/* Animation classes */
.hero-image img.animate {
    animation: zoomIn 1s ease-out forwards;
}

.benefit-item.animate {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.process-grid > div .process-icon.animate {
    animation: scaleUpBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.process-grid > div h3.animate,
.process-grid > div p.animate {
    animation: fadeUp 0.5s ease-out forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

/* Responsive Display Classes */
.mobile-only {
    display: none;
}

.desktop-tablet-only {
    display: block;
}

@media (max-width: 767px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-tablet-only {
        display: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-menu,
    .mobile-menu-btn,
    .cta-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
    }
}