/* ===========================
   GENERAL STYLES
   =========================== */

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

:root {
    --primary-color: #28bbc2;
    --primary-dark: #1a7a81;
    --white: #ffffff;
    --black: #000000;
    --silver: #c0c0c0;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --text-color: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===========================
   NAVIGATION BAR
   =========================== */

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===========================
   REVIEWS SLIDER
   =========================== */

.reviews-slider {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 4px 20px;
    position: sticky;
    top: 80px;
    z-index: 999;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
    animation: reviewScroll 60s linear infinite;
}

@keyframes reviewScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.review-item {
    flex-shrink: 0;
    width: auto;
    min-width: 320px;
    max-width: 650px;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.review-profile {
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    white-space: normal;
}

.review-text {
    font-size: 11px;
    color: var(--text-color);
    font-style: italic;
    margin: 0;
    line-height: 1.2;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 10px;
    margin: 0;
}

.review-icon {
    font-size: 16px;
    color: var(--primary-color);
    min-width: 24px;
    text-align: center;
}


/* ===========================
   HERO/CAROUSEL SECTION
   =========================== */

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--light-gray);
}

.carousel {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.carousel-item.active {
    transform: translateX(0) !important;
}

.carousel-item.outgoing {
    transform: translateX(-100%);
    z-index: 2;
}

.carousel-item.outgoing-right {
    transform: translateX(100%);
    z-index: 2;
}

.carousel-item.incoming {
    z-index: 3;
}

.carousel-item.active {
    transform: translateX(0) !important;
    z-index: 2;
}

.carousel-item.incoming.active {
    z-index: 3;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.carousel-content {
    text-align: center;
    color: var(--white);
    z-index: 10;
    padding: 40px;
    max-width: 900px;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 187, 194, 0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: var(--dark-gray);
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background-image: url('images/logoblack.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: visible;
    padding: 25px 20px 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: var(--primary-color);
    border-radius: 0 0 12px 12px;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-card::after {
    content: '↑';
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--black);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    border-radius: 8px;
}
}

.service-card.active::before {
    height: 50px;
}

.service-card.active::after {
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
}



.service-image {
    width: calc(100% + 40px);
    height: auto;
    object-fit: cover;
    margin: -25px 0 15px -20px;
    border-radius: 12px 12px 0 0;
    display: block;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}

.service-image.visible {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-gray);
    min-height: 2.6rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-grow: 1;
}

.quote-btn {
    background: transparent;
    color: var(--white);
    border: none;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.service-card.active .quote-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    height: 50px;
}

.service-card:hover .quote-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    height: 50px;
}

.quote-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(40, 187, 194, 0.2);
}

.service-card:hover::before {
    height: 50px;
}

.service-card:hover::after {
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
}

/* ===========================
   MODAL/QUOTE FORM
   =========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfc 100%);
    padding: 32px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 
                0 0 40px rgba(40, 187, 194, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: slideIn 0.3s ease;
    border: 1px solid rgba(40, 187, 194, 0.1);
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

#quoteModal .form-group {
    margin-bottom: 12px;
}

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

.close {
    background: rgba(40, 187, 194, 0.05);
    border: none;
    color: rgba(40, 187, 194, 0.5);
    font-size: 1.4rem;
    font-weight: bolder;
    cursor: pointer;
    padding: 4px 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    line-height: 1;
    font-family: serif;
    transform: translateY(-0.5px);
    flex-shrink: 0;
}

.close:hover {
    color: var(--primary-color);
    background: rgba(40, 187, 194, 0.15);
    transform: rotate(90deg);
}

.modal-content h2 {
    margin: 0;
    color: var(--dark-gray);
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
}

/* Enhanced form styling for modal */
#quoteModal .form-group input,
#quoteModal .form-group textarea {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 252, 0.95) 100%);
    border: 1px solid rgba(40, 187, 194, 0.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

#quoteModal .form-group input:focus,
#quoteModal .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 187, 194, 0.15),
                inset 0 2px 4px rgba(0, 0, 0, 0.01);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 251, 252, 1) 100%);
}

#quoteModal .form-group input[readonly] {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.95) 0%, rgba(240, 240, 240, 0.95) 100%);
    border-color: rgba(100, 100, 100, 0.1);
    color: #666;
    cursor: not-allowed;
}

#quoteModal .form-group input[readonly]:focus {
    box-shadow: none;
}

/* Enhanced button for modal */
#quoteModal .submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 16px 24px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(40, 187, 194, 0.25);
}

#quoteModal .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#quoteModal .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 187, 194, 0.35);
}

#quoteModal .submit-btn:hover::before {
    left: 100%;
}

#quoteModal .submit-btn:active {
    transform: translateY(-1px);
}/* ===========================
   CHAT WIDGET STYLES
   =========================== */

.quote-chat-widget {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(40, 187, 194, 0.1);
    z-index: 1500;
    overflow: hidden;
    animation: slideInRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(40, 187, 194, 0.15);
}

.quote-chat-widget.active {
    display: flex;
    flex-direction: column;
}

.quote-chat-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 10;
}

.chat-widget-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.chat-widget-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.chat-widget-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.chat-widget-header .robot-emoji {
    font-size: 1.6rem;
    animation: gentle-bounce 2s ease-in-out infinite;
}

.chat-widget-header .chat-widget-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.chat-widget-header .close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.chat-widget-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-widget-body {
    padding: 18px;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.chat-widget-body::before {
    content: '✓';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    background: rgba(40, 187, 194, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: bold;
}

.chat-widget-body p {
    margin: 0;
    padding-left: 32px;
    font-weight: 500;
}

.chat-widget-buttons {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fbfc 0%, #f5f9fb 100%);
}

.chat-btn {
    flex: 1;
    padding: 11px 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
}

.chat-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 0;
}

.chat-btn:hover::before {
    left: 100%;
}

.continue-btn.chat-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a9ca6 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 187, 194, 0.2);
    position: relative;
    z-index: 1;
}

.continue-btn.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 187, 194, 0.35);
}

.continue-btn.chat-btn:active {
    transform: translateY(0);
}

.delete-btn.chat-btn {
    background: var(--white);
    color: var(--text-color);
    border: 1.5px solid #d4d4d4;
    position: relative;
    z-index: 1;
}

.delete-btn.chat-btn:hover {
    background: #f5f5f5;
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.delete-btn.chat-btn:active {
    background: #efefef;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(380px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideOutTop {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
}

/* ===========================
   TOAST NOTIFICATION
   =========================== */

.toast-notification {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    width: 360px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(40, 187, 194, 0.2);
    z-index: 2000;
    overflow: hidden;
    animation: slideInTop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.hide {
    animation: slideOutTop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast-notification::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-notification-content {
    flex: 1;
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-notification-content strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

/* ===========================
   FORM STYLES
   =========================== */

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

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

.form-group input[readonly] {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
    border-color: #ddd;
}

.form-group input[readonly]:focus {
    border-color: #ddd;
    box-shadow: none;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 187, 194, 0.35);
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-hero {
    background: linear-gradient(135deg, rgba(40, 187, 194, 0.5) 0%, rgba(26, 122, 129, 0.5) 100%), url('images/getintouch.png') center/cover no-repeat;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
}

.contact-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background-image: url('images/logoblack.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

/* ===========================
   STYLED CONTACT FORM
   =========================== */

.styled-contact-form {
    --form-bg: #ffffff;
    --form-text: #1a1a1a;
    --form-muted: #6b7280;
    --form-border: #e5e7eb;
    --form-input-bg: #f9fafb;
    --form-accent: var(--primary-color);
    --form-accent-hover: var(--primary-dark);
    --form-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);

    max-width: 100%;
    padding: 2rem;
    background: var(--form-bg);
    color: var(--form-text);
    border: 1px solid var(--form-border);
    border-radius: 20px;
    box-shadow: var(--form-shadow);
}

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

.form-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--form-accent);
}

.form-header h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.75rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    color: var(--form-text);
}

.form-header p {
    margin: 0;
    color: var(--form-muted);
    line-height: 1.6;
    font-size: 1rem;
}

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

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

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

.styled-contact-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--form-text);
}

.styled-contact-form input,
.styled-contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    font: inherit;
    color: var(--form-text);
    background: var(--form-input-bg);
    border: 1px solid var(--form-border);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.styled-contact-form input::placeholder,
.styled-contact-form textarea::placeholder {
    color: #9ca3af;
}

.styled-contact-form input:focus,
.styled-contact-form textarea:focus {
    border-color: var(--form-accent);
    background: var(--form-bg);
    box-shadow: 0 0 0 4px rgba(40, 187, 194, 0.12);
}

.styled-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.info-content p {
    color: #666;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-dark);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(40, 187, 194, 0.1);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: bold;
    color: var(--dark-gray);
    flex: 0 0 auto;
    font-size: 0.95rem;
}

.hours-time {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    flex: 0 0 auto;
}

.styled-contact-form .submit-btn {
    margin-top: 0.5rem;
    padding: 0.95rem 2rem;
    background: linear-gradient(135deg, var(--form-accent) 0%, var(--form-accent-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 25px rgba(40, 187, 194, 0.2);
}

.styled-contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(40, 187, 194, 0.3);
}

.styled-contact-form .submit-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group-full {
        grid-column: 1;
    }

    .styled-contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .form-header h2 {
        font-size: clamp(1.5rem, 2vw, 1.75rem);
    }

    .styled-contact-form .submit-btn {
        width: 100%;
    }
}

.social-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #ddd;
}

.social-info h3 {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(40, 187, 194, 0.4);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

.contact-details {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-details p {
    margin: 0;
    font-size: 0.9rem;
}

.contact-details i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
}

.contact-details a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-menu li {
        padding: 12px 0;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content h2 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-btn {
        font-size: 18px;
        padding: 8px 12px;
    }

    .services h2 {
        font-size: 2rem;
    }

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

    .service-image {
        height: 150px;
    }

    .service-card::before {
        height: 50px;
    }

    .service-card::after {
        opacity: 0;
        visibility: hidden;
    }

    .service-card .quote-btn {
        height: 50px;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }

    /* Chat Widget Mobile */
    .quote-chat-widget {
        width: 280px;
        bottom: 15px;
        right: 15px;
    }

    .chat-btn {
        font-size: 0.75rem;
        padding: 8px 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Reviews Slider Mobile */
    .reviews-slider {
        padding: 7px 20px;
    }

    .reviews-container {
        gap: 15px;
    }

    @keyframes reviewScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(0); }
    }

    .review-item {
        min-width: 280px;
        max-width: 550px;
        min-height: 50px;
        gap: 12px;
        padding: 0 12px;
    }

    .review-profile {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .review-text {
        font-size: 12px;
    }

    .review-author {
        font-size: 11px;
        margin: 0;
    }

    .review-icon {
        font-size: 18px;
        min-width: 25px;
    }

    /* Reviews Slider Compact Mobile */
    .reviews-slider {
        padding: 3px 20px;
    }

    .reviews-container {
        gap: 12px;
    }

    .review-item {
        min-height: 38px;
        gap: 10px;
    }

    .review-profile {
        min-width: 32px;
        width: 32px;
        height: 32px;
    }

    .review-text {
        font-size: 10px;
    }

    .review-author {
        font-size: 9px;
    }

    .review-icon {
        font-size: 15px;
        min-width: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-content h1 {
        font-size: 1.5rem;
    }

    .carousel-content h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

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

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .services h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 20px 15px 18px 15px;
    }

    .service-card::before {
        height: 10px;
    }

    .service-card::after {
        opacity: 1;
        visibility: visible;
    }

    .service-image {
        height: 120px;
        margin: -20px -15px 12px -15px;
    }

    .service-card.active .quote-btn {
        height: 45px;
    }

    /* Reviews Slider Mobile Small */
    .reviews-container {
        gap: 12px;
        animation: reviewScrollSmall 60s linear infinite;
    }

    @keyframes reviewScrollSmall {
        0% { transform: translateX(0); }
        100% { transform: translateX(0); }
    }

    .review-item {
        min-width: 240px;
        max-width: 450px;
        min-height: 48px;
        gap: 10px;
        padding: 0 10px;
    }

    .review-profile {
        min-width: 38px;
        width: 38px;
        height: 38px;
    }

    .review-text {
        font-size: 11px;
    }

    .review-author {
        font-size: 10px;
        margin: 0;
    }

    .review-icon {
        font-size: 16px;
        min-width: 22px;
    }

    /* Reviews Slider Compact Mobile Small */
    .reviews-slider {
        padding: 2px 20px;
    }

    .reviews-container {
        gap: 10px;
    }

    .review-item {
        min-height: 35px;
        gap: 8px;
    }

    .review-profile {
        min-width: 28px;
        width: 28px;
        height: 28px;
    }

    .review-text {
        font-size: 10px;
    }

    .review-author {
        font-size: 9px;
        margin: 0;
    }

    .review-icon {
        font-size: 14px;
        min-width: 18px;
    }

    /* Chat Widget Mobile Small */
    .quote-chat-widget {
        width: 260px;
        bottom: 10px;
        right: 10px;
    }

    .chat-widget-header {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .chat-widget-header .robot-emoji {
        font-size: 1.2rem;
    }

    .chat-widget-body {
        padding: 12px;
        font-size: 0.85rem;
    }

    .chat-widget-buttons {
        padding: 10px 12px;
        gap: 8px;
    }

    .chat-btn {
        font-size: 0.7rem;
        padding: 7px 8px;
    }
}

