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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-logo h2 {
    color: #dc3545;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #dc3545;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Info Notice Styles */
.info-notice {
    background-color: #fff;
    border: 2px solid #dc3545;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #dc3545;
    color: white;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.3s ease;
}

.info-header:hover {
    background-color: #c82333;
}

.info-icon {
    font-size: 1.2rem;
    margin-right: 10px;
}

.info-title {
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
}

.toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.info-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.info-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* Price display styles */
.price-value {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Distance info styling */
.distance-info {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

.distance-info strong {
    color: #fff;
    font-size: 1rem;
}

.distance-info .distance-value {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Map container styling */
.map-container {
    margin-top: 20px;
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.map-header h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.map-instruction {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.distance-map {
    height: 400px;
    width: 100%;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #dc3545;
    color: white;
}

.btn-primary:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-secondary:hover {
    background-color: #dc3545;
    color: white;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.values-section {
    margin-top: 4rem;
}

.values-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.value-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Services Page Styles */
.services {
    padding: 80px 0;
    background-color: white;
}

.main-service {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 4rem;
    text-align: center;
}

.main-service .service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.main-service h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    text-align: left;
}

.feature-list ul {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.pricing-info p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.guarantee-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 4rem;
    border-radius: 15px;
    text-align: center;
}

.guarantee-section h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.guarantee-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.guarantee-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Form Styles */
.registration-form,
.contact-section {
    padding: 80px 0;
    background-color: white;
}

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

.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
}

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

/* Distance Calculation */
.distance-section {
    margin-top: 1rem;
    padding: 1rem;
    background: #e9ecef;
    border-radius: 5px;
}

.distance-result {
    margin-top: 1rem;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: #dc3545;
    display: none;
}

.distance-result.show {
    display: block;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    flex: 1;
    margin-bottom: 0;
    line-height: 1.5;
}

.link-button {
    background: none;
    border: none;
    color: #dc3545;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    margin-left: 0.5rem;
}

.link-button:hover {
    color: #c82333;
}

/* Agreements Section */
.agreements {
    background: #fff3cd;
    border: 2px solid #ffc107;
    display: none; /* Initially hidden */
    transition: all 0.3s ease-in-out;
}

.agreements.show {
    display: block;
    animation: slideDown 0.3s ease-in-out;
}

.agreements h2 {
    color: #856404;
    border-bottom-color: #ffc107;
}

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

/* Form Submit */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.8;
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
}

.modal-body h3 {
    color: #dc3545;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-body h4 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-details p {
    color: #666;
    margin-bottom: 0.2rem;
}

.emergency-contact {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.emergency-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Error and Warning Styles */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 12px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 12px;
    margin-top: 1rem;
    font-size: 1rem;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 12px;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #dc3545;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

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

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .features,
    .about-content,
    .services,
    .registration-form,
    .contact-section {
        padding: 60px 0;
    }

    .form-section {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for distance calculation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #dc3545;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Address Autocomplete Styles */
.address-input-container {
    position: relative;
}

.address-input-container input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.address-input-container input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.address-loading {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.address-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.address-details {
    margin-top: 10px;
    padding: 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
}

.address-details p {
    margin: 5px 0;
    color: #495057;
}

.address-details strong {
    color: #212529;
}

/* Distance info styling within address details */
.distance-info {
    margin-top: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.distance-info .distance-value {
    font-weight: bold;
    font-size: 16px;
}

/* Apartment details styling within address details */
.apartment-details {
    margin: 10px 0;
    padding: 10px;
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    font-size: 13px;
}

.apartment-details p {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #1565c0;
}

.apartment-details ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.apartment-details li {
    margin: 4px 0;
    color: #424242;
    position: relative;
}

.apartment-details li::before {
    content: "•";
    color: #1976d2;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.apartment-details li strong {
    color: #1565c0;
}

/* Google Maps Autocomplete Dropdown Styling */
.pac-container {
    background-color: #fff;
    z-index: 1000;
    position: fixed;
    display: inline-block;
    float: left;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.pac-container:after {
    background-image: none !important;
    height: 0px;
}

.pac-item {
    border-top: 1px solid #e9ecef;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #007bff;
    color: white;
}

.pac-matched {
    font-weight: bold;
    color: #007bff;
}

.pac-item-selected .pac-matched {
    color: white;
}

.pac-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-image: none;
}

.pac-icon-marker {
    background-image: none;
}

.pac-icon::before {
    content: "📍";
    font-size: 16px;
}

/* Distance Result Enhanced Styling */
.distance-result {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 8px;
    text-align: center;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.distance-result.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.distance-result .distance-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.distance-result .distance-label {
    font-size: 14px;
    opacity: 0.9;
}

.duration-info {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Error States */
.address-error {
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.address-error.show {
    display: block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .pac-container {
        max-width: calc(100vw - 40px);
    }
    
    .address-details {
        font-size: 13px;
    }
    
    .distance-result .distance-value {
        font-size: 20px;
    }
}

/* Enhanced Address Section Styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Apartment/Building specific styling */
#buildingName {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
}

#buildingName:focus {
    background-color: #fff;
    border-color: #007bff;
}

#apartmentNumber {
    font-weight: 500;
    background-color: #fff5f5;
    border: 2px solid #ffc1c1;
}

#apartmentNumber:focus {
    background-color: #fff;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

#apartmentNumber::placeholder {
    color: #6c757d;
    font-style: italic;
}

#addressNotes {
    min-height: 60px;
    resize: vertical;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: 14px;
}

#addressNotes:focus {
    background-color: #fff;
    border-color: #007bff;
}

/* Address field enhancements */
.address-input-container input[type="text"]::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* Required field indicators */
label[for="apartmentNumber"]::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

/* Form section headers with icons */
.form-section h2 {
    position: relative;
}



/* Field grouping visual enhancement */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

/* Success states for completed fields */
.form-group.completed input,
.form-group.completed textarea,
.form-group.completed select {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-group.completed::after {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 38px;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

/* Enhanced Services Page Styling */
.services-grid.equal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.services-grid.equal-cards .service-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 2px solid transparent;
}

.services-grid.equal-cards .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.services-grid.equal-cards .service-icon {
    font-size: 56px;
    margin-bottom: 25px;
    text-align: center;
}

.services-grid.equal-cards .service-card h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.services-grid.equal-cards .service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
    flex-grow: 1;
    font-size: 16px;
}

/* Contact Services Section - Improved */
.contact-services {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin: 0 0 50px 0;
    border: 1px solid #dee2e6;
}

.contact-services h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
}

.contact-services p {
    margin-bottom: 40px;
    font-size: 18px;
    color: #495057;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-option {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.contact-option h4 {
    color: #495057;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-btn {
    display: block;
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
}

.phone-btn {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: 2px solid transparent;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #138496, #0f6674);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    color: white;
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: 2px solid transparent;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: white;
    text-decoration: none;
}

/* WhatsApp Button Styling */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

/* Footer links styling */
.footer-section p a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .services-grid.equal-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services-grid.equal-cards .service-card {
        min-height: 250px;
        padding: 30px 25px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-services {
        padding: 35px 25px;
    }
    
    .contact-services h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .services-grid.equal-cards .service-card {
        min-height: 220px;
        padding: 25px 20px;
    }
    
    .services-grid.equal-cards .service-card h3 {
        font-size: 20px;
    }
    
    .services-grid.equal-cards .service-icon {
        font-size: 48px;
    }
    
    .contact-option {
        padding: 25px 20px;
    }
}

/* Wider container for contact page */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
}

.contact-info-card h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.contact-details-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail h4 {
    color: #495057;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.contact-detail p {
    color: #666;
    line-height: 1.6;
    margin: 8px 0;
}

.contact-detail a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Phone Numbers Styling */
.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.phone-link {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    font-size: 15px;
    border: 2px solid transparent;
}

.phone-link:hover {
    background: linear-gradient(135deg, #138496, #0f6674);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.whatsapp-link {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 2px solid transparent;
}

.whatsapp-link:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: #ffffff;
    text-decoration: none;
}

/* Contact Form Section */
.contact-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
}

.contact-form-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

/* FAQ Accordion Styling */
.faq-section {
    margin-top: 50px;
}

.faq-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #dee2e6;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #dee2e6;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question.active {
    background: #dc3545;
    color: white !important;
    border-bottom-color: #dc3545;
}

.faq-question.active h4 {
    color: white !important;
}

.faq-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 15px;
    width: 20px;
    text-align: center;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-answer.active {
    padding: 16px 20px;
    max-height: 150px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container-wide {
        padding: 0 20px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-card,
    .contact-form-section {
        padding: 30px 25px;
    }
    
    .phone-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .phone-link,
    .whatsapp-link {
        width: 100%;
        text-align: center;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question h4 {
        font-size: 15px;
    }
    
    .faq-answer.active {
        padding: 14px 16px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .contact-info-card,
    .contact-form-section {
        padding: 25px 20px;
    }
    
    .contact-info-card h2,
    .contact-form-section h2 {
        font-size: 24px;
    }
    
    .faq-section h2 {
        font-size: 24px;
    }
    
    .phone-item {
        padding: 10px 12px;
    }
    
    .phone-link,
    .whatsapp-link {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Logo clickable styling */
.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-logo a:hover {
    text-decoration: none;
    color: inherit;
}

.nav-logo a h2 {
    transition: color 0.3s ease;
}

.nav-logo a:hover h2 {
    color: #007bff;
}

/* Hizmetlerimiz button - better contrast on red background */
.btn-secondary {
    background-color: #ffffff !important;
    color: #dc3545 !important;
    border: 2px solid #ffffff !important;
}

.btn-secondary:hover {
    background-color: #f8f9fa !important;
    color: #c82333 !important;
    border: 2px solid #f8f9fa !important;
}

/* About page - Full width text layout */
.about-text-full {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-text-full h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.about-text-full h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    color: #2c3e50;
}

.about-text-full p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

/* Stats moved to bottom */
.about-stats-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats-bottom .stat-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.about-stats-bottom .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.about-stats-bottom .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.about-stats-bottom .stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

/* Mobile responsive for about page */
@media (max-width: 768px) {
    .about-text-full {
        padding: 0 20px;
    }
    
    .about-text-full h2 {
        font-size: 1.8rem;
    }
    
    .about-text-full h3 {
        font-size: 1.5rem;
    }
    
    .about-text-full p {
        font-size: 1rem;
        text-align: left;
    }
    
    .about-stats-bottom {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .about-stats-bottom .stat-card {
        padding: 1rem;
    }
    
    .about-stats-bottom .stat-number {
        font-size: 1.5rem;
    }
    
    .about-stats-bottom .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-stats-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .about-stats-bottom .stat-card {
        padding: 0.8rem;
    }
    
    .about-stats-bottom .stat-number {
        font-size: 1.3rem;
    }
    
    .about-stats-bottom .stat-label {
        font-size: 0.8rem;
    }
}
