/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base HTML/Body fixes */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Header styles */
header {
    background-color: #023047;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 32px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation styles */
nav {
    background-color: #8ecae6;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

nav a {
    color: #023047;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    flex: 1 1 auto;
    min-width: 120px;
}

nav a:hover {
    background-color: #219ebc;
}

/* Container styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
    padding: 10px;
}

/* Column styles */
.left-column, .right-column {
    flex: 1;
    padding: 10px;
    max-width: 670px;
}

.region-tag {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1e88e5;
    padding: 4px 8px;
    margin: 2px;
    border-radius: 4px;
    font-size: 0.9em;
}

.show-more-btn {
    color: #1e88e5;
    background: none;
    border: none;
    padding: 5px 0;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.pricing-breakdown {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.payment-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.payment-box {
    flex: 1;
    background-color: #ffffff;
    border: 2px solid #8ecae6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.payment-box h2 {
    color: #023047;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 2em;
    color: #219ebc;
    margin: 20px 0;
}

.enhanced-services {
    max-width: 1200px; /* Increased from 800px to match your site's container */
    margin: 0 auto;
    padding: 0 20px; /* Added padding for mobile */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 15px;
    width: 100%;
    margin: 20px 0;
}

.service-option {
    width: 100%;
}

.service-button {
    width: 100%;
    min-height: 60px; /* Ensure consistent height */
    padding: 15px;
    text-align: left;
    background: #f8f9fa;
    border: 2px solid #8ecae6;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 0; /* Remove any default margins */
}

/* Add media queries for larger screens */
@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

.checkbox-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #8ecae6;
    border-radius: 4px;
    margin-right: 10px;
    background: white;
}

.service-button.selected .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1e88e5;
}

.service-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #8ecae6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.service-button.selected {
    background-color: #e3f2fd;
    border-color: #1e88e5;
}

/* Adjust search container for consistency */
.search-container {
    margin: 20px 0;
    width: 100%;
}

#serviceSearch {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #8ecae6;
    border-radius: 8px;
    margin: 0; /* Remove default margin */
}

/* Make selected services section full width */
.selected-services {
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Ensure service names don't break layout */
.service-name {
    flex: 1;
    margin-right: 10px;
    word-break: break-word;
}

/* Improve tag container spacing */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.service-tag {
    background: #8ecae6;
    color: #023047;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    margin: 0; /* Remove default margin */
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    color: #333;
}



.features-list li:before {
    content: "✓";
    color: #00ff00;
    margin-right: 8px;
}

.special-offer {
    background-color: #f0f7ff;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
}

.pricing-breakdown li {
    margin: 0.5rem 0;
    color: #666;
}

.show-more-btn:hover {
    color: #1565c0;
}

.hidden-regions {
    display: none;
}

.left-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-column img {
    max-width: 100%;
    max-height: 250%;
    border-radius: 10px;
    object-fit: contain;
}
.payment-button {
    display: inline-block;
    background-color: #219ebc;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.payment-button:hover {
    background-color: #187c94;
}

/* Grid styles */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.info-grid div {
    background-color: #ffffff;
    border-radius: 10px;
}

/* Form element styles */
input[type="submit"], select {
    padding: 10px;
    margin: 10px auto;
    display: block;
    border: 1px solid #023047;
    border-radius: 5px;
    background-color: #dbd9d9;
    color: #000000;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

/* Services grid styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.service-option {
    display: flex;
    align-items: center;
}

.service-option input[type="checkbox"] {
    margin-right: 10px;
}

/* Company info styles */
.company-info {
    flex: 1;
    border: 2px solid #8ecae6;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    margin: 10px 0;
    border-radius: 10px;
    box-sizing: border-box;
}


.company-info input[type="text"],
.company-info input[type="email"],
.company-info input[type="url"],
.company-info input[type="number"],
.company-info textarea,
.company-info select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #8ecae6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #000000;
    transition: border-color 0.3s ease;
}

.company-info input[type="text"]:focus,
.company-info input[type="email"]:focus,
.company-info input[type="url"]:focus,
.company-info input[type="number"]:focus,
.company-info textarea:focus,
.company-info select:focus {
    outline: none;
    border-color: #219ebc;
    box-shadow: 0 0 5px rgba(33, 158, 188, 0.5);
}

.company-info select[multiple] {
    height: auto;
    min-height: 100px;
}

.company-info label {
    display: block;
    margin-top: 15px;
    color: #023047;
    font-weight: 600;
}
.checkbox-label {
    font-weight: normal !important;
}

@media (max-width: 768px) {
    .payment-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .price-tag {
        font-size: 1.8em;
    }
    
    .features-list {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .payment-box {
        padding: 15px;
    }
    
    .price-tag {
        font-size: 1.6em;
    }
    
    .features-list li {
        padding: 6px 0;
    }
}

.company-info input[type="submit"] {
    background-color: #8ecae6;
    color: #000000;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.company-info input[type="submit"]:hover {
    background-color: #219ebc;
}

.company-logo {
    max-width: 200px;
    max-height: 100px;
    margin: 0 auto 20px;
    display: block;
}

.company-info h2, 
.company-info p, 
.company-info h3, 
.company-info ul {
    text-align: center;
    margin: 10px 0;
}

.company-info ul {
    list-style-type: none;
    padding: 0;
}

.company-info ul li {
    margin: 5px 0;
}

/* General text styles */
.h2-style {
    padding: 20px;
    color: #023047;
}

p {
    color: #023047;
    margin: 10px 0;
}

/* Star rating styles */
.star-rating {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 10px;
    text-align: center;
}

.star-rating .empty-stars {
    color: #ccc;
}

/* Company details styles */
.company-name {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.company-detail {
    margin: 10px 0;
    color: #555;
    word-wrap: break-word;
}

.company-detail strong {
    color: #333;
}

/* Services list styles */
.services-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 5px;
}

.services-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.services-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* Highlight box styles */
.highlight-box {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #f0f7ff !important;
}

.highlight-box p {
    color: #023047;
    font-weight: 600;
}

/* Hero section styles */
.hero-section {
    background-color: #023047;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.hero-section p {
    color: #8ecae6;
    font-size: 1.2em;
    line-height: 1.6;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Content section styles */
.content-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-divider {
    border-bottom: 2px solid #8ecae6;
    width: 100px;
    margin: 40px auto;
}

/* Navigation styles */
.floating-nav {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Testimonial styles */
.testimonial-box {
    background-color: #ffffff;
    border: 2px solid #8ecae6;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(2, 48, 71, 0.1);
}

.testimonial-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    border-top: 1px solid #8ecae6;
    padding-top: 15px;
    margin-top: 20px;
}

.testimonial-author p {
    margin: 5px 0;
}

/* New testimonial styles */
.testimonial-box.new {
    border: 2px solid #219ebc;
    background-color: #f8f9fa;
}

.pricing-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pricing-box {
    background-color: #ffffff;
    border: 2px solid #8ecae6;
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
    text-align: center;
}

.pricing-highlight {
    color: #219ebc;
    font-weight: bold;
}

.countdown {
    font-size: 1.2em;
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.new-badge {
    background-color: #219ebc;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    display: inline-block;
    margin-bottom: 10px;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    header {
        font-size: 28px;
        padding: 8px;
    }

    .left-column, 
    .right-column {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 10px;
    }

    .left-column img {
        max-width: 100%;
        height: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 5px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        padding: 5px;
    }

    select, 
    input[type="submit"] {
        width: 100%;
        max-width: none;
    }

    .company-detail {
        font-size: 14px;
    }

    nav a {
        padding: 10px;
    }
}