/* ===== CSS Variables ===== */
/* Colour scheme derived from original logo: grey "Geelong", blue "Critical Care" */
:root {
    --primary: #4a90b8;
    --primary-dark: #2c6e99;
    --primary-darker: #1a4d6e;
    --grey: #6b7b8d;
    --grey-dark: #4a5568;
    --grey-darker: #2d3748;
    --accent: #5f63d3;
    --accent-light: #7c7fe6;
    --text: #2d3748;
    --text-light: #5a6577;
    --text-muted: #8896a6;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --bg-dark: #1a2332;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 77, 110, 0.92) 0%,
        rgba(44, 110, 153, 0.88) 50%,
        rgba(74, 144, 184, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 24px 60px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(95, 99, 211, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== Homepage Tiles ===== */
.tiles-section {
    padding: 60px 0;
    background: var(--bg);
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tile-img-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
}

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

.tile:hover .tile-img-wrap img {
    transform: scale(1.05);
}

.tile-img-wrap .tile-logo {
    object-fit: contain;
    max-height: 80px;
    width: auto;
}

.tile-label {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--grey-darker);
    text-align: center;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.tile:hover .tile-label {
    color: var(--primary-dark);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--grey-darker);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Service Detail (alternating image/text) ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.service-detail-img img.img-natural {
    aspect-ratio: unset;
    object-fit: contain;
}

.paed-img-wrap {
    overflow: hidden;
}

.paed-img-wrap img {
    aspect-ratio: 3 / 4;
    object-position: center 60%;
    scale: 1.08;
}

.service-detail-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--grey-darker);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(74, 144, 184, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--grey-darker);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--grey-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.team-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--grey-darker);
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 14px;
    padding: 3px 12px;
    background: rgba(74, 144, 184, 0.1);
    border-radius: 20px;
}

.team-interests {
    text-align: left;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.team-interests li {
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.team-interests li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    transform: translateY(-50%);
}

/* ===== iValidate Feature ===== */
.ivalidate-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    margin-bottom: 48px;
}

.ivalidate-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.ivalidate-feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grey-darker);
    margin-bottom: 14px;
}

.ivalidate-feature p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.ivalidate-tagline {
    font-weight: 600;
    color: var(--primary) !important;
    font-size: 1rem;
    margin-top: 8px;
}

.ivalidate-image {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.ivalidate-image img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ===== Education Grid ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.education-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.education-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.education-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--grey-darker);
    margin-bottom: 10px;
}

.education-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Culture Section ===== */
.culture-section {
    background: linear-gradient(135deg, #1a4d6e 0%, #2c6e99 100%);
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.culture-section .section-tag {
    color: rgba(255, 255, 255, 0.6);
}

.culture-section .section-title {
    color: #fff;
}

.culture-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.culture-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(4px);
}

.culture-image img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(74, 144, 184, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--grey-darker);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary);
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.contact-map {
    min-height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 0;
}

.footer-brand {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    padding: 120px 0 50px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
}

/* ===== Details / Summary (Expandable) ===== */
details.expandable-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    transition: all var(--transition);
    margin-bottom: 20px;
}

details.expandable-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

details.expandable-card summary {
    padding: 24px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--grey-darker);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

details.expandable-card summary::-webkit-details-marker {
    display: none;
}

details.expandable-card summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform var(--transition);
}

details.expandable-card[open] summary::after {
    content: '\2212';
}

details.expandable-card .expandable-content {
    padding: 0 28px 24px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

details.expandable-card .expandable-content a {
    color: var(--primary);
    font-weight: 500;
}

details.expandable-card .expandable-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

details.expandable-card .expandable-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

details.expandable-card .expandable-content ul li {
    position: relative;
    padding: 6px 0 6px 16px;
    line-height: 1.7;
}

details.expandable-card .expandable-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

details.expandable-card .expandable-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--grey-darker);
    margin: 16px 0 8px;
}

/* ===== Blockquote ===== */
.quote-block {
    border-left: 4px solid var(--primary);
    padding: 24px 28px;
    margin: 32px 0;
    background: var(--bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-block p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.quote-block cite {
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===== Publication List ===== */
.publication-list {
    counter-reset: pub-counter;
}

.publication-list li {
    counter-increment: pub-counter;
    padding: 12px 0;
    padding-left: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    border-bottom: 1px solid var(--border);
}

.publication-list li:last-child {
    border-bottom: none;
}

/* ===== Team Photo ===== */
.team-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--border);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.team-photo img[alt*="Corke"] {
    object-position: 104% 15%;
}

.team-photo img[alt*="Kakho"] {
    scale: 1.2;
    object-position: center 30%;
}

.team-card .team-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
}

/* ===== Nav Dropdown ===== */
.nav-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link-dropdown svg {
    transition: transform var(--transition);
}

.nav-dropdown:hover .nav-link-dropdown svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--grey);
    transition: all var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-alt);
    color: var(--primary-dark);
}

/* ===== Page Content Sections ===== */
.page-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.content-section.reverse {
    direction: rtl;
}

.content-section.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    display: block;
}

.content-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grey-darker);
    margin-bottom: 16px;
}

.content-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.content-text ul {
    margin: 12px 0;
    padding-left: 0;
}

.content-text ul li {
    position: relative;
    padding: 6px 0 6px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.page-header .page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-top: 12px;
}

/* Trial/research list */
.trial-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.trial-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--grey-darker);
    margin-bottom: 6px;
}

.trial-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Course dates table-like list */
.course-dates {
    margin: 16px 0;
}

.course-dates li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-dates li:last-child {
    border-bottom: none;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .tiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid,
    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .content-section,
    .content-section.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-section.reverse {
        direction: ltr;
    }

    .trial-list {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .team-grid,
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ivalidate-feature {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        padding: 10px 0;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero {
        min-height: 45vh;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-logo {
        height: 56px;
    }

    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tiles-section {
        padding: 40px 0;
    }

    .section {
        padding: 60px 0;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .team-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-map {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tiles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .tile {
        aspect-ratio: 1 / 1;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}
