/* ===============================
   GLOBAL RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* ===============================
   CONTAINER
================================ */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ===============================
   HEADER
================================ */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e6e6e6;
}

.logo {
    color: #1f4e79;
    font-size: 24px;
    font-weight: 600;
}

.nav {
    margin-top: 10px;
}

.nav a {
    text-decoration: none;
    color: #1f4e79;
    margin-right: 20px;
    font-weight: 500;
}

.nav a:hover {
    text-decoration: underline;
}

/* ===============================
   HERO
================================ */
.hero {
    background-color: #f4f8fc;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 32px;
    color: #1f4e79;
    margin-bottom: 15px;
}

.hero p {
    max-width: 600px;
    margin: auto;
    margin-bottom: 25px;
    color: #555;
}

/* ===============================
   BUTTONS
================================ */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.primary-btn {
    background-color: #1f4e79;
    color: white;
    margin-right: 10px;
}

.primary-btn:hover {
    background-color: #163a5c;
}

.secondary-btn {
    border: 2px solid #1f4e79;
    color: #1f4e79;
}

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

.banner-btn {
    background-color: white;
    color: #1f4e79;
    margin-top: 15px;
}

.banner-btn:hover {
    background-color: #e6eef5;
}

/* ===============================
   SECTIONS
================================ */
.section {
    padding: 60px 0;
}

.light-bg {
    background-color: #f4f8fc;
}

.section h2 {
    color: #1f4e79;
    margin-bottom: 20px;
}

.text-link {
    color: #1f4e79;
    text-decoration: none;
    font-weight: 500;
}

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

/* ===============================
   CARD GRID
================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: #1f4e79;
    margin-bottom: 10px;
}

/* ===============================
   FEATURES LIST
================================ */
.features {
    list-style-type: disc;
    padding-left: 20px;
}

.features li {
    margin-bottom: 10px;
}

/* ===============================
   APPOINTMENT BANNER
================================ */
.appointment-banner {
    background-color: #1f4e79;
    color: white;
    text-align: center;
    padding: 60px 0;
}

.appointment-banner h2 {
    margin-bottom: 10px;
}

/* ===============================
   FOOTER
================================ */
.footer {
    background-color: #163a5c;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* General Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Layout */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.logo img {
    height: 50px;           /* Desktop size */
    width: auto;
    display: block;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a3d62;         /* Primary blue */
}

/* Navigation */
.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #0a3d62;
    font-weight: 500;
}

.nav a:hover {
    opacity: 0.7;
}


@media (max-width: 768px) {

    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .logo img {
        height: 40px;  /* Slightly smaller on tablets */
    }

    .logo span {
        font-size: 1rem;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav a {
        margin-left: 0;
    }
}

@media (max-width: 480px) {

    .logo img {
        height: 32px;  /* Mobile size */
    }

    .logo span {
        font-size: 0.95rem;
    }
}
