/* 1. HERO SECTION */
.hero {
    /* REPLACE 'hero-bg.jpg' with your actual conference image path */
    background-image: url('../images/bg-cover.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh; /* 80% of screen height */
    /*min-height: 500px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark Overlay for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Darkens image by 65% */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 2. SERVICE STRIP */
.service-strip {
    background-color: white;
    padding: 4rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Creates 4 equal columns */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(217, 37, 37, 0.15);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d92525;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.service-card-link:hover {
    gap: 9px;
    color: #b71c1c;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .service-container {
        grid-template-columns: 1fr;
    } /* Stack services on phone */
}

.languages-section {
    background-color: #f8f9fa; /* Light grey background for contrast */
    padding: 5rem 2rem;
    text-align: center;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Grid Layout */
.language-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    /* Responsive grid: fits as many 140px cards as possible */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.lang-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.lang-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid #d92525; /* Red accent on hover */
}

/* Flag Styling */
.fi {
    font-size: 3rem; /* Size of the flag */
    border-radius: 50%; /* Make flag circular */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    /* Fix for circular flags in the library to ensure 1:1 ratio */
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    background-position: center;
    background-size: cover;
}

/* Custom styling for the 'Map' icon (Local Languages) */
.local-icon {
    font-size: 3rem;
    color: #d92525;
    margin-bottom: 1rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.lang-sub {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
    display: inline-block;
    max-width: 100%;
}

.about-section {
    padding: 5rem 2rem;
    background-color: white; /* Contrast with light gray sections */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.about-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.key-quote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 5px solid #d92525;
    background-color: #f0f0f0;
    font-style: italic;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: #d92525;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #d92525;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

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

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
}

.portfolio-section {
    background-color: #f8f9fa; /* Light grey background */
    padding: 5rem 2rem;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* 3-Column Grid */
.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.engagement-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.engagement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-sub {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.card-btn {
    color: #d92525;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.card-btn:hover {
    border-bottom: 2px solid #d92525;
}

.portfolio-footer {
    text-align: center;
    margin-top: 4rem;
}

/* Reviews / Testimonials Section */
.reviews-section {
    background-color: #1a1a1a;
    padding: 5rem 2rem 4rem;
}

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

.reviews-section .section-header h2 {
    color: #fff;
}

.reviews-section .section-header p {
    color: #aaa;
}

.reviews-swiper {
    padding-bottom: 3.5rem !important;
    padding-left: 4px;
    padding-right: 4px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-stars {
    color: #E53935;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.author-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E53935;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.author-info span {
    font-size: 0.78rem;
    color: #777;
}

.reviews-swiper .swiper-pagination-bullet {
    background: #aaa;
    opacity: 1;
}

.reviews-swiper .swiper-pagination-bullet-active {
    background: #E53935;
}

.reviews-btn-prev,
.reviews-btn-next {
    color: #E53935 !important;
}

.reviews-btn-prev::after,
.reviews-btn-next::after {
    font-size: 1.2rem !important;
    font-weight: 900;
}

