/* ==================================================
   GENERAL STYLES
================================================== */
/* ==================================================
   BODY
================================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #004080;

    /* Fallback color behind the image */
    background: #47bdd9 url('site-bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}

/* ==================================================
   HEADER
================================================== */
header {
    max-height: 200px;
}

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

header .text h1 {
    margin: 0;
    font-size: 3em;
    color: #004080;
}

header .text p {
    font-size: 1.3em;
    margin-top: 10px;
    color: #004080;
}

header .logo img {
    max-height: 130px;
    opacity: 1; /* makes the image semi-transparent */
}

/* ==================================================
   NAVIGATION
================================================== */
nav {
    display: flex;
    justify-content: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

nav a {
    padding: 14px 25px;
    color: white;
    font-weight: 600;
    background-color: #004080;
    border-radius: 8px;
    transition: 0.3s ease;
}

nav a:hover {
    background-color: #002244;
    transform: scale(1.05);
}

/* ==================================================
   SECTIONS
================================================== */
section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: rgba(245, 243, 238, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

section h2,
section p {
    color: #004080;
}

/* ==================================================
   HERO SLIDER
================================================== */
.hero-slider-container {
    max-width: 1200px;
    height: 350px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-slider {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 16px;
}

/* SLIDES TRACK */
.slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

/* SINGLE SLIDE */
.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ==================================================
   CIRCLES
================================================== */
.circle-container {
    display: flex;
    gap:20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

/* EACH CIRCLE */
.circle-container img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background-color: #ccc;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* ==================================================
   SLIDE TEXT
================================================== */
.slide-text {
    text-align: center;
    max-width: 520px;
    color: #004080;
}

.slide-text h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.slide-text p {
    font-size: 1.1em;
}

/* ==================================================
   SLIDER ARROWS
================================================== */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 50%;
    z-index: 10;
}

.slider-arrow.left { left: 15px; }
.slider-arrow.right { right: 15px; }

/* ==================================================
   CARDS
================================================== */
/* ==================================================
   CARDS (GENERAL)
================================================== */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background-color: rgba(255,255,255,0.5);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3,
.card p {
    color: #004080;
}

/* ==================================================
   CONTACT SECTION
================================================== */

.contact-section {
    background-color: rgba(255,255,255,0.5);
     
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;           /* centers horizontally */
    display: flex;            /* use flexbox */
    justify-content: center;  /* center horizontally */
    align-items: center;      /* center vertically if section is taller */
}

/* ================= CONTACT CARD ================= */

.contact-card {
    position: relative;
    width: 100%;
    background-image: url("contact-image.jpg");
    background-size: cover;
    background-position: center;
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* OVERLAY + SUBTLE BLUR (FIXED) */
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(140, 190, 160, 0.30); /* less opaque */
    backdrop-filter: blur(3px);           /* subtle blur */
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

/* KEEP CONTENT ABOVE OVERLAY */
.contact-card > * {
    position: relative;
    z-index: 1;
}

/* ================= INFO CARD ================= */

.contact-info-card {
    width: 96%;
    margin-bottom: 30px;
    padding: 15px 30px;
    border-radius: 14px;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-info-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #111;
}

.contact-info-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}

/* ================= FORM LAYOUT ================= */

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

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

/* LABELS */
label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
}

/* INPUTS */
.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 14px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.3);
    background-color: rgba(255,255,255,0.95);
    font-size: 16px;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 8px rgba(26,115,232,0.4);
}

/* ================= BUTTON ================= */

.send-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.send-btn:hover {
    background-color: #155ab6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

/* ==================================================
   FOOTER
================================================== */
footer {
    text-align: center;
    padding: 30px;
    color: white;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 900px) {
    .hero-slider {
        height: auto;
        padding: 30px 0;
    }

    .circle-container img {
        width: 140px;
        height: 140px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
