/* Global Styles */

:root {
    --primary: rgb(41, 53, 65);
    /* Dark blue */
    --primary-dark: #0F2347;
    --secondary: #2D3748;
    /* Dark gray-blue */
    --accent: #4299E1;
    /* Bright blue */
    --light: #F7FAFC;
    --dark: #1A202C;
    --gray: #718096;
    --light-gray: #EDF2F7;
    --border: #E2E8F0;
    --success: #48BB78;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --radius: 8px;
}


/* Enhanced Hero Section */

.hero {
    background: rgb(53, 65, 78);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero p {
    color: white;
    font-size: 1.25rem;
    max-width: 600px;
}


/* Enhanced Button Styles */

.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-enhanced:hover::before {
    transform: translateY(100%);
}

.btn-enhanced:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(53, 99, 233, 0.3);
}


/* macOS Windows Container */

.hero-windows {
    flex: 1;
    position: relative;
    height: 500px;
}

.mac-windows-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.mac-window {
    position: relative;
    background: #2D3748;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
    width: 280px;
    height: 200px;
    margin: 10px;
    flex-shrink: 0;
}

.mac-window:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
}


/* Window positioning */

.window-1 {
    width: 280px;
    height: 200px;
    top: 0;
    left: 0;
    transform: rotateY(-15deg) rotateX(5deg);
    z-index: 3;
}

.window-2 {
    width: 320px;
    height: 240px;
    top: 80px;
    left: 180px;
    transform: rotateY(10deg) rotateX(-3deg);
    z-index: 2;
}

.window-3 {
    width: 260px;
    height: 180px;
    top: 160px;
    left: 50px;
    transform: rotateY(-8deg) rotateX(8deg);
    z-index: 1;
}

.mac-titlebar {
    background: #1A202C;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #4A5568;
}

.mac-buttons {
    display: flex;
    gap: 6px;
}

.mac-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mac-button:hover {
    transform: scale(1.2);
}

.mac-button.close {
    background: #FF5F57;
}

.mac-button.minimize {
    background: #FFBD2E;
}

.mac-button.maximize {
    background: #28CA42;
}

.window-title {
    color: #E2E8F0;
    font-size: 0.85rem;
    font-weight: 500;
}

.mac-content {
    padding: 20px;
    background: white;
    min-height: 120px;
    position: relative;
}


/* Analytics Window Content */

.analytics-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.chart-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #F59E0B;
}

.metric-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 60px;
}

.chart-bar {
    width: 12px;
    background: linear-gradient(to top, #F59E0B, #FCD34D);
    border-radius: 2px;
    animation: barGrow 2s ease-out forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

@keyframes barGrow {
    to {
        transform: scaleY(1);
    }
}

.chart-bar:nth-child(1) {
    animation-delay: 0.2s;
}

.chart-bar:nth-child(2) {
    animation-delay: 0.4s;
}

.chart-bar:nth-child(3) {
    animation-delay: 0.6s;
}

.chart-bar:nth-child(4) {
    animation-delay: 0.8s;
}


/* Website Preview Content */

.website-content {
    background: #F7FAFC;
}

.browser-bar {
    background: #E2E8F0;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 15px;
    font-size: 0.75rem;
    color: #4A5568;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-bar i {
    color: #10B981;
}

.website-preview h4 {
    color: #2D3748;
    margin-bottom: 12px;
    font-size: 1rem;
}

.preview-elements {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.preview-nav {
    height: 8px;
    background: linear-gradient(90deg, #3B82F6, #1D4ED8);
    border-radius: 2px;
}

.preview-hero {
    height: 20px;
    background: linear-gradient(90deg, #F59E0B, #D97706);
    border-radius: 2px;
}

.preview-content {
    height: 12px;
    background: linear-gradient(90deg, #E5E7EB, #9CA3AF);
    border-radius: 2px;
    width: 80%;
}


/* Performance Window Content */

.performance-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.performance-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.perf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.perf-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10B981;
}

.perf-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

.perf-circle {
    width: 40px;
    height: 40px;
}

.perf-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}


/* Enhanced Navigation */

.nav-links li a {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 6px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links li a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links li a:hover {
    color: #F59E0B;
    transform: translateY(-2px);
}


/* Responsive adjustments */

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    .hero-windows {
        height: 400px;
    }
    .window-1,
    .window-2,
    .window-3 {
        position: relative;
        transform: none;
        margin: 15px auto;
        display: block;
    }
    .mac-windows-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        perspective: none;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    .hero-text {
        order: 1;
        text-align: center;
        padding: 0 15px;
    }
    .hero-windows {
        order: 0;
        height: auto;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .mac-windows-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        perspective: none;
        height: auto;
    }
    .mac-window {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 90% !important;
        max-width: 300px;
        height: 200px;
        margin: 0 !important;
    }
    .window-1,
    .window-2,
    .window-3 {
        transform: none !important;
    }
}


/* Extra small screens */

@media (max-width: 480px) {
    .mac-window {
        height: 180px;
    }
    .mac-titlebar {
        padding: 10px;
    }
    .window-title {
        font-size: 0.8rem;
    }
    .mac-content {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .hero-windows {
        height: auto;
        padding: 20px 0;
    }
    .mac-window {
        width: 90%;
        max-width: 300px;
        height: 180px;
    }
}


/* Ensure mobile menu is hidden on desktop */

.mobile-menu {
    display: none;
    /* Hidden by default */
}


/* Show only on mobile */

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }
    .nav-links {
        display: none;
        /* Hide desktop nav on mobile */
    }
    .nav-links.active {
        display: flex;
        /* Only show when mobile menu is active */
    }
}


/* Ensure desktop nav shows on desktop */

.nav-links {
    display: flex;
}

@media (max-width: 576px) {
    .hero-windows {
        height: 240px;
    }
    .window-1,
    .window-2,
    .window-3 {
        width: 280px;
        height: 160px;
        margin: 5px auto;
    }
    .mac-content {
        padding: 12px;
        min-height: 80px;
    }
    .metric-value {
        font-size: 1.5rem;
    }
    .metric-label,
    .perf-label {
        font-size: 0.7rem;
    }
    .website-preview h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .browser-bar {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}


/* Card Styling */

.service-card,
.portfolio-item,
.pricing-plan {
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-card:hover,
.portfolio-item:hover,
.pricing-plan:hover {
    transform: translateY(-5px);
}


/* Button Styling */

.btn {
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

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

body {
    background-color: rgb(53, 65, 78);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

p {
    font-size: 1.1rem;
    color: white;
}

.dark-theme {
    --primary: #2B6CB0;
    --primary-dark: #2C5282;
    --secondary: #E2E8F0;
    --light: #1A202C;
    --dark: #F7FAFC;
    --gray: #CBD5E0;
    --border: #4A5568;
    background-color: #1A202C;
    color: #E2E8F0;
}

.dark-theme .service-card,
.dark-theme .pricing-plan {
    background-color: #2D3748;
    border-color: #4A5568;
}

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

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

.form-success.hidden {
    display: none;
}

.form-success {
    display: block;
    color: green;
}

html,
body {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    color: white;
    background-color: rgb(53, 65, 78);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    /* Adjust font size */
    line-height: 1.8;
    /* Improve readability */
    color: white;
    /* Ensure consistent color */
}

.logo {
    display: inline-block;
    height: 40px;
    /* Adjust based on your logo's aspect ratio */
}

@media (max-width: 768px) {
    .logo {
        height: 30px;
        /* Smaller logo on mobile */
    }
}


/* FAQ Section */

.faq {
    background-color: rgb(53, 65, 78);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgb(41, 53, 65);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}


/* Contact Section */

.contact-section {
    background-color: rgb(53, 65, 78);
    padding: 80px 0;
}

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

.contact-info {
    color: white;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-info .section-header h2 {
    color: white;
}

.contact-info .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-form-container {
    background: rgb(41, 53, 65);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-group option {
    background: var(--secondary);
    color: white;
}

.submit-btn {
    align-self: flex-start;
    min-width: 160px;
}


/* Form Success Message */

.contact-form .form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    color: var(--success);
}

.contact-form .form-success i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.contact-form .form-success h3 {
    color: var(--success);
    margin-bottom: 10px;
}

.contact-form .form-success p {
    color: var(--success);
    margin: 0;
    opacity: 0.9;
}


/* Modal Improvements */

#consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#consultation-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#consultation-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.modal-content h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}


/* Form Styling */

#consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

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

.form-success {
    text-align: center;
    color: #48BB78;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}


/* Submit Button */

.submit-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}


/* Logo Styles */

.logo {
    display: inline-block;
    height: 50px;
    /* Base size for all screens */
}

.logo img {
    height: 100%;
    width: auto;
    max-width: none;
    /* Allows natural width based on height */
    object-fit: contain;
}


/* Larger logo on desktop */

@media (min-width: 1024px) {
    .logo {
        height: 60px;
    }
}


/* Adjust header padding to accommodate larger logo */

header {
    padding: 20px 0 !important;
}


/* Mobile adjustments */

@media (max-width: 768px) {
    .logo {
        height: 40px;
    }
}

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

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

a:hover {
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background-color: rgb(41, 53, 65);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgb(41, 53, 65);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    background-color: rgb(30, 42, 54);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-outline {
    background-color: transparent;
    color: white;
}

.btn-outline:hover {
    background-color: rgb(41, 53, 65);
    color: var(--white);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-text {
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text i {
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}


/* Header Styles */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(41, 53, 65, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:active,
.nav-links a:focus,
.mobile-menu:active,
.mobile-menu:focus {
    outline: none;
}


/* Not recommended for accessibility */


/* Remove focus outline for mouse clicks */

*:focus:not(:focus-visible) {
    outline: none;
}


/* Keep focus outline for keyboard navigation */

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}


/* Optional: Add a more subtle focus style for keyboard navigation */

.nav-links a:focus-visible,
.mobile-menu:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    width: calc(100% - 24px);
    height: 2px;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

.mobile-menu {
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1100;
}

.mobile-menu span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: white;
    left: 0;
    transition: all 0.3s ease;
}


/* Hero Section */

.hero {
    background: linear-gradient(135deg, #293541 0%, #1a2635 100%);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient( circle at var(--x, 50%) var(--y, 50%), rgba(41, 53, 65, 0.50) 0%, rgba(41, 53, 65, 0.20) 30%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    transition: opacity 0.3s;
    pointer-events: none;
}

#particles-js {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    color: white;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    position: relative;
}

.hero-text p {
    color: white;
    font-size: 1.1rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.hero-btns {
    position: relative;
    z-index: 3;
}

.hero-image {
    position: relative;
    z-index: 3;
}

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

.hero-image img {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}


/* Services Section */

.services {
    background-color: rgb(53, 65, 78);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgb(41, 53, 65);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(53, 99, 233, 0.1) 0%, rgba(53, 99, 233, 0.05) 50%, rgba(245, 158, 11, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(53, 99, 233, 0.15);
}

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

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgb(53, 65, 78);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

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


/* Portfolio Section */

.portfolio {
    background-color: rgb(53, 65, 78);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-filter {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-filter:hover,
.portfolio-filter.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(41, 53, 65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: scale(1);
}

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

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.portfolio-more {
    margin-top: 50px;
    text-align: center;
}


/* Process Section */

.process {
    background-color: rgb(53, 65, 78);
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.process-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.process-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.process-steps {
    display: flex;
    gap: 160px;
    padding: 40px 100px;
    width: max-content;
    margin-left: 100px;
    transform: translateX(0);
    will-change: transform;
}

.process-step {
    flex: 0 0 400px;
    /* Much wider cards */
    background: rgb(41, 53, 65);
    padding: 40px;
    /* More internal padding */
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.step-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.6rem;
    /* Increased from 1.4rem */
    font-weight: 600;
    letter-spacing: -0.02em;
}

.step-content p {
    color: white;
    font-size: 1.15rem;
    /* Increased from 1rem */
    line-height: 1.8;
    margin: 0;
    opacity: 0.9;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}


/* Media query for mobile and tablet */

@media (max-width: 1024px) {
    .process {
        overflow: visible;
        padding: 60px 0;
    }
    .process-container {
        overflow: visible;
        margin-top: 0;
    }
    .process-steps {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 20px;
        width: 100%;
        margin-left: 0;
        transform: none !important;
    }
    .process-step {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .process-step {
        flex: 0 0 350px;
        /* Wider on mobile too */
        padding: 30px;
    }
    .process-steps {
        gap: 120px;
        /* Still spacious on mobile */
        padding: 30px 80px;
    }
    .step-number::after {
        width: 70px;
        right: -90px;
    }
}


/* Testimonials Section */

.testimonials {
    background-color: rgb(53, 65, 78) !important;
    /* Pure white background */
    padding: 80px 0;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
}

.testimonial-card {
    background-color: rgb(41, 53, 65);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 10px;
    left: 20px;
    color: white;
    font-size: 3rem;
}

.testimonial-quote i {
    font-size: 22px;
    color: #f8f8f8;
    opacity: 0.7;
}


/* Why Page Specific Styles */

#why-hero .hero-text h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

#why-hero .hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(245, 158, 11, 0.3);
    z-index: -1;
}

.section-dark {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0;
}

.section-light {
    background-color: var(--light);
    padding: 80px 0;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary);
    color: var(--secondary);
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.problem-stats {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
}

.stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.transformation-steps {
    margin-top: 60px;
}

.step {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.step-reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.step-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.benefits-list {
    margin-top: 20px;
}

.benefits-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list i {
    color: var(--primary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.result-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.result-content {
    padding: 30px;
    color: var(--secondary);
}

.result-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.result-stats {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

#why-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}


/* Responsive Styles */

@media (max-width: 1024px) {
    .step {
        flex-direction: column;
        gap: 30px;
    }
    .step-image,
    .step-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    .problem-cards {
        grid-template-columns: 1fr;
    }
    #why-hero .hero-content {
        flex-direction: column;
    }
    #why-hero .hero-text {
        order: 1;
        text-align: center;
    }
    #why-hero .hero-image {
        order: 0;
        margin-bottom: 40px;
    }
}

.section-light,
.problem-card,
.result-content {
    color: var(--dark) !important;
    /* Or your dark text color */
}


/* Ensure proper contrast */

.section-light,
.problem-card,
.result-card,
.result-content,
.pricing-plan,
.plan-header,
.plan-body {
    color: var(--dark) !important;
}

.section-light h1,
.section-light h2,
.section-light h3,
.problem-card h3,
.result-content h3,
.pricing-plan h3,
.pricing-plan h4 {
    color: var(--dark) !important;
}


/* Dark sections with white text */

.section-dark,
footer,
.cta,
#consultation-modal .modal-content {
    background-color: var(--primary-dark);
    color: white;
}


/* Modal form text */

#consultation-form label,
#consultation-form input,
#consultation-form select,
#consultation-form textarea {
    color: var(--dark);
}

.section-dark,
footer,
.cta {
    background-color: var(--primary-dark);
}

.section-light h1,
.section-light h2,
.section-light h3,
.problem-card h3,
.result-content h3 {
    color: var(--dark) !important;
}

@media (max-width: 480px) {
    .result-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .step h3 {
        font-size: 1.5rem;
    }
}

.testimonial-text {
    margin-bottom: 30px;
    font-style: italic;
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent !important;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    background: transparent !important;
}

.testimonial-author {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

button:focus {
    outline: none;
}

.nav-toggle {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-toggle:focus {
    outline: none;
    box-shadow: none;
    /* if you're using Tailwind or Bootstrap */
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }
    /* Ensure all sections stay within viewport */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

.testimonial-role {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-arrow:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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


/* About Section */

.about-hero {
    background-color: rgb(53, 65, 78);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: white;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}


/* Pricing Section */

.pricing {
    background-color: rgb(53, 65, 78);
    padding: 100px 0;
    position: relative;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.toggle-label {
    font-weight: 500;
    font-size: 1rem;
    color: var(--secondary);
    transition: var(--transition);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-gray);
    transition: var(--transition);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.pricing-plan {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    position: relative;
    transform-origin: center;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.plan-popular {
    transform: scale(1.05);
    border-color: var(--primary);
    z-index: 2;
    background: linear-gradient(to bottom, #fff, #f8faff);
}

.plan-popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(53, 99, 233, 0.2);
    z-index: 1;
}

.plan-header {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(245, 249, 255, 0.5), transparent);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.plan-name {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 600;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-body {
    padding: 40px 30px;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--secondary);
    font-size: 0.95rem;
}

.plan-features li i {
    color: var(--primary);
    font-size: 1rem;
    background: rgba(53, 99, 233, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-footer {
    padding: 0 30px 40px;
    text-align: center;
}

.pricing-note {
    margin-top: 50px;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
}

.pricing-note a {
    color: white;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* CTA Section */

.cta {
    background-color: rgb(41, 53, 65);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}


/* Footer */

footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: bisque;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
    color: var(--primary);
}

.footer-newsletter h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    height: 45px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
}

.newsletter-form button {
    width: 45px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

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


/* Modal */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 50px auto;
    padding: 40px;
    max-width: 600px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.4s;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

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

.modal-content h2 {
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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


/* Back to Top Button */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

#back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}


/* Animation Classes */

.animate-slide-in {
    animation: slideIn 1s forwards;
}

.animate-fade {
    animation: fadeIn 1.2s forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Responsive Styles */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero {
        padding: 140px 0 60px;
    }
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .hero-text {
        order: 1;
    }
    .hero-windows {
        order: 0;
        height: 300px;
        margin-bottom: 20px;
    }
    .pricing-plans {
        gap: 20px;
    }
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .nav-links {
        gap: 20px;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info .section-header {
        text-align: center;
    }
}

.hero-btns a {
    opacity: 1 !important;
    transform: none !important;
}


/* This will preserve spaces between words */

h1 span,
h2 span {
    white-space: pre;
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    .container {
        padding: 0 15px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(41, 53, 65, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        gap: 25px;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links li a {
        color: white !important;
        font-size: 1.2rem;
        padding: 15px 25px;
        display: block;
        text-align: center;
    }
    .mobile-menu {
        display: flex;
        z-index: 1100;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-text {
        order: 1;
        margin-bottom: 0;
    }
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    .hero-text p {
        font-size: 1.1rem;
        max-width: 90%;
        margin: 0 auto 25px;
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-btns .btn {
        width: 100%;
        padding: 12px 20px;
    }
    .hero-windows {
        order: 0;
        height: 250px;
        margin-bottom: 20px;
    }
    .services-grid,
    .portfolio-grid,
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card {
        text-align: center;
        padding: 25px 20px;
    }
    .service-icon {
        margin: 0 auto 20px;
    }
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-text {
        text-align: center;
    }
    .about-stats {
        justify-content: center;
        gap: 20px;
    }
    .process-steps {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        margin-left: 0;
        transform: none !important;
    }
    .process-step {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding: 25px 20px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .testimonial-card {
        padding: 25px 20px;
    }
    .testimonial-text {
        font-size: 1rem;
    }
    .testimonial-author-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .pricing-plan {
        margin: 0 auto;
        max-width: 350px;
    }
    .plan-popular {
        transform: scale(1);
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .copyright {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-bottom-links {
        justify-content: center;
    }
    section {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    /* FAQ Mobile Styles */
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }
    /* Contact Form Mobile Styles */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-form-container {
        padding: 25px 20px;
    }
    .contact-details {
        gap: 20px;
    }
    .contact-item {
        gap: 15px;
    }
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    /* Modal Mobile Styles */
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
        border-radius: 15px;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
}


/* Mobile-Only Styles - These won't affect desktop */

@media only screen and (max-width: 768px) {
    header {
        position: fixed;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1000;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.3s;
    }
    .nav-links li a {
        font-size: 1.2rem;
        padding: 12px 25px;
        display: block;
    }
    .mobile-menu {
        display: flex;
        z-index: 101;
        width: 30px;
        height: 25px;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
    .mobile-menu span {
        position: absolute;
        width: 100%;
        height: 3px;
        background: white;
        left: 0;
        transition: all 0.3s ease;
    }
    .mobile-menu span:nth-child(1) {
        top: 0;
    }
    .mobile-menu span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    .mobile-menu span:nth-child(3) {
        bottom: 0;
    }
    .mobile-menu.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu.active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        order: 1;
    }
    .hero-image {
        order: 0;
        margin-bottom: 40px;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 30px;
        max-width: 90%;
    }
    .hero-btns {
        justify-content: center;
        gap: 15px;
    }
    .services-grid,
    .portfolio-grid,
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .service-card {
        text-align: center;
    }
    .service-icon {
        margin: 0 auto 20px;
    }
    .portfolio-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }
    .portfolio-filter {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    .about-image {
        order: -1;
    }
}


/* Small Mobile Specific Styles */

@media only screen and (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-btns .btn {
        width: 100%;
    }
}


/* Extra Small Mobile Specific Styles */

@media only screen and (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .service-card,
    .portfolio-item,
    .testimonial-card,
    .pricing-plan {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .section-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }
    .hero {
        padding: 100px 0 40px;
    }
    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .hero-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    .hero-btns {
        gap: 12px;
    }
    .hero-windows {
        height: 200px;
    }
    .mac-window {
        width: 250px !important;
        height: 140px !important;
    }
    .mac-content {
        padding: 15px;
        min-height: 80px;
    }
    .services-grid,
    .portfolio-grid,
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .service-card {
        padding: 20px 15px;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }
    .service-card p {
        font-size: 0.9rem;
    }
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .portfolio-filter {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    .testimonial-card {
        padding: 20px 15px;
    }
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .testimonial-author-info {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .testimonial-author {
        font-size: 1rem;
    }
    .testimonial-role {
        font-size: 0.85rem;
    }
    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .stat {
        text-align: center;
    }
    .stat-number {
        font-size: 2rem;
    }
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    .pricing-plan {
        padding: 20px 15px;
        max-width: 320px;
    }
    .plan-header {
        padding: 25px 20px;
    }
    .plan-name {
        font-size: 1.3rem;
    }
    .plan-price {
        font-size: 2.2rem;
    }
    .plan-body {
        padding: 25px 20px;
    }
    .plan-features li {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .modal-content {
        padding: 25px 15px;
        margin: 15px;
        max-width: 95%;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    #back-to-top {
        bottom: 20px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .footer-content {
        gap: 25px;
    }
    .footer-column h3 {
        font-size: 1.1rem;
    }
    .footer-column p,
    .footer-links a,
    .contact-info li {
        font-size: 0.9rem;
    }
    section {
        padding: 50px 0;
    }
}


/* Extra small screens */

@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    .hero {
        padding: 90px 0 30px;
    }
    .hero-text h1 {
        font-size: 1.6rem;
    }
    .hero-text p {
        font-size: 0.95rem;
    }
    .hero-windows {
        height: 200px;
    }
    .window-1,
    .window-2,
    .window-3 {
        width: 260px;
        height: 140px;
    }
    .service-card,
    .portfolio-item,
    .testimonial-card,
    .pricing-plan {
        padding: 15px 10px;
    }
    .section-header {
        padding: 0 5px;
    }
    .section-header h2 {
        font-size: 1.4rem;
    }
    .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    .modal-content {
        padding: 20px 10px;
        margin: 10px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    section {
        padding: 40px 0;
    }
}


/* Menu fixes */

.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        width: 100vw;
    }
}

@media (max-width: 768px) {
    .process-steps {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0;
        width: 100%;
        margin-left: 0;
    }
    .process-step {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    /* Remove horizontal scroll on mobile */
    .process-container {
        overflow: visible;
    }
}


/* Add these styles to your existing CSS */

.process-step {
    transition: all 0.4s ease;
    will-change: transform;
}


/* Desktop-specific enhancements */

@media (min-width: 1025px) {
    .process-step:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    .step-number {
        transition: all 0.3s ease;
    }
}

.process-steps {
    position: relative;
}


/* Update these styles in your CSS */

.process-step {
    position: relative;
    overflow: hidden;
}

.hover-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient( 300px circle at var(--x) var(--y), rgba(53, 99, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius);
}

.process-step:hover .hover-light {
    opacity: 1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: top center;
}


/* Add to your styles.css */

.btn-modal {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 100%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.btn-modal:active::after {
    transform: translate(-50%, -50%) scale(30);
    opacity: 1;
    transition: transform 0.6s, opacity 0.6s;
}

.btn-modal:active {
    transform: translateY(2px) scale(0.98);
}


/* Add to your existing button styles */

.btn-modal {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

.btn-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-modal:hover::before {
    transform: translateY(100%);
}

.btn-modal:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(53, 99, 233, 0.3);
}

.success-message {
    text-align: center;
    padding: 30px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    color: var(--success);
}

.success-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}


/* Preload key elements */

header,
.hero-content,
.hero-text,
.hero-btns {
    will-change: transform;
}


/* Optimize animations */

.animate-slide-in,
.animate-fade,
.animate-slide-up {
    will-change: opacity, transform;
}


/* Font loading strategy */

body {
    font-display: swap;
}


/* Image optimization */

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 10px;
    z-index: 1000;
}

.skip-link:focus {
    left: 0;
}


/* Focus styles for keyboard navigation */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* Hide decorative elements from screen readers */

[aria-hidden="true"] {
    pointer-events: none;
}


/* Add to styles.css */

img {
    width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}


/* Optimize font loading */

body {
    font-display: swap;
}


/* Focus styles */

a:focus,
button:focus,
input:focus {
    outline: 2px solid #F59E0B;
    outline-offset: 2px;
}


/* Proper heading hierarchy visual styling */

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}


/* Transformation Page Styles */

.transformation-hero {
    background: linear-gradient(135deg, rgba(53, 99, 233, 0.15) 0%, rgba(53, 99, 233, 0.05) 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.transformation-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.transformation-hero .subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--secondary);
}

.problem-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.3rem;
    color: var(--dark);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary);
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.transformation-section {
    padding: 80px 0;
    background-color: var(--light);
}

.transformation-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.transformation-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.transformation-item.reverse {
    flex-direction: row-reverse;
}

.transformation-content {
    flex: 1;
}

.transformation-content h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.transformation-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.transformation-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.results-section {
    padding: 80px 0;
    background-color: var(--white);
}

.results-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.result-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.result-stats {
    margin-bottom: 20px;
}

.stat {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
}

.result-content h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.our-process {
    padding: 80px 0;
    background-color: var(--light);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.transformation-cta {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.transformation-cta h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.3rem;
}

.transformation-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .transformation-item,
    .transformation-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .transformation-hero h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .transformation-content h3 {
        font-size: 1.5rem;
    }
    .stat {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .transformation-hero h1 {
        font-size: 1.8rem;
    }
    .transformation-hero .subtitle {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .process-step {
        flex-direction: column;
        gap: 20px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


/* Why Us Page Specific Styles */

#why-hero .hero-text h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

#why-hero .hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(245, 158, 11, 0.3);
    z-index: -1;
}

.section-dark {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

.section-light {
    background-color: var(--light);
    padding: 80px 0;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary);
    color: var(--secondary);
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.problem-stats {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
}

.stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.transformation-steps {
    margin-top: 60px;
}

.step {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.step-reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.step-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.benefits-list {
    margin-top: 20px;
}

.benefits-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list i {
    color: var(--primary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.result-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.result-content {
    padding: 30px;
    color: var(--secondary);
}

.result-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.result-stats {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

#why-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}


/* Responsive Styles */

@media (max-width: 1024px) {
    .step {
        flex-direction: column;
        gap: 30px;
    }
    .step-image,
    .step-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    .problem-cards {
        grid-template-columns: 1fr;
    }
    #why-hero .hero-content {
        flex-direction: column;
    }
    #why-hero .hero-text {
        order: 1;
        text-align: center;
    }
    #why-hero .hero-image {
        order: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .result-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .step h3 {
        font-size: 1.5rem;
    }
}


/* --- MOBILE NAVIGATION FIXES --- */


/* Ensure nav-links overlay the page and are visible when active */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        /* Start below header */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(41, 53, 65, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links li a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
    }
    .mobile-menu {
        display: flex;
        z-index: 1001;
    }
}


/* Fix nav link hover/focus for mobile */

@media (max-width: 768px) {
    .nav-links li a:hover,
    .nav-links li a:focus {
        color: var(--accent) !important;
        background: rgba(255, 255, 255, 0.05);
    }
}


/* Ensure nav is above all content */

header,
.nav-links,
.mobile-menu {
    z-index: 1100;
}