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

:root {
    --primary-blue: #1e40af;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e3a8a;
    --accent-orange: #f97316;
    --accent-orange-light: #fb923c;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --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);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-blue: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    /* Enhanced gradients for better visual appeal */
    --gradient-blue-bright: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-blue-soft: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --shadow-button: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
    --shadow-button-hover: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.25rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-blue);
}

/* Header Contact Info */
.header-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: 1rem;
}

.header-phone,
.header-email {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
}

.header-phone:hover,
.header-email:hover {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}

.header-phone svg,
.header-email svg {
    flex-shrink: 0;
    color: var(--primary-blue);
    filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.2));
}

.call-button {
    background: var(--gradient-blue-bright);
    color: var(--bg-white);
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: var(--shadow-button);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.call-button:hover {
    background: var(--gradient-blue-soft);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-button-hover);
}

.call-button:active {
    transform: translateY(0) scale(0.98);
}

/* Mobile Contact Info in Menu */
.mobile-contact-info {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    min-height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    margin: 0.5rem 0;
}

.mobile-contact-link:hover,
.mobile-contact-link:active {
    color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.mobile-contact-link svg {
    flex-shrink: 0;
    color: var(--primary-blue);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
    width: 24px;
    height: 24px;
}

.mobile-phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.02em;
}

.mobile-email {
    font-size: 1rem;
    word-break: break-word;
    color: var(--text-dark);
    font-weight: 500;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    align-items: start;
}

/* Improve touch scrolling on mobile */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: rgba(30, 64, 175, 0.1);
    }
    
    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Left Section */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.company-name {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-medium);
    font-weight: 400;
}

.license-badge {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #e0f2fe 100%);
    border: 2px solid var(--primary-blue);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.license-info {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.license-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.license-link:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.license-link svg {
    width: 16px;
    height: 16px;
}

.image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .image-container {
        border-radius: 8px;
    }
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* Right Section - Quote Form */
.right-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.quote-form {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-title span {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 0.5rem;
}

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

.form-label {
    display: block;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.125rem;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    min-height: 52px;
}

.form-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 2px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.form-input:hover:not(:focus) {
    border-color: rgba(59, 130, 246, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.125rem;
    background-color: var(--bg-white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    line-height: 1.6;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 2px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.form-textarea:hover:not(:focus) {
    border-color: rgba(59, 130, 246, 0.3);
}

.submit-button {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: var(--gradient-blue-bright);
    color: var(--bg-white);
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    box-shadow: var(--shadow-button);
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 52px;
}

.submit-button:hover {
    background: var(--gradient-blue-soft);
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-button-hover);
}

.submit-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

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

.form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Services Section */
.services-section {
    background-color: var(--bg-light);
    padding: 5rem 2rem;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-heading {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.services-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-blue-bright);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue-light);
}

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

.service-content {
    padding: 2rem 2.25rem;
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

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

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text:last-child {
    margin-bottom: 0;
}

.license-verify-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.license-text {
    margin-bottom: 1rem !important;
}

.license-link-large {
    font-size: 1rem !important;
}

/* Projects Section */
.projects-section {
    background-color: var(--bg-light);
    padding: 5rem 2rem;
}

.projects-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    pointer-events: auto; /* Ensure container doesn't block clicks */
}

.projects-carousel {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.projects-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
}

.project-slide {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
    height: 600px;
    position: relative;
    cursor: pointer;
    background-color: var(--bg-gray);
    overflow: hidden;
    touch-action: manipulation; /* Better touch response */
}

.project-slide:hover {
    cursor: zoom-in;
}

.project-slide:active {
    cursor: zoom-in;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    min-height: 100%;
    min-width: 100%;
    cursor: pointer;
    touch-action: manipulation; /* Better touch response */
    -webkit-tap-highlight-color: rgba(30, 64, 175, 0.2);
}

.project-slide:hover .project-image {
    transform: scale(1.02);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 20;
    color: var(--primary-blue);
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation; /* Better touch response */
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto; /* Ensure buttons are clickable */
}

.carousel-button:hover {
    background-color: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

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

.carousel-dot:hover {
    background-color: var(--primary-blue-light);
    transform: scale(1.1);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    cursor: default;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

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

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

.footer-license-text {
    margin-top: 1rem;
}

.footer-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

/* Projects Section */
.projects-section {
    background-color: var(--bg-light);
    padding: 5rem 2rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}


.project-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

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

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--bg-gray);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-white);
    padding: 5rem 2rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    background-color: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-subheading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.license-verify-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
}

.license-verify-link:hover {
    color: var(--bg-white) !important;
    text-decoration: underline;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* Floating Chat Button */
.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-blue-bright);
    color: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    font-weight: 700;
    font-size: 0.9375rem;
    min-width: 56px;
    min-height: 56px;
    touch-action: manipulation;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.01em;
}

.chat-button:hover {
    background: var(--gradient-blue-soft);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-button-hover);
}

.chat-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.chat-button:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.5);
}

.chat-button svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-contact {
        gap: 1.5rem;
    }

    .header-phone,
    .header-email {
        font-size: 0.8125rem;
    }

    .header-phone span,
    .header-email span {
        display: none; /* Hide text on tablets, show icons only */
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .right-section {
        position: relative;
        top: 0;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .projects-carousel-container {
        padding: 0 3rem;
    }

    .project-slide {
        height: 500px;
    }

    .carousel-button {
        width: 45px;
        height: 45px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

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

    .header-contact {
        display: none; /* Hide header contact on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--border-color);
        min-height: 48px; /* Better touch target */
        display: flex;
        align-items: center;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        color: var(--primary-blue);
        font-weight: 600;
    }

    .mobile-contact-info {
        display: flex; /* Show contact info in mobile menu */
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .call-button {
        display: none;
    }

    .main-content {
        padding: 0 1rem;
        margin: 2rem auto;
        gap: 2rem;
    }

    .company-name {
        font-size: 2rem;
        line-height: 1.1;
    }

    .tagline {
        font-size: 1rem;
        line-height: 1.5;
    }

    .quote-form {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .services-heading,
    .section-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .license-badge {
        padding: 1rem;
        margin-top: 1rem;
    }

    .license-info {
        font-size: 0.9375rem;
    }

    .services-section,
    .about-section,
    .projects-section,
    .faq-section {
        padding: 3rem 1rem;
    }

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

    .service-card {
        margin-bottom: 0;
    }

    .projects-carousel-container {
        padding: 0 1rem;
    }

    .project-slide {
        height: 300px;
    }

    .carousel-button {
        width: 44px;
        height: 44px;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .carousel-button svg {
        width: 20px;
        height: 20px;
    }

    .carousel-prev {
        left: 0.5rem;
    }

    .carousel-next {
        right: 0.5rem;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-heading {
        font-size: 1.25rem;
    }

    .chat-button {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
        font-size: 0.875rem;
        min-width: 56px;
        min-height: 56px;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
    }

    .chat-button span {
        display: none;
    }

    .chat-button svg {
        width: 24px;
        height: 24px;
    }

    /* Form inputs optimized for mobile */
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        min-height: 48px; /* Better touch target */
    }

    .submit-button {
        min-height: 48px;
        font-size: 1rem;
        padding: 1rem;
    }

    /* Modal optimizations for mobile */
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 32px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* About section mobile */
    .about-content {
        padding: 2rem 1.5rem;
    }

    .about-text {
        font-size: 1rem;
    }

    /* FAQ mobile */
    .faq-item {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9375rem;
    }
}

/* Extra small devices (phones in portrait) - iPhone optimized */
@media (max-width: 480px) {
    .header {
        padding: 1rem 1.125rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .company-name {
        font-size: 2rem;
        line-height: 1.15;
        letter-spacing: -0.03em;
    }

    .tagline {
        font-size: 1rem;
        line-height: 1.5;
        color: var(--text-medium);
    }

    .services-heading,
    .section-heading {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .services-description,
    .section-description {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    .quote-form {
        padding: 1.75rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .form-title {
        font-size: 1.375rem;
        font-weight: 700;
        margin-bottom: 1.75rem;
    }

    .main-content {
        margin: 2rem auto;
        gap: 2rem;
        padding: 0 1.125rem;
    }

    .services-section,
    .about-section,
    .projects-section,
    .faq-section {
        padding: 3rem 1.125rem;
    }

    .project-slide {
        height: 280px;
        border-radius: 12px;
    }

    .carousel-button {
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .carousel-button svg {
        width: 20px;
        height: 20px;
    }

    .license-badge {
        padding: 1.125rem 1.25rem;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
    }

    .license-info {
        font-size: 0.9375rem;
        font-weight: 700;
    }

    .chat-button {
        bottom: 1.25rem;
        right: 1.25rem;
        padding: 1rem;
        min-width: 60px;
        min-height: 60px;
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
        border-radius: 50%;
    }

    .chat-button:active {
        transform: scale(0.95);
    }

    /* Enhanced form inputs for iPhone */
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1.125rem 1.25rem;
        min-height: 52px;
        border-radius: 12px;
    }

    .submit-button {
        min-height: 56px;
        font-size: 1.125rem;
        padding: 1.25rem 1.5rem;
        font-weight: 700;
        border-radius: 14px;
    }

    /* Better spacing for mobile sections */
    .service-card {
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .service-content {
        padding: 1.75rem 1.5rem;
    }

    .service-title {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }

    .service-description {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .faq-item {
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
}

/* Very small devices - iPhone SE and similar */
@media (max-width: 375px) {
    .company-name {
        font-size: 1.875rem;
        line-height: 1.1;
    }

    .services-heading,
    .section-heading {
        font-size: 1.875rem;
        line-height: 1.2;
    }

    .quote-form {
        padding: 1.5rem 1.25rem;
    }

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

    .project-slide {
        height: 240px;
    }

    .carousel-button {
        width: 42px;
        height: 42px;
    }

    .carousel-button svg {
        width: 18px;
        height: 18px;
    }

    .chat-button {
        bottom: 1rem;
        right: 1rem;
        min-width: 56px;
        min-height: 56px;
        padding: 0.875rem;
    }

    .main-content {
        padding: 0 1rem;
    }

    .services-section,
    .about-section,
    .projects-section,
    .faq-section {
        padding: 2.5rem 1rem;
    }
}
