/* Custom variables defining the color palette and typography */
:root {
    --bg-main: #FFFFFF; /* Pure clean white */
    --bg-secondary: #F0F9F4; /* Extremely soft sage/mint off-white background */
    --bg-card: #FFFFFF; /* Solid clean white for cards */
    --bg-card-hover: #F7FCFA; /* Subtle green-white hover for cards */
    --primary: #0C6F45; /* Rich, premium medical emerald green */
    --primary-hover: #075231; /* Deep forest green */
    --accent-glow: #10B981; /* Vibrant mint green */
    --accent-glow-rgb: 16, 185, 129;
    --text-main: #0F172A; /* Deep slate charcoal for title readability */
    --text-muted: #475569; /* Slate grey for description/muted text */
    --border-color: #E2E8F0; /* Soft slate border */
    --glass-bg: rgba(255, 255, 255, 0.85); /* Frosty white glassmorphism */
    --glass-border: rgba(12, 111, 69, 0.08);
    --glass-shadow: rgba(15, 23, 42, 0.04);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset and general styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-glow);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-glow));
    z-index: 1001;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #095C36);
    color: #FFFFFF; /* High contrast white text */
    box-shadow: 0 4px 15px rgba(12, 111, 69, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-glow), var(--primary));
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    color: #FFFFFF;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(12, 111, 69, 0.25);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(12, 111, 69, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    width: 42px;
    height: 42px;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
    color: var(--accent-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1.5px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

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

.nav-link:hover {
    color: var(--text-main);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phones-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.phones-container .phone-link {
    font-size: 13px;
    font-weight: 600;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.phone-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.phone-link:hover {
    color: var(--primary);
}

.phone-link:hover .phone-icon {
    transform: scale(1.1) rotate(15deg);
    color: var(--accent-glow);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    justify-content: center;
    z-index: 1010;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    padding: 40px;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--accent-glow);
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
}

.btn-mobile-booking {
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-background-gradient {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 20px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-main) 60%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, rgba(255, 255, 255, 0) 65%);
    z-index: 0;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(12, 111, 69, 0.06);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.hero-overlay-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.05);
    z-index: 3;
    display: inline-block;
}

.card-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--accent-glow);
    line-height: 1;
}

.card-plus {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-glow);
}

.card-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Sections General */
.section {
    padding: 100px 0;
    position: relative;
}

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

.text-center {
    text-align: center;
}

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

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section & Timeline */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-timeline {
    position: relative;
    padding-left: 32px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 11px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent-glow));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    background-color: var(--bg-main);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
}

.timeline-item:hover .timeline-badge {
    background-color: var(--accent-glow);
    border-color: var(--accent-glow);
    color: var(--bg-main);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.7);
    transform: scale(1.15);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
}

.about-stats-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.stats-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-glow);
}

.stat-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 245, 212, 0.1);
    color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.stat-icon {
    width: 28px;
    height: 28px;
}

.stats-glass-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.stats-glass-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.quick-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.fact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.fact-card h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 6px;
}

.fact-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Why Choose Us Section */
.advantages-section {
    position: relative;
}

.section-glow-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, rgba(255, 255, 255, 0) 80%);
    z-index: 0;
    pointer-events: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.adv-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.02), rgba(0, 180, 216, 0.02));
    opacity: 0;
    transition: var(--transition-smooth);
}

.adv-card:hover {
    transform: translateY(-5px);
    background: var(--bg-secondary);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 15px 30px rgba(12, 111, 69, 0.06), 0 0 20px rgba(16, 185, 129, 0.04);
}

.adv-card:hover::after {
    opacity: 1;
}

.adv-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.adv-card:hover .adv-icon-wrapper {
    background: var(--accent-glow);
    color: var(--bg-main);
    transform: scale(1.05) rotate(5deg);
}

.adv-icon {
    width: 24px;
    height: 24px;
}

.adv-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.adv-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Accreditation Section */
.accreditation-section {
    background: linear-gradient(180deg, var(--bg-main), var(--bg-secondary), var(--bg-main));
}

.accreditation-box {
    background: linear-gradient(135deg, #FFFFFF, var(--bg-secondary));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.accreditation-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.stamp-badge {
    color: var(--accent-glow);
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    opacity: 0.8;
}

.badge-svg {
    width: 100%;
    height: 100%;
    animation: rotateSlow 20s linear infinite;
}

.accreditation-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.accreditation-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.accreditation-content p:last-child {
    margin-bottom: 0;
}

.accreditation-decor {
    display: flex;
    justify-content: center;
}

.shield-graphic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--primary);
}

.shield-svg {
    width: 120px;
    height: 140px;
    filter: drop-shadow(0 0 15px rgba(0, 180, 216, 0.3));
    animation: floaty 4s ease-in-out infinite;
}

.shield-graphic span {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-main);
}

/* Services Section */
.services-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.service-card:hover {
    background: var(--bg-secondary);
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 13px;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 16px;
}

.service-tag-mini {
    display: inline-self: flex-start;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

.services-promo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.promo-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.promo-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent-glow);
}

.promo-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* International Recognition Section */
.recognition-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.recognition-lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.5;
}

.recognition-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.rec-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rec-tab-btn:hover {
    color: var(--text-main);
}

.rec-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.recognition-content-wrapper {
    min-height: 280px;
}

.rec-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.rec-tab-content.active {
    display: block;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.company-logo-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.company-logo-card:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(12, 111, 69, 0.08);
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.logo-desc {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.partner-other {
    border-style: dashed;
    background: transparent;
}

.partner-other .logo-name {
    color: var(--primary);
}

/* Flags Grid */
.flags-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.flag-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.flag-item:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    transform: scale(1.03);
}

.flag-icon {
    font-size: 32px;
}

/* P&I Clubs List */
.tab-intro {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.pi-clubs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.pi-club-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.pi-club-badge:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-glow);
    color: var(--accent-glow);
    transform: translateY(-1px);
}

/* Crewing Section */
.crewing-section {
    background: linear-gradient(180deg, var(--bg-main), rgba(0, 180, 216, 0.03), var(--bg-main));
}

.crewing-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.crewing-list {
    list-style: none;
    margin-top: 32px;
}

.crewing-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.list-bullet {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.crewing-list strong {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-main);
}

.crewing-list p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.crewing-form-wrapper {
    display: flex;
    justify-content: center;
}

.form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-glow));
}

.form-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.form-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.interactive-form .form-group {
    margin-bottom: 20px;
}

.interactive-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.interactive-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.interactive-form input,
.interactive-form textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.interactive-form input:focus,
.interactive-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(12, 111, 69, 0.15);
    background: #FFFFFF;
}

.form-success-message {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 245, 212, 0.1);
    color: var(--accent-glow);
    border-radius: 50%;
    font-size: 32px;
    line-height: 64px;
    margin: 0 auto 20px;
}

.form-success-message h3 {
    margin-bottom: 12px;
    color: var(--text-main);
}

/* Contacts Section */
.contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(5px);
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.info-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item p, 
.contact-item a {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.contacts-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}









/* Footer Section */
.footer {
    background: #060B19;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-meta {
    display: flex;
    gap: 12px;
    font-weight: 500;
}

/* Scroll reveal mechanism */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Dynamic Keyframe Animations */
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 245, 212, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
    }
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    .about-grid,
    .crewing-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .accreditation-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }
    .accreditation-decor {
        order: -1;
    }
    .stamp-badge {
        margin: 0 auto 24px;
    }
    .services-wrapper {
        grid-template-columns: 1fr;
    }
    .services-promo-card {
        max-width: 500px;
        margin: 0 auto;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .flags-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .header-actions .phone-link,
    .header-actions .btn-header {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 24px;
    }

    .hero-overlay-card {
        left: 20px;
        bottom: -10px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .flags-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .flags-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .companies-grid {
        grid-template-columns: 1fr;
    }
    .rec-tab-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Custom Partner Logos Styling */
.partner-logo-img {
    height: 40px;
    max-width: 130px;
    object-fit: contain;
    filter: brightness(0) opacity(0.6);
    transition: var(--transition-smooth);
    margin-bottom: 12px;
}

.company-logo-card:hover .partner-logo-img {
    filter: brightness(0) opacity(1);
    transform: scale(1.05);
}

.flag-logo-img {
    height: 28px;
    width: auto;
    max-width: 42px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 4px;
    transition: var(--transition-smooth);
}

.flag-item:hover .flag-logo-img {
    transform: scale(1.1);
}

.pi-logo-img {
    height: 32px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) opacity(0.6);
    transition: var(--transition-smooth);
}

/* Exclude Gard from brightness(0) because of its solid white background */
.pi-logo-img[src*="gard"] {
    filter: grayscale(100%) opacity(0.6);
}

.pi-clubs-list-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.pi-club-badge-img {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.pi-club-badge-img:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 111, 69, 0.08);
}

.pi-club-badge-img:hover .pi-logo-img {
    filter: brightness(0) opacity(1);
}

.pi-club-badge-img:hover .pi-logo-img[src*="gard"] {
    filter: grayscale(100%) opacity(1);
}

/* =============================================
   CERTIFICATES SECTION
   ============================================= */
.certificates-section {
    background: var(--bg-secondary);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 760px;
    margin: 48px auto 0;
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    cursor: pointer;
}

.cert-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(12, 111, 69, 0.12);
    transform: translateY(-3px);
}

.cert-icon-wrapper {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e8f5ee, #d0eede);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.cert-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.cert-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 12px;
    line-height: 1.5;
}

.cert-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: #e8f5ee;
    padding: 5px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.cert-card:hover .cert-download-btn {
    background: var(--accent);
    color: white;
}

/* =============================================
   P&I CLUBS CENTERED (3 items)
   ============================================= */
.pi-clubs-centered {
    justify-content: center !important;
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact language control remains available on every screen size. */
.language-select {
    max-width: 126px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-main);
    font: 600 13px var(--font-body);
    cursor: pointer;
}
.language-select:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.header .container { gap: 18px; }
.header-actions { gap: 12px; }
.nav-menu { gap: 18px; }
.nav-link, .phone-link { white-space: nowrap; }
.contacts-grid { grid-template-columns: minmax(0, 1fr); max-width: 850px; margin-inline: auto; }
@media (min-width: 769px) and (max-width: 1180px) {
    .nav-menu, .header-actions .phones-container, .header-actions .btn-header { display: none; }
    .mobile-nav-toggle { display: flex; }
}
@media (max-width: 768px) {
    .header-actions .phones-container { display: none; }
    .header-actions { gap: 10px; }
    .language-select { width: 72px; padding-inline: 5px; }
}
@media (max-width: 380px) {
    .logo-img { height: 36px; }
    .logo-title { font-size: 16px; }
    .logo-subtitle { font-size: 8px; letter-spacing: 1px; }
    .header .container { gap: 8px; }
}

.logo-subtitle { white-space: nowrap; letter-spacing: 1.4px; }
