body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #ffffff; /* White background for the header */
    padding: 0; /* Remove padding from header, handled by inner elements */
    border-bottom: 1px solid #eee; /* Subtle border at the bottom */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
    text-align: center;
}

.header-top {
    background-color: #f8f9fa; /* Light background for the top contact bar */
    padding: 5px 20px;
    display: flex;
    justify-content: flex-end; /* Align contact info to the right */
    align-items: center;
    max-width: 1200px; /* Constrain width */
    margin: 0 auto; /* Center the top bar */
    font-size: 0.9rem;
    color: #555;
}

.contact-info {
    display: flex;
    align-items: center;
}

.whatsapp-icon {
    height: 20px; /* Adjust as needed */
    width: auto;
    margin-left: 8px;
    vertical-align: middle;
}

nav {
    display: flex;
    justify-content: space-between; /* Space out logo and menu */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    flex-wrap: wrap;
    background-color: transparent;
    box-shadow: none;
}

.navbar-left .logo .header-logo {
    height: 120px; /* Adjust logo size */
    width: 120px; /* Adjust logo size */
    object-fit: contain; /* Ensure the entire logo is visible within the bounds */
    background-color: transparent; /* Ensure no background is added */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative;
    margin-left: 25px; /* Spacing between main menu items */
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 0;
    display: block;
    font-weight: 600; /* Slightly bolder font */
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff; /* Highlight on hover */
    background: none; /* Remove background on hover */
}

nav ul ul {
    display: none;
    position: absolute;
    background: #ffffff; /* White background for dropdown */
    border: 1px solid #ddd;
    min-width: 180px;
    z-index: 1000;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
}

nav ul li:hover > ul {
    display: flex; /* Change to flex for vertical stacking */
}

nav ul ul li {
    margin: 0;
}

nav ul ul li a {
    padding: 10px 15px;
    white-space: nowrap;
    color: #555;
    font-weight: normal;
}

nav ul ul li a:hover {
    background: #f0f2f5;
    color: #007bff;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.hero {
    text-align: center;
    background: #e9f7ef url('https://via.placeholder.com/1500x500?text=Arhavi+Dogalgaz+Hero') no-repeat center center;
    background-size: cover;
    padding: 50px 20px;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #28a745;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-buttons button {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.cta-buttons button:hover {
    background: #218838;
}

h2 {
    color: #0056b3;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    color: #0056b3;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.steps div {
    flex: 1;
    min-width: 280px;
    margin: 10px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.city-selection ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.city-selection li {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.city-selection li:hover {
    background: #0056b3;
}

.testimonials .testimonial-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

footer {
    background: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-contact {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.credit-card-icon {
    margin: 20px 0;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
    text-align: left;
}

.footer-links div {
    margin: 20px;
}

.footer-links h3 {
    color: #28a745;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    text-decoration: none;
    color: #ccc;
    display: block;
    padding: 5px 0;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #555;
    margin-top: 30px;
    padding-top: 20px;
}

.footer-bottom .footer-cta {
    margin-top: 20px;
}

.footer-bottom .footer-cta button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.footer-bottom .footer-cta button:hover {
    background: #0056b3;
}

/* Styles for the multi-step offer form */
.offer-form-main {
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
    padding: 20px;
}

.offer-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.offer-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
    text-align: left;
}

.price-range {
    font-size: 1.1rem;
    font-weight: bold;
    color: #28a745;
}

.progress-bar-container {
    background: #e0e0e0;
    border-radius: 5px;
    height: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    background: #28a745;
    height: 100%;
    width: 0%; /* Will be updated by JS */
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

.step-counter {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.form-step {
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block; /* Active step is shown */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
    font-size: 1.7rem;
    color: #0056b3;
    text-align: center;
    margin-bottom: 15px;
}

.form-step p {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
}

.form-step label {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: #444;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.slider-container span {
    margin-right: 15px;
    font-weight: bold;
    color: #333;
}

.slider-container input[type="range"] {
    width: 60%;
    -webkit-appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: background 0.2s ease-in-out;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: grab;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: grab;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.form-input {
    width: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    margin: 0 auto 20px auto; /* Center the input */
    display: block;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.form-navigation button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.form-navigation .prev-step {
    background: #6c757d;
    color: #fff;
}

.form-navigation .prev-step:hover {
    background: #5a6268;
}

.form-navigation .next-step {
    background: #28a745;
    color: #fff;
}

.form-navigation .next-step:hover {
    background: #218838;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: fit-content;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007bff;
    border-radius: 50%; /* For radio buttons */
    outline: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"] {
    border-radius: 3px; /* For checkboxes */
}

.radio-group input[type="radio"]:checked::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-group input[type="checkbox"]:checked::before {
    content: '\2713'; /* Checkmark character */
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}

.radio-group input[type="radio"]:checked + span,
.checkbox-group input[type="checkbox"]:checked + span {
    font-weight: bold;
    color: #007bff;
}

.radio-group label:has(input[type="radio"]:checked),
.checkbox-group label:has(input[type="checkbox"]:checked) {
    background-color: #e7f4ff;
    border-color: #007bff;
}

.select-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.select-group label {
    text-align: center;
    font-weight: bold;
    color: #444;
}

.select-group select {
    width: 250px; /* Adjust width as needed */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    appearance: none; /* Remove default arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-5.4H18.2c-4.1%200-7.9%201.5-10.9%204.6-3.2%203.1-4.8%207.2-4.8%2011.6s1.6%208.5%204.8%2011.6l128.8%20128.7a20%2020%200%200%200%2013.2%205.4c4.1%200%207.9-1.5%2010.9-4.6l128.8-128.7c3.2-3.1%204.8-7.2%204.8-11.6-.1-4.4-1.7-8.5-4.9-11.6z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px;
    cursor: pointer;
}

/* Styles for the Products Section */
.products-section {
    padding: 50px 20px;
    background: #f8f9fa;
    text-align: center;
}

.products-section h2 {
    color: #0056b3;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.product-item img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
}

.product-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
}

.product-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-item .btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.product-item .btn:hover {
    background: #0056b3;
}

nav .logo .header-logo {
    height: 80px; /* Increased size */
    width: 80px; /* Make width equal to height for perfect circle */
    border-radius: 50%; /* Make the logo round */
    object-fit: cover; /* Ensure image covers the round area */
    border: 2px solid #007bff; /* Add a border to the logo */
    padding: 5px; /* Padding inside the border */
    background-color: #fff; /* White background inside the round logo */
    vertical-align: middle;
    margin: 0 30px; /* Space around the logo */
}

.footer-logo .footer-logo-img {
    height: 90px; /* Increased size */
    width: auto;
    vertical-align: middle;
}

.section-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styles for the Sertifikalı Firma Bul page */
.professionals-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.firm-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.firm-item h3 {
    color: #0056b3;
    margin-bottom: 10px;
}

.firm-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
}

.city-selection-firms ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.city-selection-firms li {
    background: #e7f4ff;
    color: #007bff;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #007bff;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.city-selection-firms li:hover {
    background: #007bff;
    color: #fff;
}

.cta-section-bottom, .cta-section-final, .about-us {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    background: #e9f7ef;
    border-radius: 8px;
}

.cta-section-bottom h2, .cta-section-final h2, .about-us h2 {
    color: #28a745;
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section-bottom p, .cta-section-final p, .about-us p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.cta-section-bottom .btn {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px;
    transition: background 0.3s ease;
}

.cta-section-bottom .btn:hover {
    background: #218838;
}

.cta-section-bottom .secondary-btn {
    background: #007bff;
}

.cta-section-bottom .secondary-btn:hover {
    background: #0056b3;
}

.cta-section-final .cta-buttons button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-section-final .cta-buttons button:hover {
    background: #0056b3;
}

/* Styles for Kombi Hesaplama page */
.calculator-main {
    background: #f0f2f5;
    padding: 20px;
}

.calculation-form-section .hero {
    margin-bottom: 30px;
}

.calculator-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.calculator-container h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.calculator-container .form-group {
    margin-bottom: 20px;
    text-align: center;
}

.calculator-container .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #444;
}

.calculator-container .form-input {
    width: 60%;
    max-width: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.calculator-container .slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

.calculator-container .slider-container span {
    margin: 0 10px;
    font-weight: bold;
    color: #333;
}

.calculator-container .slider-container input[type="range"] {
    flex-grow: 1;
    max-width: 400px;
}

.calculator-container .radio-group {
    flex-direction: row; /* Display radio buttons in a row */
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.calculator-container .radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px; /* More rounded for selection */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.calculator-container .radio-group input[type="radio"] {
    margin-right: 8px;
}

.calculator-container .radio-group input[type="radio"]:checked + span {
    font-weight: bold;
    color: #007bff;
}

.calculator-container .radio-group label:has(input[type="radio"]:checked) {
    background-color: #e7f4ff;
    border-color: #007bff;
}

.calculator-container button#calculate-kombi {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 12px 30px;
    margin-top: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.calculator-container button#calculate-kombi:hover {
    background: #218838;
}

.calculation-result {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

.calculation-result h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

.info-section h2 {
    text-align: left;
    margin-bottom: 15px;
}

.info-section p strong {
    color: #28a745;
}

.calculation-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.result-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.result-item img {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.result-item p {
    font-size: 1rem;
    color: #555;
    margin: 5px 0;
}

.new-calculation-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.new-calculation-btn:hover {
    background: #0056b3;
}

/* Styles for Doğalgaz Tesisat Fiyat Hesaplama page */
.offer-form-main .offer-container .offer-header h2 {
    font-size: 1.5rem; /* Adjust font size for longer title */
}

#dogalgaz-maliyet-form .form-group label {
    text-align: center;
    width: 100%;
}

#dogalgaz-maliyet-form .checkbox-group label {
    width: auto;
}

#dogalgaz-maliyet-form .radio-group label {
    padding: 8px 15px;
    border-radius: 20px;
    width: auto; /* Allow radio buttons to size content */
}

#dogalgaz-maliyet-form .form-input[type="number"] {
    width: 80px;
    display: inline-block;
    margin-left: 10px;
}

#dogalgaz-maliyet-form .slider-container {
    width: calc(100% - 120px); /* Adjust width to make space for number input */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#dogalgaz-maliyet-form .slider-container span {
    min-width: 50px; /* Ensure space for m² text */
    text-align: right;
}

#dogalgaz-maliyet-form .form-group .select-group {
    margin-bottom: 0;
}

.calculation-result-maliyet {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

.calculation-result-maliyet h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

.calculation-result-maliyet .result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.calculation-result-maliyet .result-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.calculation-result-maliyet .result-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.calculation-result-maliyet .result-item img {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.calculation-result-maliyet .result-item p {
    font-size: 0.95rem;
    color: #555;
    margin: 5px 0;
}

.new-calculation-btn-maliyet {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}
