/* CSS Custom Properties */
:root {
    /* Colors */
    --primary-color: #5e6f90;
    --primary-dark: #4a5673;
    --secondary-color: #64748b;
    --accent-color: #607090;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e2e8f0;
    --grey-100: #f1f5f9;
    --grey-200: #e2e8f0;
    --grey-300: #cbd5e1;
    --grey-400: #94a3b8;
    --grey-500: #64748b;
    --grey-600: #475569;
    --grey-700: #334155;
    --grey-800: #1e293b;
    --grey-900: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --container-max-width: 1400px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
    --container-padding: 40px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Additional responsive container adjustments */
@media (max-width: 1440px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 25px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 140px;
}

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

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

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

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

.full-width {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.logo img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    background-color: white;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.logo-text p {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary-dark);
    margin: 0;
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all var(--transition-fast);
}

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

.hero-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    flex: 1;
    order: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-slogan {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--primary-dark);
    font-size: 2.5rem;
    text-align: center;
    display: block;
}

.accent-subtitle {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: justify;
    text-indent: 1em;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    order: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    max-height: 700px;
}

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

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

.service-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    text-align: left;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.achievements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.achievement {
    padding: 1.25rem;
    background-color: var(--grey-100);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    min-height: auto;
}

.achievement h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 16px;
    object-fit: contain;
}

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

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

.portfolio-item {
    background-color: var(--background-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
    pointer-events: none;
}

.portfolio-item:hover::before {
    opacity: 1;
}

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

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.portfolio-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--background-white);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: 1000px;
    height: 700px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    animation: modalZoomIn 0.3s ease;
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-gallery {
    position: relative;
    flex: 1;
    overflow: hidden;
    background-color: var(--grey-100);
}

.modal-images {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform var(--transition-normal);
}

.modal-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    background-color: var(--background-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-images img.loaded {
    opacity: 1;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    pointer-events: all;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-prev:disabled,
.modal-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-prev:disabled:hover,
.modal-next:disabled:hover {
    transform: none;
    background: rgba(0, 0, 0, 0.7);
}

.modal-info {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-white);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

/* Image placeholder styles */
.image-placeholder {
    background: linear-gradient(45deg, var(--grey-200) 25%, transparent 25%), 
                linear-gradient(-45deg, var(--grey-200) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, var(--grey-200) 75%), 
                linear-gradient(-45deg, transparent 75%, var(--grey-200) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    font-weight: 500;
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.process .section-title {
    margin-bottom: 1rem;
}

.process .section-subtitle {
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--grey-100);
    border-radius: 16px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
    min-height: 260px;
}



.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--background-white);
    border: 2px solid var(--grey-200);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--grey-200);
    border-radius: 25% 10%;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.step:hover .step-number {
    box-shadow: var(--shadow-lg);
    background: var(--grey-100);
    transform: scale(1.05);
}

.step-number img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.step-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--background-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.pricing-card.featured {
    transform: scale(1.02);
    border: 2px solid var(--primary-color);
}

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

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.pricing-card.active {
    border: 3px solid var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured.active .popular-badge {
    background: var(--primary-color) !important;
    color: white !important;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.tariff-summary {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.price {
    margin-bottom: 2rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-card .features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-card .btn {
    margin-top: auto;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--grey-200);
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.features li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--grey-100);
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.contact-form {
    background-color: var(--grey-100);
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
    background-color: var(--background-white);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--grey-800), var(--grey-900));
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-left .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-left .logo img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    padding: 8px;
    object-fit: contain;
}

.footer-left .logo .footer-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-left .logo .footer-text span {
    color: white;
    font-size: 1.8rem;
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-left .logo .footer-text p {
    color: var(--grey-300);
    margin: 0;
    font-size: 1rem;
}

.footer-left p {
    color: var(--grey-300);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-cta {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-right {
    flex-shrink: 0;
    text-align: right;
}

.footer-right p {
    color: var(--grey-400);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-right a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-right a:hover {
    color: var(--accent-color);
}

/* Large screens optimization */
@media (min-width: 1600px) {
    :root {
        --container-max-width: 1600px;
        --container-padding: 60px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stat-number {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-white);
        border-top: 1px solid var(--border-color);
        padding: 2rem 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

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

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

    body.menu-open {
        overflow: hidden;
    }

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

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
        gap: 3rem;
    }

    .about-content .about-image {
        order: -1;
    }

    .about-content .about-text {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 2rem 1.5rem;
        min-height: auto;
        text-align: center;
    }

    .step-number {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .step-number img {
        width: 70px;
        height: 70px;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .contact-content {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }

    /* Modal responsive styles */
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        width: auto;
        height: auto;
        margin: 10px;
    }

    .modal-gallery {
        min-height: 300px;
        max-height: 60vh;
    }

    .modal-nav {
        padding: 0 10px;
    }

    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .modal-info {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }
}

/* Medium screens - tablets and small laptops */
@media (max-width: 1200px) and (min-width: 769px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .step {
        min-height: 240px;
        padding: 1.75rem 1.25rem;
    }

    .step-number {
        width: 110px;
        height: 110px;
        margin-bottom: 1.25rem;
    }

    .step-number img {
        width: 75px;
        height: 75px;
    }

    .step-content h3 {
        font-size: 1.15rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }
}

/* Add a new breakpoint for medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .pricing-card {
        min-height: 400px;
        padding: 1.75rem 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.01);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1.01) translateY(-8px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
        flex: 1;
        min-width: 80px;
    }

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

    .stat-text {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .hero-cta {
        margin-top: 2rem;
    }

    .achievements {
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem 1.25rem;
        min-height: 360px;
    }

    .social-links {
        flex-direction: column;
    }

    .step {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }

    .step-number img {
        width: 60px;
        height: 60px;
    }

    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero-stats {
        gap: 0.5rem;
    }

    .stat {
        min-width: 70px;
    }

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

    .stat-text {
        font-size: 0.75rem;
    }
}

/* Accessibility and Animation Enhancements */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.btn:focus,
.nav-link:focus,
.social-link:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

.service-card,
.portfolio-item,
.pricing-card,
.step,
.achievement {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Loading states */
.portfolio-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Modal loading state */
.modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.modal-loading::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid var(--grey-300);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: modalSpin 1s linear infinite;
    margin-right: 1rem;
}

@keyframes modalSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Portfolio grid loading animation */
@keyframes portfolioFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item {
    animation: portfolioFadeInUp 0.6s ease forwards;
} 