/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #0B1215;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #28489A 0%, #4680F7 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    display: none !important;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}


.container h1{
    color: #0B1215 ;
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    line-height: 1.15;
}
.container h2{
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.2;
}
.container h3{
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    font-weight: 600;
    color: #0B1215 ;
    line-height: 1.35;
}
.container h4{
    font-size: clamp(1.6rem, 2.7vw, 2.6rem);
    color: #0B1215 ;
    line-height: 1.4;
}
.container h5{
    font-size: clamp(1.4rem, 2.3vw, 1.8rem);
    font-weight: 400;
    color: #0B1215 ;
    line-height: 1.45;
    text-transform: none !important;
}
.container h6{
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #0B1215 ;
    line-height: 1.5;
    text-transform: none !important;
}
.container p{
    font-weight: 400;
    font-size:1.2rem;
    line-height: 1.6;
    color: #0B1215 ;
    text-transform: none !important;
}

/* Hero title wrappers */
.hero-title-text {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
    color: white;
    margin: 0;
    text-transform: uppercase;
}

.hero-title-rich {
    text-align: center;
    color: white;
    font-weight: 700;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero-title-rich * {
    color: inherit;
    text-shadow: inherit;
}

.hero-content .ql-align-center,
.intro-text .ql-align-center {
    text-align: center !important;
}

.hero-content .ql-align-right,
.intro-text .ql-align-right {
    text-align: right;
}

.hero-content .ql-align-justify,
.intro-text .ql-align-justify {
    text-align: justify;
}

.hero-content .ql-align-left,
.intro-text .ql-align-left {
    text-align: left;
}

.hero-content .ql-size-huge,
.hero-title-rich .ql-size-huge {
    font-size: 4.5rem !important;
}

.hero-content .ql-size-large,
.hero-title-rich .ql-size-large {
    font-size: 3.5rem !important;
}

.hero-content .ql-size-small,
.hero-title-rich .ql-size-small {
    font-size: 2.2rem !important;
}

.hero-content .ql-size-4\.5rem,
.hero-title-rich .ql-size-4\.5rem {
    font-size: 4.5rem !important;
}

.hero-content .ql-size-4rem,
.hero-title-rich .ql-size-4rem {
    font-size: 4rem !important;
}

.hero-content .ql-size-3\.5rem,
.hero-title-rich .ql-size-3\.5rem {
    font-size: 3.5rem !important;
}

.hero-content .ql-size-3rem,
.hero-title-rich .ql-size-3rem {
    font-size: 3rem !important;
}

.hero-content .ql-size-2\.5rem,
.hero-title-rich .ql-size-2\.5rem {
    font-size: 2.5rem !important;
}

.hero-content .ql-size-2rem,
.hero-title-rich .ql-size-2rem {
    font-size: 2rem !important;
}

/* Get In Touch Section */
.get-in-touch-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 3.5rem;
    color: #28489A;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.section-title-text {
    font-size: 3.5rem;
    color: #28489A;
 
    font-weight: 700;
    text-align: center;
}

.section-title-rich {
    color: #28489A;
    font-weight: 700;
}

.section-title-rich h1,
.section-title-rich h2,
.section-title-rich h3,
.section-title-rich h4,
.section-title-rich h5,
.section-title-rich h6 {
    margin: 0;
    font-weight: inherit;
    color: inherit;
}

.section-title-rich p:first-child {
    margin-top: 0;
}

.section-title-rich * {
    color: inherit;
}

.section-title-rich .ql-align-center {
    text-align: center !important;
}

.section-title-rich .ql-align-right {
    text-align: right !important;
}

.section-title-rich .ql-align-left {
    text-align: left !important;
}

.section-title-rich .ql-align-justify {
    text-align: justify !important;
}

.section-title-rich .ql-size-large,
.section-title-rich .ql-size-4\.5rem,
.section-title-rich .ql-size-huge,
.section-title-rich .ql-size-3\.5rem {
    font-weight: 700;
}

.intro-text {
    max-width: 1000px;
    margin: 40px auto 40px auto;
    text-align: center;
    color: #0B1215;
}

.intro-text h5{
    margin-bottom: 20px;
}

.intro-text > *:first-child {
    margin-top: 0;
}

.intro-text p {
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 1.6rem;
}

.intro-text .ql-size-1\.2rem {
    font-size: 1.2rem !important;
}

.intro-text .ql-size-1\.4rem {
    font-size: 1.4rem !important;
}

.intro-text .ql-size-1\.6rem {
    font-size: 1.6rem !important;
}

.intro-text .ql-size-1\.8rem {
    font-size: 1.8rem !important;
}

.intro-text .ql-size-2rem {
    font-size: 2rem !important;
}

.intro-text .ql-size-2\.2rem {
    font-size: 2.2rem !important;
}

.intro-text .ql-size-large {
    font-size: 1.8rem !important;
}

.intro-text .ql-size-huge {
    font-size: 2.2rem !important;
}

.intro-text .ql-size-small {
    font-size: 1.2rem !important;
}

.intro-text [class*="ql-size-"][class*="rem"] {
    font-size: calc(var(--dynamic-size, 1.6rem)) ;
}

.intro-text a {
    color: #28489A;
    font-weight: 700;
}

.hero-title-rich .ql-align-center strong,
.hero-title-rich .ql-align-center span {
    display: inline-block;
}

.intro-paragraph {
    font-size: 1.8rem !important;
    margin-bottom: 25px !important;
}

.faq-link, .faq-page-link {
    color: #28489A;
    text-decoration: none;
    font-weight: 1000;
}

.faq-link:hover, .faq-page-link:hover {
    text-decoration: underline;
}

.faq-page-link {
    display: block;
    margin: 40px auto;
    font-size: 1.6rem;
    text-align: center;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-column {
    flex: 1;
    min-width: 0; /* Prevent flex items from overflowing */
}

/* Full width rows */
.form-row.full-width-row {
    display: block;
    width: 100%;
}

.form-row.full-width-row .form-group {
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0B1215;
    font-size: 1.4rem;
    letter-spacing: 0.3px;
}

.required-asterisk {
    color: #dc3545;
    font-weight: 700;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1.4rem;
    background-color: #ffffff;
    color: #0B1215;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28489A;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(40, 72, 154, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
    font-weight: 500;
}

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

/* Error message styling */
.validation-error {
    color: #dc3545;
    font-size: 1.2rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.error-field {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.error-field:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

/* Phone field error styling - separate borders for country selector and input */
.iti.error-iti .iti__selected-flag {
    border-color: #dc3545 !important;
    border-right: 1px solid #dc3545 !important;
}

.iti.error-iti input[type="tel"] {
    border-color: #dc3545 !important;
    border-left: 1px solid #dc3545 !important;
}

.iti.error-iti:focus-within .iti__selected-flag {
    border-color: #dc3545 !important;
    border-right: 1px solid #dc3545 !important;
}

.iti.error-iti:focus-within input[type="tel"] {
    border-color: #dc3545 !important;
    border-left: 1px solid #dc3545 !important;
}

/* International Phone Input Styling */
.iti {
    width: 100%;
    position: relative;
}

.iti__country-list {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow-y: auto;
    margin-top: 2px;
    z-index: 1000;
    background: #ffffff;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.iti__country {
    padding: 12px 16px;
    font-size: 1.4rem;
    color: #374151;
    transition: background-color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    line-height: 1.4;
}

.iti__country:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}

.iti__country:first-child {
    border-radius: 6px 6px 0 0;
}

.iti__country:hover {
    background-color: #f9fafb;
    color: #1f2937;
}

.iti__country.iti__highlight {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-left: 3px solid #3b82f6;
}

.iti__country-name {
    font-weight: 500;
    flex: 1;
}

.iti__dial-code {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.iti__selected-flag {
    border-radius: 8px 0 0 8px;
    background-color: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-right: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    padding: 14px 12px;
    height: 100%;
    display: flex;
    align-items: center;
}

.iti__selected-flag:hover {
    background-color: #e9ecef;
}

.iti input[type="tel"] {
    border-radius:8px;
    border-left: none;
    padding-left: 12px;
    border: 2px solid #e1e8ed;
    border-left: 1px solid #e1e8ed;
    background-color: #ffffff;
    color: #2c3e50;
    font-size: 1.4rem;
    padding: 14px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    width: 100%;
    height: 100%;
}

.iti input[type="tel"]:focus {
    outline: none;
    border-color: #28489A;
    background-color: #ffffff;
    /* box-shadow: 0 0 0 3px rgba(40, 72, 154, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05); */
    /* transform: translateY(-1px); */
}

.iti input[type="tel"]:focus + .iti__selected-flag {
    border-color: #28489A;
}

.iti input[type="tel"]::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* Fix the container styling */
.iti__flag-container {
    border-radius: 8px 0 0 8px;
}

/* Ensure proper alignment */
.iti__selected-flag .iti__flag {
    margin-right: 10px;
    width: 18px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 0.5px solid rgba(0, 0, 0, 0.1);
}

.iti__selected-flag .iti__arrow {
    margin-left: 8px;
    border-top: 4px solid #6b7280;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    transition: all 0.15s ease;
}

.iti__selected-flag:hover .iti__arrow {
    border-top-color: #374151;
}

/* Flag styling in dropdown */
.iti__country .iti__flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Fix focus state for the entire phone input */
.iti:focus-within .iti__selected-flag {
    border-color: #28489A;
    background-color: #f8fafc;
}

.iti:focus-within input[type="tel"] {
    border-color: #28489A;
    box-shadow: 0 0 0 3px rgba(40, 72, 154, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

/* Ensure consistent height */
.iti__selected-flag,
.iti input[type="tel"] {
    min-height: 48px;
    box-sizing: border-box;
}

/* Fix any border issues */
.iti__selected-flag {
    border-right: 1px solid #e1e8ed !important;
}

.iti input[type="tel"] {
    border-left: 1px solid #e1e8ed !important;
}

/* Professional scrollbar styling */
.iti__country-list::-webkit-scrollbar {
    width: 4px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: transparent;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Search input in dropdown */
.iti__search-input {
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    background: #fafafa;
    border-radius: 6px 6px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #374151;
}

.iti__search-input:focus {
    outline: none;
    background: white;
    border-bottom-color: #3b82f6;
}

.iti__search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* No results message */
.iti__no-results {
    padding: 16px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    font-style: normal;
    background: #f9fafb;
}


/* Consent Text */
.consent-text {
    margin-bottom: 25px;
    text-align: left;
}

.consent-text p {
    font-size: 1.6rem;
    color: #0B1215;
    line-height: 1.6;
}

.privacy-link {
    color: #28489A;
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* reCAPTCHA Container */
.recaptcha-container {
    margin-bottom: 30px;
    text-align: center;
}

.recaptcha-container .g-recaptcha {
    display: inline-block;
}

/* Submit Button */
.form-submit {
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #E55A2B 0%, #E0841A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

/* Map Section */
.map-section {
    padding: 0;
    background: #f8f9fa;
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem !important;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 2.5rem !important;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-column {
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .intro-text p {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .get-in-touch-section {
        padding: 50px 0;
    }
    
    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.5rem !important;
    }
    
    .section-title {
        font-size: 2.5rem !important;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 1.4rem;
    }
    
    .hero-section {
        min-height: 300px;
    }
    
    .get-in-touch-section {
        padding: 50px 0;
    }
}
