/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dark overlay effect */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* ===================================================
   ABOUT INFO SECTION (Top Contact Info)
   ================================================== */

.about-info-section {
    padding: 5rem 2rem;
    background: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Company Info (Left Side) */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 16px;
    font-weight: 600;
    color: #0b4f7a;
}

.info-value {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.info-link {
    color: #0b4f7a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #083d5f;
    text-decoration: underline;
}

/* Company CTA (Right Side) */
.company-cta {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #0b4f7a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.company-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #0b4f7a;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.company-cta-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.company-cta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-cta-icon {
    color: #0b4f7a;
    flex-shrink: 0;
}

.company-cta-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 60px;
}

.company-cta-value {
    font-size: 16px;
    color: #0b4f7a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.company-cta-value:hover {
    color: #083d5f;
    text-decoration: underline;
}

/* ===================================================
   CONTACT FORM SECTION (Bottom Form & Map)
   ================================================== */

.contact-section {
    padding: 80px 0;
    background: #f9fafb;
}

.contact-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Area */
.contact-form-area {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    color: #8B0000;
    margin: 0 0 10px 0;
    line-height: 1.2;
    position: relative;
    padding-bottom: 15px;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #8B0000;
}

/* Contact Form 7 Styling */
.contact-form {
    margin-top: 30px;
}

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #2d3748;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0b4f7a;
    box-shadow: 0 0 0 3px rgba(11, 79, 122, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input[type="submit"] {
    width: 100%;
    padding: 16px;
    background: #e5e7eb;
    color: #4b5563;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.contact-form input[type="submit"]:hover {
    background: #0b4f7a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 79, 122, 0.3);
}

/* Contact Form 7 Response Messages */
.contact-form .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.contact-form .wpcf7-validation-errors {
    border: 1px solid #f59e0b;
    background: #fffbeb;
    color: #92400e;
}

.contact-form .wpcf7-mail-sent-ok {
    border: 1px solid #10b981;
    background: #ecfdf5;
    color: #065f46;
}

/* Checkbox Styling */
.contact-form .wpcf7-list-item {
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form .wpcf7-checkbox {
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form .wpcf7-list-item-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.5;
    margin: 0 !important;
    padding: 5px 0;
}

.contact-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0 !important;
    cursor: pointer;
    accent-color: #0b4f7a;
    flex-shrink: 0;
    border: 2px solid #cbd5e0;
    border-radius: 3px;
}

.contact-form input[type="checkbox"]:checked {
    background-color: #0b4f7a;
    border-color: #0b4f7a;
}

.contact-form input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 79, 122, 0.1);
}

/* Privacy Notice Text */
.contact-form p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 5px 0 10px 0 !important;
}

/* Checkbox Label - Remove default CF7 styling */
.contact-form label:has(input[type="checkbox"]) {
    margin-bottom: 0 !important;
}

/* Span wrapper for checkbox text */
.contact-form .wpcf7-list-item-label span {
    flex: 1;
    padding-top: 1px;
}

/* Map Area */
.contact-map-area {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.map-info-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    max-width: 280px;
}

.map-location-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.map-location-address {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.map-directions-link {
    display: inline-block;
    font-size: 14px;
    color: #0b4f7a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.map-directions-link:hover {
    color: #083d5f;
    text-decoration: underline;
}

.map-container {
    width: 600px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
}

/* ===================================================
   ANIMATIONS
   ================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===================================================
   RESPONSIVE DESIGN
   ================================================== */

@media (max-width: 968px) {
    /* About Info Section */
    .about-info-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-cta {
        padding: 30px;
    }
    
    .company-cta-title {
        font-size: 28px;
    }
    
    /* Contact Form Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-area {
        padding: 40px 30px;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .map-info-card {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-info-section {
        padding: 3rem 1.5rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-area {
        padding: 30px 20px;
    }
    
    .contact-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .company-cta-title {
        font-size: 24px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .info-label,
    .info-value,
    .company-cta-label,
    .company-cta-value {
        font-size: 14px;
    }
}