:root {
    --primary-color: #698cf0;
    --primary-dark: #4a6bc0;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --font-heading: 'Ubuntu', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.8;
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.main-color {
    color: var(--primary-color) !important;
}

.main-bg-color {
    background-color: var(--primary-color);
}

.main-border-color {
    border-color: var(--primary-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(105, 140, 240, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(105, 140, 240, 0.4);
    color: var(--white);
}

/* Header & Navbar */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#header.sticky {
    position: fixed;
    top: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.navbar-brand img {
    height: 50px;
    max-width: 100%;
    transition: var(--transition);
}

#header.sticky .navbar-brand img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

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

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

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

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 13px;
    }
}


/* Background image utilities */
.bg-img-full {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background images via data attributes - handled by JavaScript or inline styles */
.main-banner {
    background-image: url(images/img05.jpg);
}

.quote-section {
    background-image: url(images/img01.jpg);
}

.lightbox .quote-form.lightbox-form {
    background-image: url(images/img02.jpg);
}

.bg-img-parallax {
    background-attachment: fixed;
}

/* Arrow element */
.main-banner .arrow {
    display: block;
    width: 100%;
    height: 100px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(images/arrow.png);
}

/* Flexbox utilities */
.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

/* Image styles */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
}

/* Form message */
.form-message {
    margin-top: 15px;
}

.form-message.hidden {
    display: none;
}

/* Info text */
.quote-form .info {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
}

/* Price text wrapper */
.price-txt {
    display: block;
}

/* Heading styles */
.heading {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Title styles */
.title {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Button holder */
.btn-holder {
    margin-bottom: 30px;
}

/* Text box */
.txt-box {
    flex: 1;
}

/* Form heading */
.form-heading {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Bold text utility */
.text-bold {
    font-weight: bolder;
}

/* Margin utilities */
.mt-30 {
    margin-top: 30px;
}

.mb-5 {
    margin-bottom: 5px;
}

/* Hero Section - Fix Gradient */
.main-banner {
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
}

/* Shared overlay styles */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.main-banner .overlay {
    background: rgba(0, 0, 0, 0.75);
    /* Slightly darker for banner */
}

.main-banner .container {
    position: relative;
    z-index: 2;
}

.main-banner .title {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    opacity: 0.9;
}

.main-banner h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 30px;
}

.main-banner h1 .main-color {
    color: #a3bffa !important;
}

/* Quote Form (Hero) */
.quote-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.quote-form h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.quote-form .form-title {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--primary-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(105, 140, 240, 0.1);
}

/* Services Section */
.services-section {
    padding: 120px 0 60px;
    background: var(--bg-light);
    margin-top: 0;
}

.main-heading {
    margin-bottom: 60px;
}

.main-heading h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.main-heading h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 15px;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

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

.service-card.featured {
    background: linear-gradient(135deg, rgba(105, 140, 240, 0.05) 0%, rgba(105, 140, 240, 0.1) 100%);
    border-color: rgba(105, 140, 240, 0.2);
}

.service-card.featured:hover {
    background: linear-gradient(135deg, rgba(105, 140, 240, 0.1) 0%, rgba(105, 140, 240, 0.15) 100%);
    border-color: var(--primary-color);
}

.service-card-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.service-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-transform: capitalize;
}

.service-card.featured .service-card-header h3 {
    color: var(--primary-color);
}

.service-card-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* CTA Section (formerly quote section) */
.cta-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.cta-section .row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    transition: var(--transition);
}

.cta-image-wrapper:hover .cta-image {
    transform: scale(1.05);
}

.cta-content {
    padding: 20px 0;
}

.cta-heading {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.cta-subheading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.cta-timezone {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.align-items-center {
    align-items: center;
}


/* Pricing Section */
.price-section {
    padding: 120px 0 60px;
    background-color: var(--white);
    position: relative;
}

.price-section .main-heading h2 {
    color: var(--text-dark);
}

.price-section .main-heading h2 .main-color {
    color: var(--primary-color);
}

.price-section .main-heading p {
    color: var(--text-light);
}

.price-section .row {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
}

.price-section .row>[class*="col-"] {
    margin-bottom: 30px;
    display: flex;
}

/* Ensure uniform bottom spacing - remove bottom margin from last row */
.price-section .row>[class*="col-"]:nth-last-child(-n+2) {
    margin-bottom: 30px;
}

.price-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px 40px;
    /* Uniform padding */
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Even vertical spacing */
    margin-bottom: 0;
    width: 100%;
}

.price-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(105, 140, 240, 0.3);
}

.price-box header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price-box .title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.price-box .price {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
    display: block;
}

.price-box .txt {
    font-size: 14px;
    color: var(--text-light);
    display: block;
}

.price-box .box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-end;
    min-height: 120px;
}

.price-box .box h3.text-uppercase {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.price-box .box p {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.price-box .order {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    align-self: center;
    text-decoration: none;
}

.price-box .order:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 140, 240, 0.3);
}

/* Quote Section (Bottom) */
.quote-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
    color: var(--white);
}

/* Quote section overlay uses base .overlay class */

.quote-section .container {
    position: relative;
    z-index: 2;
}

.quote-section h2 {
    color: var(--white);
    font-size: 42px;
    margin: 30px 0;
}

.quote-section .subtitle {
    font-size: 20px;
    line-height: 1.6;
    display: block;
    margin-bottom: 20px;
}

/* Lightbox Form - Compact on Desktop */
.lightbox .quote-form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .lightbox .quote-form {
        max-width: 100%;
        padding: 30px 20px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-banner h1 {
        font-size: 32px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .price-box {
        margin-bottom: 30px;
    }

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

    .service-card {
        padding: 25px;
    }

    .cta-section .row {
        flex-direction: column;
        gap: 40px;
    }

    .cta-heading {
        font-size: 28px;
    }

    .cta-text {
        font-size: 16px;
    }

    .cta-subheading {
        font-size: 24px;
    }

    .services-section,
    .cta-section,
    .price-section {
        padding: 60px 0;
    }
}

/* Footer Styles */
#footer {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

#footer p {
    margin: 0;
    font-size: 14px;
    color: #999;
}