/* Root variables for colours and typography */
:root {
    /* Vibrant modern palette */
    --primary: #00aaff;        /* vibrant cyan accent */
    --primary-dark: #0088cc;   /* darker accent for hover states */
    --secondary: #0e2a47;      /* deep ocean blue for the navbar and footer */
    --dark: #08213a;           /* very dark blue for headings */
    --light: #f5fbff;          /* very light blue for section backgrounds */
    /* Updated typography */
    --heading-font: 'Merriweather', serif;
    --body-font: 'Lato', sans-serif;
    --brand-font: 'Cinzel', serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: #ffffff;
}

/* Navbar styling */
.navbar {
    background-color: var(--secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
    font-family: var(--brand-font);
    font-size: 2.2rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.navbar-brand img {
    height: 50px;
    width: auto;
    margin-right: 0.6rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
    margin-right: 1rem;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}
.nav-link:hover,
    .nav-link:focus {
    color: var(--primary) !important;
}

/* Active nav link styling via scrollspy */
.nav-link.active {
    color: var(--primary) !important;
}
.nav-link.active::after {
    width: 100%;
}

/* Hero section */
.hero {
    position: relative;
    /* Use a realistic Swiss flag photo with two flags waving on a clear sky */
    /* Updated hero image to support full‑width display. If the high resolution
       image uploaded by the user (527843691_1423970665487420_8905028759915497819_n.jpg)
       is present in the project folder, it will be used automatically; otherwise
       the existing flag illustration will be loaded. */
    background-image: url('527843691_1423970665487420_8905028759915497819_n.jpg'),
                      url('c2abd5b4-9f98-4233-a2f2-0305e543c617.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighten the dark overlay on the hero banner to allow more of the
       underlying flag to show through. The opacity values have been
       lowered from 0.6/0.4/0.6 to 0.4/0.2/0.4 to create a cleaner,
       less heavy look while still ensuring legibility of the text. */
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative;
    text-align: center;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.btn-primary {
    background-image: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-image: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

/* Section headings */
.section-heading {
    margin-bottom: 3rem;
    text-align: center;
}
.section-heading h2 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark);
}
.section-heading p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 0.5rem;
}
.blog-card img {
    object-fit: cover;
    height: 220px;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}
.blog-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    font-family: var(--heading-font);
}
.blog-card .card-text {
    color: #555;
}

/* Contact form */
.contact-form .form-control {
    border-radius: 0;
    border-color: #dee2e6;
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 170, 255, 0.25);
}

/* Footer */
footer {
    background-color: var(--light);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Social media icons */
.social-icons a {
    color: var(--secondary);
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Section background colours */
#about {
    background-color: #ffffff;
}
#blog {
    background-color: var(--light);
}
#contact {
    background-color: #ffffff;
}

/* Stats section */
.stats-section {
    background-color: #ffffff;
}
.stats-section .stat-icon i {
    font-size: 2rem;
    color: var(--primary);
}
.stats-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}
.stats-section p {
    font-size: 0.95rem;
    color: #555;
}

/* Testimonials section */
.testimonials-section {
    background-color: var(--light);
}
.testimonial-text {
    font-style: italic;
    color: #444;
    font-size: 1.05rem;
}
.testimonial-name {
    font-weight: 600;
    color: var(--primary);
}

/* Reviews section */
.reviews-section {
    background-color: var(--light);
}
.review-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.review-card .stars i {
    color: #f5c518;
    margin-right: 2px;
}
.review-card h6 {
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

/* Team section */
.team-section {
    background-color: #ffffff;
}
.team-member {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.team-member h5 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--dark);
}
.team-member p {
    color: #555;
    font-size: 0.95rem;
}
.team-member .text-muted {
    color: #777;
    font-style: italic;
}

/* Team section */
.team-section {
    background-color: #ffffff;
}
.team-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.team-card h5 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}
.team-card .text-muted {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}
.team-card p {
    color: #555;
    font-size: 0.95rem;
}