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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles - FIXED SIZE */
.logo-image {
    max-width: 120px !important;
    height: auto !important;
    width: auto !important;
    display: block;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3498db;
}

.nav-cta {
    margin-left: 1rem;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

/* Footer Styles */
.footer {
    background: #3498db;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.contact-info i {
    margin-right: 0.5rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.flash-message {
    background: #3498db;
    color: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3498db;
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #3498db;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3498db;
}

.service-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.service-features i {
    color: #3498db;
    margin-right: 0.5rem;
}

.select-service-btn {
    width: 100%;
    justify-content: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.features-list {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature i {
    font-size: 2rem;
    color: #3498db;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: #3498db;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Simple Contact Form */
.simple-contact {
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Enhanced Inquiry Modal */
.inquiry-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

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

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

.inquiry-modal-content {
    position: relative;
    background: white;
    margin: 2rem auto;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.inquiry-modal-header,
.simple-progress,
.simple-navigation {
    flex-shrink: 0;
}

.inquiry-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    -webkit-overflow-scrolling: touch;
}

.inquiry-modal-body::-webkit-scrollbar {
    width: 8px;
}
.inquiry-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.inquiry-modal-body::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}
.inquiry-modal-body::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Progress Bar */
.simple-progress {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.progress-bar-container {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    background: #3498db;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e9ecef;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.dot.active {
    background: #3498db;
    border-color: #3498db;
}

.dot.completed {
    background: #3498db;
    border-color: #3498db;
}

.step-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    transition: color 0.3s ease;
}

.step-text.active {
    color: #3498db;
    font-weight: 600;
}

/* Inquiry Steps */
.inquiry-step {
    display: none;
}

.inquiry-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.inquiry-step h4 {
    margin-bottom: 1.5rem;
    color: #3498db;
    font-size: 1.25rem;
}

/* Service Options */
.service-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.simple-option {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.simple-option:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.simple-option.active {
    border-color: #3498db;
    background: #f0f9ff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
}

.simple-option i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.simple-option span {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.simple-option small {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Form Elements */
.simple-input,
.simple-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.simple-input:focus,
.simple-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.simple-input.error,
.simple-select.error {
    border-color: #dc3545;
}

/* Navigation */
.simple-navigation {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.simple-navigation .btn {
    min-width: 120px;
    justify-content: center;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.success-message h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.inquiry-id {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: monospace;
    font-weight: 600;
    color: #3498db;
    display: inline-block;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

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

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile logo size */
    .logo-image {
        max-width: 100px !important;
    }

    .hero-container { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 2rem; 
    }
    .hero-title { 
        font-size: 2rem; 
    }
    .hero-buttons { 
        justify-content: center; 
    }
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .about-stats { 
        grid-template-columns: 1fr 1fr; 
        gap: 1rem; 
    }
    .form-grid { 
        grid-template-columns: 1fr; 
    }
    .section-title { 
        font-size: 2rem; 
    }
    .form-container { 
        padding: 2rem 1rem; 
    }
    .inquiry-modal-content { 
        margin: 1rem; 
        max-height: 95vh; 
    }
    .inquiry-modal-header, .simple-progress, .inquiry-modal-body, .simple-navigation { 
        padding: 1rem; 
    }
    .service-options { 
        grid-template-columns: 1fr; 
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Enhanced Progress Bar */
.progress-bar-container {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #5dade2);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

/* Enhanced Step Indicators */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6c757d;
}

.dot.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    transform: scale(1.1);
}

.dot.completed {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.step-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    transition: color 0.3s ease;
    text-align: center;
}

.step-text.active {
    color: #3498db;
    font-weight: 700;
}

/* Enhanced Navigation Buttons */
.simple-navigation .btn {
    min-width: 140px;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #5dade2);
    border: none;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    border: 2px solid #3498db;
    background: transparent;
    color: #3498db;
}

.btn-outline:hover:not(:disabled) {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Improved Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fdff 0%, #f0f9ff 100%);
    border-radius: 12px;
    margin: 1rem;
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.success-message h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.inquiry-id {
    background: #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #3498db;
    display: inline-block;
    margin: 1rem 0;
}

/* Responsive Improvements */
@media (max-width: 480px) {
    .inquiry-modal-body {
        padding: 1rem;
    }
    
    .service-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .simple-option {
        padding: 1.25rem;
    }
    
    .progress-steps {
        gap: 0.5rem;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
    
    .simple-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .simple-navigation .btn {
        min-width: 100%;
    }

    .logo-image {
        max-width: 90px !important;
    }
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Error States */
.simple-input.error, .simple-select.error {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.field-error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    padding: 8px 12px;
    background: #fdf2f2;
    border: 1px solid #fadbd8;
    border-radius: 6px;
    animation: slideInDown 0.3s ease;
}

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