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

:root {
    /* Color Palette */
    --bg-primary: #0B0D0F;
    --bg-secondary: #0A0C0E;
    --text-primary: #FFFFFF;
    --text-secondary: #C7CBD1;
    --accent-green: #22C55E;
    --accent-green-hover: #15803D;
    --accent-green-focus: #34D399;
    --error-color: #EF4444;
    --success-color: #10B981;
    --border-color: #1F2429;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
#headerSection {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo img {
    height: 100px;
    width: auto;
    border-radius: 8px;
    background: transparent;
}

.menu {
    display: flex;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--accent-green);
}

.callBtn a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-green);
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: var(--font-weight-semibold);
    transition: background-color 0.3s ease;
}

.callBtn a:hover {
    background: var(--accent-green-hover);
}

.callBtn p {
    margin: 0;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero Section */
#heroSection {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(11, 13, 15, 0.8) 0%, rgba(10, 12, 14, 0.85) 100%),
        radial-gradient(ellipse at center, rgba(34, 197, 94, 0.1) 0%, transparent 70%),
        url('../images/hero-bg.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 600px;
}

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

.left .kicker {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.left h1 {
    font-size: 4.5rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: 16px;
}

.left h1 .accent {
    color: var(--accent-green);
}

.secondary-highlight {
    font-size: 1.5rem;
    color: var(--accent-green);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
}

.subheadline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.chip i {
    color: var(--accent-green);
}

/* Form Card */
.formCard {
    background: rgba(31, 36, 41, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
    min-height: 600px;
    width: 100%;
}

.formCard h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 24px;
    color: var(--text-primary);
}

.formCard h3 i {
    color: var(--accent-green);
}

/* Form Styles */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    align-items: start;
}

.row-1 {
    margin-bottom: 16px;
}

.row > div,
.row-1 {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevent overflow */
}

label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.875rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-green-focus);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23C7CBD1'><path d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: 12px center;
    padding-left: 32px;
}

select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Ensure form fields don't overlap */
.row > div {
    position: relative;
    z-index: 1;
}

.row > div:focus-within {
    z-index: 2;
}

.consent {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Button Styles */
.btn {
    background: var(--accent-green);
    color: var(--text-primary);
    border: none;
    padding: 18px 32px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.btn:hover:not(:disabled) {
    background: var(--accent-green-hover);
    transform: translateY(-1px);
}



.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Message Styles */
.msg {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    display: none;
}

.msg.ok {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-color);
}

.msg.err {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-color);
}

.error-msg {
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
    line-height: 1.3;
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 2px 4px;
    border-radius: 3px;
    z-index: 10;
}

/* Urgency Bar */
.urgency-bar {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
    margin-top: 16px;
    border: 1px solid #FBBF24;
}

/* Services Section */
#serviceSection {
    padding: 80px 0;
    background: rgba(15, 17, 20, 0.5);
}

#serviceSection h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 48px;
}

.serviceBox h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 12px;
}

.serviceDiv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.serviceBox {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(31, 36, 41, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.serviceBox:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
}

.serviceBox i {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 16px;
}



.serviceBox .desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Why Choose Us Section */
#whyChooseUsSection {
    padding: 80px 0;
}

.whyChooseUsDiv h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 48px;
}

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

.box {
    text-align: center;
    padding: 32px 24px;
}

.box i {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.box h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 12px;
}

.box p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonial Section */
#testimonialSection {
    padding: 80px 0;
    background: rgba(15, 17, 20, 0.5);
}

#testimonialSection h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 48px;
}

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

.review-card {
    background: rgba(31, 36, 41, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.review-card h4 {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 8px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-card .starDiv {
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 3px;
}

.review-card .starDiv i {
    color: #FFD700;
    font-size: 1.125rem;
}

.review-card .description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.875rem;
    flex-grow: 1;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
    margin-top: 30px;
    text-align: center;
}

.owl-carousel .owl-nav button {
    background: var(--accent-green) !important;
    color: var(--text-primary) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 8px !important;
    font-size: 1rem !important;
}

.owl-carousel .owl-nav button:hover {
    background: var(--accent-green-hover) !important;
}

.owl-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 6px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    border-radius: 50%;
    display: block;
    transition: background-color 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--accent-green);
}

/* Footer Section */
#footerSection {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

#footerSection .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footerSection p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.link a:hover {
    color: var(--accent-green);
}

/* Combined Advantages Section */
#advantagesSection {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.advantages-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Advantages Image Container */
.advantages-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px; /* Increased to match text column height */
}

.image-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.slideshow-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: background 0.3s ease;
}

.slideshow-controls button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

.dot.active,
.dot:hover {
    background: var(--accent-green);
}

/* Advantages Container */
.advantages-container h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.advantages-container h2 .accent {
    color: var(--accent-green);
}

/* Accordion Styles */
.advantage-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.advantage-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(31, 36, 41, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 64px; /* Ensure consistent height for collapsed items */
    width: 100%;
}

.advantage-item.active {
    border-color: var(--accent-green);
}

.advantage-header {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.advantage-header:hover {
    background: rgba(22, 163, 74, 0.1);
}

.advantage-header i {
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.advantage-item.active .advantage-header i {
    transform: rotate(180deg);
}

.advantage-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.advantage-item.active .advantage-content {
    padding: 0 24px 20px 24px;
    max-height: 200px;
}

.advantage-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Gallery Carousel Navigation */
.gallery-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.gallery-carousel .owl-nav button {
    background: var(--accent-green) !important;
    color: var(--text-primary) !important;
    border: none !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-carousel .owl-nav button:hover {
    background: var(--accent-green-hover) !important;
    transform: scale(1.1);
}

.gallery-carousel .owl-nav button.owl-prev::before {
    content: "←";
}

.gallery-carousel .owl-nav button.owl-next::before {
    content: "→";
}

/* Gallery Carousel Dots */
.gallery-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.gallery-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0;
}

.gallery-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: block;
    transition: background-color 0.3s ease;
}

.gallery-carousel .owl-dots .owl-dot.active span {
    background: var(--accent-green);
}
