/* 
   ========================================
   PAGE SECTIONS
   Hero, About, Mission, Services, Contact, etc.
   ======================================== 
*/

/* ========================================
   Hero Component Styles
   ======================================== */

.hero {
    position: relative;
    /* Fallback background */
    background-color: #191919;
    color: #ffffff;
    padding: 10rem 1rem 8rem;
    /* Increased top padding for fixed nav */
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    /* Make it substantial */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide hero image on all pages except homepage */
body:not(.home):not(.front-page) .hero__background img {
    display: none !important;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Above background */
}

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

.hero__background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker gradient to remove gray haze */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero__subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.375rem; /* 22px */
    margin-bottom: 3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95); /* Slightly brighter text */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.hero__cta {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 10px 4rem;
        min-height: auto;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }
}

/* AboutSection */
.about-section {
    padding: 6rem 1rem;
    background-color: #ffffff;
    text-align: center;
}

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

.about-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-section__content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #475569;
    font-size: 1.125rem;
    font-family: 'Raleway', sans-serif;
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 10px;
    }

    .about-section__title {
        font-size: 2rem;
    }
}

/* MissionSection */
.mission-section {
    padding: 6rem 1rem;
    background-color: #f8f9fa;
    text-align: center;
}

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

.mission-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-section__quote {
    margin-bottom: 3rem;
    font-style: italic;
    color: #334155;
    font-size: 1.5rem;
    border-left: 4px solid #ef4444;
    /* Brand Red */
    padding-left: 1.5rem;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.mission-section__content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #475569;
    font-size: 1.125rem;
    font-family: 'Raleway', sans-serif;
}

@media (max-width: 768px) {
    .mission-section {
        padding: 3rem 10px;
    }

    .mission-section__title {
        font-size: 2rem;
    }
}

/* WhyChooseUsSection */
.why-choose-us-section {
    padding: 6rem 1rem;
    background-color: #ffffff;
    text-align: center;
}

.why-choose-us-section__container {
    max-width: 1100px;
    margin: 0 auto;
}

.why-choose-us-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-us-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.why-choose-us-section__card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.why-choose-us-section__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-us-section__icon {
    font-size: 2.5rem;
    color: #ef4444;
    /* Brand Red */
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.why-choose-us-section__text {
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.6;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 3rem 10px;
    }

    .why-choose-us-section__title {
        font-size: 2rem;
    }
}

/* ServicesSection */
.services-section {
    padding: 6rem 1rem;
    background-color: #f8f9fa;
    text-align: center;
}

.services-section__container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.services-section__card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.services-section__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.services-section__card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #0f172a;
    border-bottom: 3px solid #ef4444;
    /* Brand Red */
    padding-bottom: 0.75rem;
    display: inline-block;
}

.services-section__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-section__list li {
    margin-bottom: 1rem;
}

.services-section__list a {
    color: #475569;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-family: 'Raleway', sans-serif;
    display: block;
}

.services-section__list a:hover {
    color: #ef4444;
    padding-left: 0.5rem;
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 10px;
    }

    .services-section__title {
        font-size: 2rem;
    }
}

/* FeaturesSection */
.features-section {
    padding: 6rem 1rem;
    background-color: #ffffff;
    text-align: center;
}

.features-section__container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.features-section__card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.features-section__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.features-section__icon {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 0, 0, 0.1);
    color: #ef4444; /* Brand Red */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.features-section__card:hover .features-section__icon {
    background-color: #ef4444;
    color: #ffffff;
}

.features-section__card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.features-section__description {
    color: #475569;
    line-height: 1.6;
    font-size: 1.125rem;
    font-family: 'Raleway', sans-serif;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .features-section {
        padding: 3rem 10px;
    }

    .features-section__title {
        font-size: 2rem;
    }
}

/* ContactSection */
.contact-section {
    padding: 6rem 1rem;
    background-color: #ffffff;
    text-align: center;
}

.contact-section__container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    text-align: left;
}

.contact-section__info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-section__location {
    margin-bottom: 2.5rem;
}

.contact-section__location p {
    color: #475569;
    line-height: 1.6;
    font-size: 1.125rem;
    font-family: 'Raleway', sans-serif;
}

.contact-section__details p {
    margin-bottom: 0.75rem;
    color: #334155;
    font-size: 1.125rem;
}

.contact-section__details a {
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-section__details a:hover {
    color: #dc2626;
}

.contact-section__form-container {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #334155;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

.form-group input:focus,
.form-group textarea {
    border-color: #ef4444;
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

@media (max-width: 900px) {
    .contact-section__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-section {
        padding: 3rem 10px;
    }
}

/* ========================================
   Homepage Specific High-Quality Styles
   (Ported from inline PHP)
   ======================================== */

/* Visa Hero (Full Screen) */
/* Adapted for Gutenberg Cover Block */
.visa-hero {
    position: relative;
    overflow: hidden;
    width: 100vw !important;
    min-height: calc(100vh + 120px) !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    
    /* Fix for Fixed Header overlap */
    margin-top: -120px !important; 
    padding-top: 120px !important; /* compensate for centering */
}

/* Apply Gradient to the Overlay, NOT the container */
.visa-hero .wp-block-cover__background {
    /* Use reference colors (Dark Gray) instead of Pure Black for better image visibility */
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.85) 0%, rgba(71, 71, 71, 0.75) 100%) !important;
    opacity: 1 !important; /* Override default dim opacity */
}

/* Typography Overrides for Hero Block */
.visa-hero h1 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.visa-hero p {
    font-size: 22px;
    font-family: 'Raleway', sans-serif;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 768px) {
    .visa-hero h1 {
        font-size: 42px;
    }
}

/* Mission Quote */
.mission-quote {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
    color: rgb(230, 0, 0);
    text-align: center;
    margin-bottom: 30px;
}

/* Why Choose Us Cards */
.wcu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.wcu-icon {
    font-size: 42px;
    color: rgb(230, 0, 0);
    margin-bottom: 20px;
    font-weight: bold;
}

.wcu-text {
    font-size: 22px;
    font-family: 'Raleway', sans-serif;
    color: rgb(25, 25, 25);
    font-weight: 700;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-family: 'Raleway', sans-serif;
}

.service-list li:before {
    content: "›";
    position: absolute;
    left: 0;
    color: rgb(230, 0, 0);
    font-weight: bold;
    font-size: 22px;
    line-height: 1;
    top: -2px;
}

.service-list a {
    text-decoration: none;
    color: rgb(71, 71, 71);
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    transition: color 0.2s;
}

.service-list a:hover {
    color: rgb(230, 0, 0);
}

/* Contact Container Specifics */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: rgb(25, 25, 25);
    color: rgb(255, 255, 255);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 22px;
}

.contact-details a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 700;
}

.contact-form-wrapper {
    padding: 50px;
}

.submit-btn {
    background: rgb(230, 0, 0);
    color: rgb(255, 255, 255);
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: rgb(200, 0, 0);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 45px 45px 45px 95px;
    }
}
