/* ===================================
   Modern Yazılım Şirketi Web Sitesi
   Grape Yazılım - Gelişmiş Tasarım
   =================================== */

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

:root {
    /* Renkler */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --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);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

/* ===================================
   Navbar Styles
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 40px;
    line-height: 40px;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-base);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-base);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--spacing-3xl) + 60px) 0 var(--spacing-3xl);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-text {
    min-height: 1.2em;
    display: inline;
}

.typewriter-cursor {
    display: inline;
    animation: blink 1s infinite;
    color: var(--primary-color);
    margin-left: 2px;
    vertical-align: baseline;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: var(--radius-2xl);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    bottom: 50px;
    right: 100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    top: 200px;
    right: 50px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-family);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.about-text p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-base);
    color: var(--text-light);
    font-weight: 500;
}

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

.service-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

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

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.portfolio-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.portfolio-image {
    width: 100%;
    height: 250px;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.portfolio-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.portfolio-info {
    padding: var(--spacing-lg);
}

.portfolio-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.portfolio-tags {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.tag {
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: 500;
}

/* ===================================
   Contact Section
   =================================== */

/* ===================================
   Floating Contact Button
   =================================== */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 9999;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    animation: contactPulse 2s ease-in-out infinite;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.floating-contact-btn svg {
    width: 28px;
    height: 28px;
}

@keyframes contactPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
}

/* ===================================
   Contact Modal
   =================================== */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    overflow: hidden;
}

.contact-modal.active {
    display: block;
}

.contact-modal-content {
    position: relative;
    width: 100%;
    height: 100vh;
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    animation: slideUpFromBottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

@keyframes slideUpFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-modal-header {
    position: relative;
    height: 200px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10;
    overflow: visible;
    padding-bottom: 0;
}

.modal-header-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(59, 130, 246, 0.2) 30%,
        rgba(79, 70, 229, 0.2) 50%,
        rgba(139, 92, 246, 0.2) 70%,
        rgba(236, 72, 153, 0.2) 100%
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.contact-modal-close {
    position: relative;
    width: 140px;
    height: 100px;
    background: var(--bg-white);
    border: none;
    border-radius: 70px 70px 0 0;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    transition: all var(--transition-base);
    box-shadow: none;
    transform: translateY(0);
    margin-bottom: -1px;
}

.contact-modal-close:hover {
    background: var(--bg-light);
    transform: translateY(0) scale(1.02);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.contact-modal-close svg {
    width: 32px;
    height: 32px;
    stroke-width: 3;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-modal-close:hover svg {
    transform: rotate(720deg);
}

.contact-modal-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-3xl);
    padding: var(--spacing-3xl);
    align-items: center;
    min-height: calc(100vh - 200px);
    flex: 1;
    background: var(--bg-white);
}

/* Statue Styles */
.contact-statue {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.statue-container {
    position: relative;
    width: 400px;
    height: 600px;
    overflow: visible;
}

.statue-figure {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.statue-figure::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    right: -50px;
    height: 200px;
    background: linear-gradient(to top, var(--bg-white) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
    pointer-events: none;
    z-index: 4;
}

.statue-silhouette {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.statue-silhouette .statue-image {
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.6)) 
            drop-shadow(0 0 40px rgba(123, 104, 238, 0.4))
            drop-shadow(0 0 60px rgba(236, 72, 153, 0.3));
    animation: statueGlow 3s ease-in-out infinite alternate;
}

.statue-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

@keyframes statueGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.6)) 
                drop-shadow(0 0 40px rgba(123, 104, 238, 0.4))
                drop-shadow(0 0 60px rgba(236, 72, 153, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(74, 144, 226, 0.8)) 
                drop-shadow(0 0 60px rgba(123, 104, 238, 0.6))
                drop-shadow(0 0 90px rgba(236, 72, 153, 0.5));
    }
}

.statue-neon {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: neonPulse 4s ease-in-out infinite;
}

.statue-neon-blue {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.6) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.statue-neon-pink {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes neonPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

/* Contact Panels */
.contact-panel {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

/* Hover effect: when hovering over a panel, the other panel becomes dim */
.contact-modal-body:hover .contact-panel-left:not(:hover),
.contact-modal-body:hover .contact-panel-right:not(:hover) {
    opacity: 0.5;
    transform: scale(0.98);
}

.contact-panel:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
    opacity: 1 !important;
}

.panel-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.panel-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--text-dark);
    font-size: var(--font-size-lg);
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Panel Buttons */
.btn-panel {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.btn-panel-primary {
    background: linear-gradient(135deg, #7b68ee 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(123, 104, 238, 0.4);
}

.btn-panel-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 104, 238, 0.6);
}

.btn-panel-secondary {
    background: var(--text-dark);
    color: white;
    border: 1px solid var(--text-dark);
}

.btn-panel-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Modal Form */
.contact-form-modal {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group-modal {
    margin-bottom: 0;
}

.form-group-name-surname {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group-name-surname input {
    width: 100%;
}

.form-group-modal input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: all var(--transition-fast);
}

.form-group-modal input::placeholder {
    color: var(--text-muted);
}

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

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.phone-input-wrapper:focus-within {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    color: var(--text-light);
    font-size: var(--font-size-base);
    border-right: 1px solid var(--border-color);
    background: var(--bg-light);
}

.phone-prefix svg {
    width: 16px;
    height: 16px;
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-md);
}

.phone-input-wrapper input:focus {
    box-shadow: none;
}

.checkbox-group {
    margin-top: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, #7b68ee 0%, #ec4899 100%);
    border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    flex: 1;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

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

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

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left var(--transition-base);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
        gap: var(--spacing-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .logo-image {
        height: 32px;
    }

    .logo-text {
        font-size: 32px;
        line-height: 32px;
    }

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

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

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

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-visual {
        display: none;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    .logo-image {
        height: 28px;
    }

    .logo-text {
        font-size: 28px;
        line-height: 28px;
    }

    .floating-contact-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .floating-contact-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Contact Modal Responsive */
@media (max-width: 1200px) {
    .contact-modal-body {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        padding: var(--spacing-2xl);
    }

    .contact-statue {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }

    .statue-container {
        width: 250px;
        height: 400px;
    }

    .panel-title {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 768px) {
    .contact-modal-content {
        height: 100vh;
    }

    .contact-modal-body {
        padding: var(--spacing-lg);
        min-height: calc(100vh - 200px);
    }

    .form-group-modal {
        grid-template-columns: 1fr !important;
    }

    .statue-container {
        width: 200px;
        height: 300px;
    }

    .contact-panel {
        padding: var(--spacing-lg);
    }

    .panel-title {
        font-size: var(--font-size-xl);
    }

    .contact-info-item {
        font-size: var(--font-size-base);
    }
}

/* ===================================
   Project Modal
   =================================== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.project-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.project-modal-content.animated {
    animation: slideUpFromBottom 0.5s ease-out;
}

.project-modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.project-modal-close:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.project-modal-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal-close:hover svg {
    transform: rotate(720deg);
}

.project-modal-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-lg);
}

.project-modal-intro {
    text-align: center;
    color: var(--text-dark);
    width: 100%;
}

.project-modal-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.project-modal-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-light);
    font-weight: 300;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    max-width: 800px;
    width: 100%;
}

.project-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.project-card:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.project-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
}

.project-card:hover .project-card-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.project-card-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.project-card-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.project-card-time {
    font-size: var(--font-size-base);
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Project Modal Responsive */
@media (max-width: 768px) {
    .project-modal-content {
        width: 95%;
        padding: var(--spacing-xl);
        max-height: 95vh;
    }

    .project-modal-title {
        font-size: var(--font-size-3xl);
    }

    .project-modal-subtitle {
        font-size: var(--font-size-lg);
    }

    .project-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .project-card {
        padding: var(--spacing-2xl);
    }

    .project-card-icon {
        width: 60px;
        height: 60px;
    }
}

/* ===================================
   Project Type Modal
   =================================== */
.project-type-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-type-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-type-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.project-type-back {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.project-type-back:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.project-type-back svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.project-type-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.project-type-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.project-type-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    max-width: 800px;
    margin: 0 auto;
}

.project-type-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.project-type-card:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.project-type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: color var(--transition-base);
}

.project-type-card:hover .project-type-icon {
    color: var(--secondary-color);
}

.project-type-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.project-type-card-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.project-type-card-desc {
    font-size: var(--font-size-base);
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Services Selection Modal */
.services-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.services-selection-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-selection-modal-content {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.services-selection-back {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.services-selection-back:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.services-selection-back svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.services-selection-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-md);
    padding-top: 0;
    flex-shrink: 0;
}

.services-selection-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-sm) 0;
}

.services-selection-error {
    font-size: var(--font-size-base);
    color: #ef4444;
    margin: var(--spacing-sm) 0 0 0;
    font-weight: 500;
    animation: errorShake 0.5s ease-out;
    display: none;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.services-selection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.service-category {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-category:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.service-category-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-category-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.service-category-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    flex-shrink: 0;
}

.service-checkboxes {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    flex: 1;
    overflow: hidden;
}

.service-checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    color: var(--text-dark);
    font-size: var(--font-size-base);
    padding: 4px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.service-checkbox-label:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

.service-checkbox-label input[type="checkbox"] {
    display: none;
}

.service-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    background: transparent;
}

.service-checkbox-label input[type="checkbox"]:checked + .service-checkbox-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

.service-checkbox-label input[type="checkbox"]:checked + .service-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.services-selection-footer {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
    flex-shrink: 0;
}

.btn-services-next {
    padding: var(--spacing-md) var(--spacing-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-services-next:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-services-next:active {
    transform: translateY(0);
}

/* Project Type & Services Selection Modal Responsive */
@media (max-width: 1200px) {
    .services-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-type-modal-content,
    .services-selection-modal-content {
        width: 95%;
        padding: var(--spacing-xl);
        max-height: 95vh;
    }

    .project-type-title,
    .services-selection-title {
        font-size: var(--font-size-3xl);
    }

    .project-type-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .services-selection-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .project-type-card {
        padding: var(--spacing-2xl);
    }

    .project-type-icon {
        width: 60px;
        height: 60px;
    }
}

/* ===================================
   Project Info Modal
   =================================== */
.project-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-info-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-info-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.project-info-back {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.project-info-back:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.project-info-back svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.project-info-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.project-info-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.project-info-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.form-group-project-info {
    width: 100%;
}

.form-group-project-info.full-width {
    grid-column: 1 / -1;
}

.form-group-project-info input,
.form-group-project-info textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

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

.form-group-project-info input::placeholder,
.form-group-project-info textarea::placeholder {
    color: var(--text-muted);
}

.form-group-project-info input:focus,
.form-group-project-info textarea:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.select-wrapper-project-info {
    position: relative;
    width: 100%;
}

.select-project-info {
    width: 100%;
    padding: var(--spacing-md);
    padding-right: 40px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: var(--font-family);
    appearance: none;
    cursor: pointer;
}

.select-project-info:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.select-project-info option {
    background: var(--bg-white);
    color: var(--text-dark);
}

.select-arrow {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-light);
    pointer-events: none;
}

.project-info-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-project-info-next {
    padding: var(--spacing-md) var(--spacing-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-project-info-next:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Company Info Modal */
.company-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10004;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.company-info-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-info-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.company-info-back {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.company-info-back:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.company-info-back svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.company-info-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.company-info-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.company-info-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.form-group-company-info {
    width: 100%;
}

.form-group-company-info input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.form-group-company-info input::placeholder {
    color: var(--text-muted);
}

.form-group-company-info input:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.company-info-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-company-info-next {
    padding: var(--spacing-md) var(--spacing-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-company-info-next:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Company Contact Info Modal */
.company-contact-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10005;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.company-contact-info-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-contact-info-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.company-contact-info-back {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.company-contact-info-back:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.company-contact-info-back svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.company-contact-info-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.company-contact-info-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.company-contact-info-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.form-group-company-contact-info {
    width: 100%;
}

.form-group-company-contact-info input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.form-group-company-contact-info input::placeholder {
    color: var(--text-muted);
}

.form-group-company-contact-info input:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-input-wrapper-company-contact {
    display: flex;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.phone-input-wrapper-company-contact:focus-within {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-prefix-company-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: var(--font-size-base);
}

.phone-prefix-company-contact svg:first-child {
    width: 16px;
    height: 16px;
    color: var(--text-light);
}

.phone-prefix-company-contact .arrow-down {
    width: 12px;
    height: 12px;
    color: var(--text-light);
}

.phone-input-wrapper-company-contact input {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-md);
    color: var(--text-dark);
}

.phone-input-wrapper-company-contact input:focus {
    outline: none;
    background: transparent;
}

.company-contact-info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.checkbox-label-company-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    flex: 1;
}

.checkbox-label-company-contact input[type="checkbox"] {
    display: none;
}

.checkbox-custom-company-contact {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    background: transparent;
}

.checkbox-label-company-contact input[type="checkbox"]:checked + .checkbox-custom-company-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

.checkbox-label-company-contact input[type="checkbox"]:checked + .checkbox-custom-company-contact::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text-company-contact {
    flex: 1;
}

.btn-company-contact-info-submit {
    padding: var(--spacing-md) var(--spacing-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.btn-company-contact-info-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Personal Info Modal */
.personal-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10004;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.personal-info-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.personal-info-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.personal-info-back {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.personal-info-back:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.personal-info-back svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.personal-info-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.personal-info-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.personal-info-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.form-group-personal-info {
    width: 100%;
}

.form-group-personal-info.full-width {
    grid-column: 1 / -1;
}

.form-group-personal-info input,
.form-group-personal-info textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.form-group-personal-info textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group-personal-info input::placeholder,
.form-group-personal-info textarea::placeholder {
    color: var(--text-muted);
}

.form-group-personal-info input:focus,
.form-group-personal-info textarea:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-input-wrapper-personal {
    display: flex;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.phone-input-wrapper-personal:focus-within {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-prefix-personal {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: var(--font-size-base);
}

.phone-prefix-personal svg:first-child {
    width: 16px;
    height: 16px;
    color: var(--text-light);
}

.phone-prefix-personal .arrow-down {
    width: 12px;
    height: 12px;
    color: var(--text-light);
}

.phone-input-wrapper-personal input {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-md);
    color: var(--text-dark);
}

.phone-input-wrapper-personal input:focus {
    outline: none;
    background: transparent;
}

.personal-info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.checkbox-label-personal {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    flex: 1;
}

.checkbox-label-personal input[type="checkbox"] {
    display: none;
}

.checkbox-custom-personal {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    background: transparent;
}

.checkbox-label-personal input[type="checkbox"]:checked + .checkbox-custom-personal {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

.checkbox-label-personal input[type="checkbox"]:checked + .checkbox-custom-personal::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text-personal {
    flex: 1;
}

.btn-personal-info-submit {
    padding: var(--spacing-md) var(--spacing-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.btn-personal-info-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Project Info, Company Info, Company Contact Info & Personal Info Modal Responsive */
@media (max-width: 768px) {
    .project-info-modal-content,
    .company-info-modal-content,
    .company-contact-info-modal-content,
    .personal-info-modal-content {
        width: 95%;
        padding: var(--spacing-xl);
        max-height: 95vh;
    }

    .project-info-title,
    .company-info-title,
    .company-contact-info-title,
    .personal-info-title {
        font-size: var(--font-size-3xl);
    }

    .project-info-form-grid,
    .company-info-form-grid,
    .company-contact-info-form-grid,
    .personal-info-form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .personal-info-footer,
    .company-contact-info-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-personal-info-submit,
    .btn-company-contact-info-submit {
        width: 100%;
    }
}

/* ===================================
   Quick Quote Summary Modal
   =================================== */
.quote-summary-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10009;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quote-summary-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-summary-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.quote-summary-icon-wrapper {
    margin-bottom: var(--spacing-2xl);
    display: flex;
    justify-content: center;
}

.quote-summary-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    animation: successIconPop 0.5s ease-out;
}

@keyframes successIconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.quote-summary-checkmark {
    width: 60px;
    height: 60px;
    color: white;
    stroke-width: 3;
    animation: checkmarkDraw 0.6s ease-out 0.3s both;
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 0 50;
        opacity: 0;
    }
    100% {
        stroke-dasharray: 50 0;
        opacity: 1;
    }
}

.quote-summary-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.quote-summary-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.quote-summary-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.quote-summary-footer {
    width: 100%;
    margin-top: var(--spacing-lg);
}

.btn-quote-summary-home {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(135deg, #7b68ee 0%, #ec4899 100%);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-quote-summary-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.4);
}

.btn-quote-summary-home:active {
    transform: translateY(0);
}

/* Quick Quote Summary Modal Responsive */
@media (max-width: 768px) {
    .quote-summary-modal-content {
        width: 95%;
        padding: var(--spacing-xl);
        max-height: 95vh;
    }

    .quote-summary-icon-circle {
        width: 100px;
        height: 100px;
    }

    .quote-summary-checkmark {
        width: 50px;
        height: 50px;
    }

    .quote-summary-title {
        font-size: var(--font-size-3xl);
    }

    .quote-summary-subtitle {
        font-size: var(--font-size-sm);
    }
}

/* ===================================
   Success Modal
   =================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10010;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.success-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-4xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.success-icon-wrapper {
    margin-bottom: var(--spacing-3xl);
}

.success-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    animation: successIconPop 0.5s ease-out;
}

@keyframes successIconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-checkmark {
    width: 60px;
    height: 60px;
    color: white;
    stroke-width: 3;
    animation: checkmarkDraw 0.6s ease-out 0.3s both;
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 0 50;
        opacity: 0;
    }
    100% {
        stroke-dasharray: 50 0;
        opacity: 1;
    }
}

.success-message {
    margin-bottom: var(--spacing-3xl);
    color: var(--text-dark);
}

.success-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.success-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.success-footer {
    width: 100%;
}

.btn-success-home {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-success-home:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success-home:active {
    transform: translateY(0);
}

/* Success Modal Responsive */
@media (max-width: 768px) {
    .success-modal-content {
        width: 95%;
        padding: var(--spacing-3xl);
    }

    .success-icon-circle {
        width: 100px;
        height: 100px;
    }

    .success-checkmark {
        width: 50px;
        height: 50px;
    }

    .success-title {
        font-size: var(--font-size-xl);
    }

    .success-subtitle {
        font-size: var(--font-size-sm);
    }
}

/* ===================================
   Contact Page Styles
   =================================== */

/* Form Success Message for Modal */
.form-success-message-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    min-height: 100%;
    width: 100%;
}

.form-success-icon-modal {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    animation: successIconPop 0.5s ease-out;
}

.form-success-icon-modal svg {
    width: 50px;
    height: 50px;
    color: white;
    stroke-width: 3;
}

.form-success-title-modal {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.4;
    text-align: center;
    max-width: 100%;
}

.form-success-subtitle-modal {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
}

@media (max-width: 768px) {
    .form-success-message-modal {
        padding: var(--spacing-2xl) var(--spacing-md);
        min-height: 100%;
    }

    .form-success-icon-modal {
        width: 80px;
        height: 80px;
        margin-bottom: var(--spacing-xl);
    }

    .form-success-icon-modal svg {
        width: 40px;
        height: 40px;
    }

    .form-success-title-modal {
        font-size: var(--font-size-2xl);
    }

    .form-success-subtitle-modal {
        font-size: var(--font-size-base);
    }
}

/* Form Success Message */
.form-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    min-height: 100%;
    width: 100%;
}

.form-success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    animation: successIconPop 0.5s ease-out;
}

.form-success-icon svg {
    width: 50px;
    height: 50px;
    color: white;
    stroke-width: 3;
}

.form-success-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.4;
    text-align: center;
    max-width: 100%;
}

.form-success-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
}

@keyframes successIconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .form-success-message {
        padding: var(--spacing-2xl) var(--spacing-md);
        min-height: 100%;
    }

    .form-success-icon {
        width: 80px;
        height: 80px;
        margin-bottom: var(--spacing-xl);
    }

    .form-success-icon svg {
        width: 40px;
        height: 40px;
    }

    .form-success-title {
        font-size: var(--font-size-2xl);
    }

    .form-success-subtitle {
        font-size: var(--font-size-base);
    }
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    align-items: start;
}

.contact-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    height: fit-content;
}

.contact-cards-wrapper::after {
    content: '';
    display: block;
    height: 0;
}

.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    position: relative;
}

.contact-card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.2;
    z-index: -1;
    filter: blur(8px);
}

.contact-card-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.5;
}

.contact-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-card-text {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin: var(--spacing-xs) 0;
    line-height: 1.5;
}

.contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    align-self: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: fit-content;
    max-height: 100%;
}

.contact-form-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contact-form-page {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
}

.form-group-page {
    width: 100%;
    position: relative;
}

.form-group-page input,
.form-group-page textarea {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.form-group-page textarea {
    resize: none;
    min-height: 120px;
    max-height: 120px;
}

.form-group-page input::placeholder,
.form-group-page textarea::placeholder {
    color: var(--text-muted);
}

.form-group-page input:focus,
.form-group-page textarea:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group-page input:invalid:not(:placeholder-shown),
.form-group-page textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    background: var(--bg-white);
}

.form-group-page input:invalid:not(:placeholder-shown):focus,
.form-group-page textarea:invalid:not(:placeholder-shown):focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Custom error message styling */
.form-group-page input:invalid:not(:placeholder-shown) + .error-message,
.form-group-page textarea:invalid:not(:placeholder-shown) + .error-message,
.form-group-page input:invalid:not(:placeholder-shown) ~ .error-message,
.form-group-page textarea:invalid:not(:placeholder-shown) ~ .error-message,
.form-group-page:has(.phone-input-wrapper-page input:invalid:not(:placeholder-shown)) .error-message {
    display: block;
}

.error-message {
    display: none;
    position: absolute;
    top: calc(100% + var(--spacing-xs));
    left: 0;
    background: var(--bg-white);
    border: 1px solid #ef4444;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    color: #ef4444;
    margin-top: var(--spacing-xs);
    box-shadow: var(--shadow-md);
    z-index: 10;
    animation: errorSlideDown 0.3s ease-out;
    max-width: 100%;
}

.error-message::before {
    content: '';
    position: absolute;
    top: -6px;
    left: var(--spacing-md);
    width: 10px;
    height: 10px;
    background: var(--bg-white);
    border-left: 1px solid #ef4444;
    border-top: 1px solid #ef4444;
    transform: rotate(45deg);
}

.error-message-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: var(--spacing-xs);
    vertical-align: middle;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

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

.phone-input-wrapper-page {
    display: flex;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.phone-input-wrapper-page:focus-within {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-input-wrapper-page:has(input:invalid:not(:placeholder-shown)) {
    border-color: #ef4444;
    background: var(--bg-white);
}

.phone-input-wrapper-page:has(input:invalid:not(:placeholder-shown)):focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.phone-prefix-page {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-md);
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: var(--font-size-base);
}

.phone-prefix-page svg {
    width: 16px;
    height: 16px;
    color: var(--text-light);
}

.phone-input-wrapper-page input {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-md) var(--spacing-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
}

.phone-input-wrapper-page input:focus {
    outline: none;
    background: transparent;
}

.checkbox-group-page {
    margin: var(--spacing-xs) 0;
}

.checkbox-label-page {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.checkbox-label-page input[type="checkbox"] {
    display: none;
}

.checkbox-custom-page {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all var(--transition-fast);
    background: transparent;
}

.checkbox-label-page input[type="checkbox"]:checked + .checkbox-custom-page {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

.checkbox-label-page input[type="checkbox"]:checked + .checkbox-custom-page::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text-page {
    flex: 1;
    line-height: 1.5;
}

.btn-form-submit {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .contact-cards-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        margin-top: var(--spacing-xl);
        margin-bottom: var(--spacing-xl);
    }
    
    .contact-cards-wrapper {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .contact-card {
        width: 100%;
        padding: var(--spacing-md);
    }

    .contact-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: var(--spacing-sm);
    }

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

    .contact-card-title {
        font-size: var(--font-size-base);
    }

    .contact-card-text {
        font-size: var(--font-size-xs);
    }

    .contact-form-wrapper {
        padding: var(--spacing-lg);
        height: auto;
        max-height: none;
    }

    .contact-form-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-sm);
    }

    .contact-form-page {
        gap: var(--spacing-sm);
        overflow-y: visible;
        max-height: none;
    }

    .form-group-page input,
    .form-group-page textarea {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    .form-group-page textarea {
        min-height: 80px;
        max-height: 80px;
    }

    .btn-form-submit {
        margin-top: var(--spacing-sm);
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
    }
}

/* ===================================
   Quick Quote Modal
   =================================== */
.quick-quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quick-quote-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-quote-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.quick-quote-back {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.quick-quote-back:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.quick-quote-back svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.quick-quote-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.quick-quote-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.quick-quote-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.form-group-quote {
    width: 100%;
}

.form-group-quote input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.form-group-quote input::placeholder {
    color: var(--text-muted);
}

.form-group-quote input:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-input-wrapper-quote {
    display: flex;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.phone-input-wrapper-quote:focus-within {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-prefix-quote {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: var(--font-size-base);
}

.phone-prefix-quote svg:first-child {
    width: 16px;
    height: 16px;
    color: var(--text-light);
}

.phone-prefix-quote .arrow-down {
    width: 12px;
    height: 12px;
    color: var(--text-light);
}

.phone-input-wrapper-quote input {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-md);
    color: var(--text-dark);
}

.phone-input-wrapper-quote input:focus {
    outline: none;
    background: transparent;
}

.quick-quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.checkbox-label-quote {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    flex: 1;
}

.checkbox-label-quote input[type="checkbox"] {
    display: none;
}

.checkbox-custom-quote {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    background: transparent;
}

.checkbox-label-quote input[type="checkbox"]:checked + .checkbox-custom-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

.checkbox-label-quote input[type="checkbox"]:checked + .checkbox-custom-quote::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text-quote {
    flex: 1;
}

.btn-quote-submit {
    padding: var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.btn-quote-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-quote-submit:active {
    transform: translateY(0);
}

/* Quick Quote Modal Responsive */
@media (max-width: 768px) {
    .quick-quote-modal-content {
        width: 95%;
        padding: var(--spacing-xl);
        max-height: 95vh;
    }

    .quick-quote-title {
        font-size: var(--font-size-3xl);
    }

    .quick-quote-form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .quick-quote-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-quote-submit {
        width: 100%;
    }
}

/* ===================================
   Animations & Effects
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

