/* Reset & Base Styles */
:root {
    --primary-color: #005eb8;
    /* Clinical Blue */
    --secondary-color: #003366;
    /* Darker Blue */
    --accent-color: #00a3e0;
    /* Lighter Blue/Cyan */
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #f4f7f9;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: var(--light-text);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn-primary {
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f4f7f9 0%, #e6eff5 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.125rem;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    /* Placeholder for icon styling if image fails */
    background-color: rgba(0, 94, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    max-width: 60%;
}

/* Expertise Section */
.expertise {
    background-color: var(--light-bg);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.expertise-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-box {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2,
.contact-box p {
    color: var(--white);
}

.contact-box p {
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item strong {
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.contact-item a,
.contact-item span {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    padding: 30px 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--light-text);
}



/* Our Team Section - Fixed */
.team-section {
    padding: 80px 20px;
    background-color: #f5f7fa;
}

.team-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-section .section-title {
    font-size: 2.5rem;
    color: #003366;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.team-section .section-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.member-content {
    text-align: left;
}

.member-name {
    font-size: 1.5rem;
    color: #003366;
    font-weight: 600;
    margin-bottom: 8px;
}

.member-role {
    font-size: 1rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 20px;
}

.member-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 20px;
    }
    
    .team-section .section-title {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}



/* ===== Mobile overrides (≤768px) ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }

  .hero-container,
  .expertise-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { margin: 0 auto; }
  .nav-links { display: none; }

  /* Contact centring */
  #contact .container {
    display: flex;
    justify-content: center;
  }

  #contact .contact-box {
    width: min(92vw, 800px);
    padding: 32px 20px;
    margin-inline: auto;
    text-align: center;
  }

  #contact .contact-details {
    display: flex;
    flex-direction: column;     /* vertical stack on mobile */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;        /* <-- key: centers the items horizontally */
    gap: 16px 24px;
    text-align: center;
  }

  #contact .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  #contact .contact-item strong,
  #contact .contact-item a,
  #contact .contact-item span {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-inline: auto;
    overflow-wrap: anywhere;
  }
}
